Public Member Functions |
| | DtObserverModesSettingsBackup (DtDe &de, DtObserverModeManager *parent, const std::string &name, const std::string &displayName) |
| virtual | ~DtObserverModesSettingsBackup () |
| virtual void | restoreSelected (const DtSettingsBackup *) |
| | Called with the object that needs to be restored from.
|
| virtual int | currentSelectedObserverMode () const |
| virtual void | setCurrentSelectedObserverMode (int modeKey) |
| | DtRecordSettingsBackup (DtDe &de, DtBaseSettingsManager< makArchives::DtObserverModesRecord > *parent, const std::string &classType, const std::string &descriptiveName) |
| | DtRecordSettingsBackup (const DtRecordSettingsBackup &orig) |
| virtual | ~DtRecordSettingsBackup () |
| void | restore (const DtSettingsBackup *from) |
| | Called with the object that needs to be restored from.
|
| DtSettingsBackup * | create () const |
| | Returns a new empty class of type.
|
| void | write (boost::archive::xml_oarchive &ar) |
| | Override to write to given stream.
|
| void | read (boost::archive::xml_iarchive &ar) |
| | Override to read from given stream.
|
const
makArchives::DtObserverModesRecord & | restoredRecord () const |
| | DtRecordSettingsBackupInterface (DtDe &de, const std::string &classType, const std::string &descriptiveName) |
| | DtRecordSettingsBackupInterface (const DtRecordSettingsBackupInterface &orig) |
| virtual | ~DtRecordSettingsBackupInterface () |
| std::string | backupClassType () const |
| | Override to return the class name of this object.
|
| std::string | backupName () const |
| | Returns a more readable backup name (for dialogs).
|
| virtual void | backup () |
| | Backs up settings to backup file.
|
| void | setCanBackup (bool b) |
| bool | canBackup () const |
| | DtSettingsBackup () |
| | CTOR.
|
| virtual | ~DtSettingsBackup () |
| | DTOR.
|
| virtual bool | createAndWriteToBackupFile (const std::ostringstream &str, const std::string &path) |
| | Creates a backup file on the specified path and writes to that backup file given the string stream which contains the stored buffer.
|
| const std::string & | backupFile () const |
| | Get the name of the backup file.
|
| virtual bool | backupExists () const |
| | Returns true if the file can be restored from a local backup.
|
| virtual bool | factoryExists () const |
| | Returns true if can be restored from factory.
|
| virtual void | deleteBackup () |
| | If backup file exists, deletes it.
|
| virtual void | restore (bool fromFactory=false) |
| | Restore all.
|
| virtual void | getRestorableNames (NameList &names) |
| | Get the names of states restore will affect.
|
| virtual void | restore (bool fromFactory, bool selectedOnly) |
| | Restore the state, either from the backup (default) or from the factory.
|
| void | setManagerDestroyed (bool b) |
| | If true, will not signal destroyed.
|
| virtual void | addRestoreWhenRestored (DtSettingsBackup *, const RestoreFlags &f=RestoreAll) |
| | Sets to restore the specified object when this object is restored.
|
| const RestoreWhenRestored & | restoreWhenRestored () const |
| virtual void | cancelRestoreWhenRestored (DtSettingsBackup *, const RestoreFlags &f=RestoreAll) |
| | Cancels that the specified object should be restored when this one is restored.
|
| void | setBackupsPath (const std::string &s) |
| const std::string & | backupsPath () const |
| void | setFactoryFile (const std::string &s) |
| const std::string & | factoryFile () const |
| | DtBackupInterface () |
| | Default CTOR.
|
| virtual | ~DtBackupInterface () |
| | Default DTOR.
|