App::BackupPolicy Class Reference
Public Types | |
| enum | Policy { Standard, TimeStamp } |
Public Member Functions | |
| void | apply (const std::string &sourcename, const std::string &targetname) |
| BackupPolicy () | |
| void | setDateFormat (const std::string &fmt) |
| void | setNumberOfFiles (int count) |
| void | setPolicy (Policy p) |
| void | useBackupExtension (bool on) |
| ~BackupPolicy () | |
Member Enumeration Documentation
◆ Policy
Constructor & Destructor Documentation
◆ BackupPolicy()
| App::BackupPolicy::BackupPolicy | ( | ) |
References Standard.
◆ ~BackupPolicy()
| App::BackupPolicy::~BackupPolicy | ( | ) |
Member Function Documentation
◆ apply()
| void App::BackupPolicy::apply | ( | const std::string & | sourcename, |
| const std::string & | targetname | ||
| ) |
References Standard, and TimeStamp.
Referenced by App::Document::saveToFile().
◆ setDateFormat()
| void App::BackupPolicy::setDateFormat | ( | const std::string & | fmt | ) |
Referenced by App::Document::saveToFile().
◆ setNumberOfFiles()
| void App::BackupPolicy::setNumberOfFiles | ( | int | count | ) |
Referenced by App::Document::saveToFile().
◆ setPolicy()
| void App::BackupPolicy::setPolicy | ( | Policy | p | ) |
Referenced by App::Document::saveToFile().
◆ useBackupExtension()
| void App::BackupPolicy::useBackupExtension | ( | bool | on | ) |
Referenced by App::Document::saveToFile().
The documentation for this class was generated from the following file:
- src/App/Document.cpp
1.8.17