VR-Forces 4.0.4 Class Documentation
Public Member Functions | Protected Member Functions | Protected Attributes
makVrv::DtModelDefinitionManagerBackup Class Reference

DtModelDefinitionManagerBackup is the settings backup object for DtModelDefinitions. More...

Inheritance diagram for makVrv::DtModelDefinitionManagerBackup:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 DtModelDefinitionManagerBackup (DtModelDefinitionManager &manager, DtDe &de)
virtual ~DtModelDefinitionManagerBackup ()

Protected Member Functions

virtual void restore (const DtSettingsBackup *from)
 DtSettingsBackup class implementation.
virtual std::string backupClassType () const
 Override to return the class name of this object.
virtual std::string backupName () const
 Returns a more readable backup name (for dialogs).
virtual DtSettingsBackupcreate () const
 Returns a new empty class of type.
virtual void write (boost::archive::xml_oarchive &ar)
 Override to write to given stream.
virtual void read (boost::archive::xml_iarchive &ar)
 Override to read from given stream.
const DtModelDefinitionManagerrestoredManager () const

Protected Attributes

DtModelDefinitionManagermySourceManager
DtDemyDe
DtModelDefinitionManagermyRestoredManager

Detailed Description

DtModelDefinitionManagerBackup is the settings backup object for DtModelDefinitions.


Constructor & Destructor Documentation


Member Function Documentation

virtual void makVrv::DtModelDefinitionManagerBackup::restore ( const DtSettingsBackup from) [protected, virtual]

DtSettingsBackup class implementation.

Called with the object that needs to be restored from.

Implements makVrv::DtSettingsBackup.

virtual std::string makVrv::DtModelDefinitionManagerBackup::backupClassType ( ) const [protected, virtual]

Override to return the class name of this object.

Will be used as a key to look itself up in the backup manager

Implements makVrv::DtSettingsBackup.

virtual std::string makVrv::DtModelDefinitionManagerBackup::backupName ( ) const [protected, virtual]

Returns a more readable backup name (for dialogs).

Will return backupClassType by default

Reimplemented from makVrv::DtSettingsBackup.

virtual DtSettingsBackup* makVrv::DtModelDefinitionManagerBackup::create ( ) const [protected, virtual]

Returns a new empty class of type.

Will be called from restore() method to restore data into

Implements makVrv::DtSettingsBackup.

virtual void makVrv::DtModelDefinitionManagerBackup::write ( boost::archive::xml_oarchive &  ar) [protected, virtual]

Override to write to given stream.

Implementation need not be more than oa << *this

Implements makVrv::DtSettingsBackup.

virtual void makVrv::DtModelDefinitionManagerBackup::read ( boost::archive::xml_iarchive &  ar) [protected, virtual]

Override to read from given stream.

Implementation need not be more than ia >> *this

Implements makVrv::DtSettingsBackup.


Member Data Documentation


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)