VR-Forces 4.0.4 Class Documentation
Public Member Functions | Protected Member Functions | Protected Attributes | Friends
makVrf::DtVrfGuiRecentScenarios Class Reference

Stores recent scenarios loaded. Limited to 5 scenarios. More...

Inheritance diagram for makVrf::DtVrfGuiRecentScenarios:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 DtVrfGuiRecentScenarios (makVrv::DtDe *=0)
 DtVrfGuiRecentScenarios (const DtVrfGuiRecentScenarios &)
virtual ~DtVrfGuiRecentScenarios ()
virtual
DtVrfGuiApplicationSetting
clone () const
 Clones the object.
const std::vector< std::string > recentScenarios () const
int maxSize () const
void setMaxSize (int)
 If max size is less than current list size, remove extra items.
void insertScenario (const std::string &, int pos=-1)
int removeScenario (const std::string &)
virtual std::string classType () const
 Must implement to return unique name of class.

Protected Member Functions

virtual void write (boost::archive::xml_oarchive &out, const unsigned int)
 Override to read/write settings.
virtual void read (boost::archive::xml_iarchive &in, const unsigned int)

Protected Attributes

std::vector< std::string > myRecentScenarios
unsigned int myMaxSize

Friends

class boost::serialization::access

Detailed Description

Stores recent scenarios loaded. Limited to 5 scenarios.


Constructor & Destructor Documentation


Member Function Documentation

Clones the object.

Implements makVrf::DtVrfGuiApplicationSetting.

const std::vector<std::string> makVrf::DtVrfGuiRecentScenarios::recentScenarios ( ) const [inline]

If max size is less than current list size, remove extra items.

void makVrf::DtVrfGuiRecentScenarios::insertScenario ( const std::string &  ,
int  pos = -1 
)
int makVrf::DtVrfGuiRecentScenarios::removeScenario ( const std::string &  )
virtual std::string makVrf::DtVrfGuiRecentScenarios::classType ( ) const [virtual]

Must implement to return unique name of class.

Call REGISTER_APPLICATION_SETTING with the class object to register it

Implements makVrf::DtVrfGuiApplicationSetting.

virtual void makVrf::DtVrfGuiRecentScenarios::write ( boost::archive::xml_oarchive &  out,
const unsigned  int 
) [protected, virtual]

Override to read/write settings.

Implements makVrf::DtVrfGuiApplicationSetting.

virtual void makVrf::DtVrfGuiRecentScenarios::read ( boost::archive::xml_iarchive &  in,
const unsigned  int 
) [protected, virtual]

Friends And Related Function Documentation

friend class boost::serialization::access [friend]

Member Data Documentation

std::vector<std::string> makVrf::DtVrfGuiRecentScenarios::myRecentScenarios [protected]

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

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)