VR-Forces 4.1 Class Documentation
List of all members | Classes | Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | Friends
makArchives::DtFeatureSettingsRecord Class Reference

Classes

struct  Color

Public Types

typedef std::vector< std::pair
< std::string, Color > > 
ColorList

Public Member Functions

 DtFeatureSettingsRecord ()
 DtFeatureSettingsRecord (const DtFeatureSettingsRecord &)
DtFeatureSettingsRecordoperator= (const DtFeatureSettingsRecord &)
 ~DtFeatureSettingsRecord ()
bool autoLoad () const
void setAutoLoad (bool autoLoad)
const ColorListfeatureColors () const
 Get the Feature colors.
void setFeatureColors (const ColorList &list)
 Set the feature colors.
void swapFeatureColors (ColorList &list)
 A faster way to set the colors by swapping.

Protected Member Functions

template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 When the class Archive corresponds to an output archive, the & operator is defined similar to <<.

Protected Attributes

bool myAutoLoadFlag
std::vector< std::pair
< std::string, Color > > 
myColors

Friends

class boost::serialization::access

Member Typedef Documentation

typedef std::vector< std::pair< std::string, Color> > makArchives::DtFeatureSettingsRecord::ColorList

Constructor & Destructor Documentation

makArchives::DtFeatureSettingsRecord::DtFeatureSettingsRecord ( )
makArchives::DtFeatureSettingsRecord::DtFeatureSettingsRecord ( const DtFeatureSettingsRecord )
makArchives::DtFeatureSettingsRecord::~DtFeatureSettingsRecord ( )

Member Function Documentation

DtFeatureSettingsRecord& makArchives::DtFeatureSettingsRecord::operator= ( const DtFeatureSettingsRecord )
bool makArchives::DtFeatureSettingsRecord::autoLoad ( ) const
void makArchives::DtFeatureSettingsRecord::setAutoLoad ( bool  autoLoad)
const ColorList& makArchives::DtFeatureSettingsRecord::featureColors ( ) const

Get the Feature colors.

void makArchives::DtFeatureSettingsRecord::setFeatureColors ( const ColorList list)

Set the feature colors.

void makArchives::DtFeatureSettingsRecord::swapFeatureColors ( ColorList list)

A faster way to set the colors by swapping.

template<class Archive >
void makArchives::DtFeatureSettingsRecord::serialize ( Archive &  ar,
const unsigned int  version 
)
inlineprotected

When the class Archive corresponds to an output archive, the & operator is defined similar to <<.

Likewise, when the class Archive is a type of input archive the & operator is defined similar to >>.

Friends And Related Function Documentation

friend class boost::serialization::access
friend

Member Data Documentation

bool makArchives::DtFeatureSettingsRecord::myAutoLoadFlag
protected
std::vector< std::pair< std::string, Color> > makArchives::DtFeatureSettingsRecord::myColors
protected

The documentation for this class was generated from the following file:

Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)