|
| | 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. More...
|
| |
| 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. More...
|
| |
| DtSettingsBackup * | create () const |
| | Returns a new empty class of type. More...
|
| |
| void | write (boost::archive::xml_oarchive &ar) |
| | Override to write to given stream. More...
|
| |
| void | writeDir (std::vector< std::ostringstream * > &outStreamVec, std::vector< std::string > &fileNames) |
| | Support for writing settings to files in a directory. More...
|
| |
| void | readRecords (boost::archive::xml_iarchive &ar, makArchives::DtObserverModesRecord &recordsResult) |
| |
| void | readIncremental (boost::archive::xml_iarchive &ar) |
| | Support for reading files from a directory by looping over files and incrementally adding their contents. More...
|
| |
| void | read (boost::archive::xml_iarchive &ar) |
| | Override to read from given stream. More...
|
| |
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. More...
|
| |
| std::string | backupName () const |
| | Returns a more readable backup name (for dialogs). More...
|
| |
| virtual void | backup () |
| | Backs up settings to backup file. More...
|
| |
| virtual void | backupByDir () |
| | Backs up settings to backup directory. More...
|
| |
| void | setCanBackup (bool b) |
| |
| bool | canBackup () const |
| |
| | DtSettingsBackup () |
| | CTOR. More...
|
| |
| virtual | ~DtSettingsBackup () |
| | DTOR. More...
|
| |
| 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. More...
|
| |
| virtual bool | createAndWriteToBackupFiles (const std::vector< std::ostringstream * > &str, const std::string &path, const std::vector< std::string > &fileNames) |
| |
| const std::string & | backupFile () const |
| | Get the name of the backup file. More...
|
| |
| virtual bool | backupFileExists () const |
| | Returns true if the file can be restored from a local backup. More...
|
| |
| virtual bool | backupDirExists () const |
| | Returns true if the file can be restored from a local backup directory. More...
|
| |
| virtual bool | factoryFileExists () const |
| | Returns true if can be restored from factory. More...
|
| |
| virtual bool | factoryDirExists () const |
| | Returns true if can be restored from factory directory. More...
|
| |
| virtual void | deleteBackup () |
| | If backup file exists, deletes it. More...
|
| |
| virtual void | restore (bool fromFactory=false) |
| | Restore all. More...
|
| |
| virtual void | getRestorableNames (NameList &names) |
| | Get the names of states restore will affect. More...
|
| |
| virtual void | restore (bool fromFactory, bool selectedOnly) |
| | Restore the state, either from the backup (default) or from the factory. More...
|
| |
| void | setManagerDestroyed (bool b) |
| | If true, will not signal destroyed. More...
|
| |
| virtual void | addRestoreWhenRestored (DtSettingsBackup *, const RestoreFlags &f=RestoreAll) |
| | Sets to restore the specified object when this object is restored. More...
|
| |
| 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. More...
|
| |
| void | setBackupsPath (const std::string &s) |
| |
| const std::string & | backupsPath () const |
| |
| void | setFactoryFile (const std::string &s) |
| |
| const std::string & | factoryFile () const |
| |
| void | setFactoryDir (const std::string &dir) |
| |
| const std::string & | factoryDir () const |
| |
| void | setBackupDir (const std::string &dir) |
| |
| const std::string & | backupDir () const |
| |
| | DtBackupInterface () |
| | Default CTOR. More...
|
| |
| virtual | ~DtBackupInterface () |
| | Default DTOR. More...
|
| |