|
dune-fem 2.12-git
|
Loading...
Searching...
No Matches
Classes |
Public Types |
Public Member Functions |
Static Public Member Functions |
Static Public Attributes |
Friends |
List of all members
Dune::Fem::PersistenceManager Class Reference
class with singleton instance managing all persistent objects More...
#include <dune/fem/io/file/persistencemanager.hh>
Classes | |
| struct | WrapObject< ObjectType, false > |
| struct | WrapObject< ObjectType, true > |
Public Types | |
| typedef Fem::BinaryFileOutStream | BackupStreamType |
| typedef Fem::BinaryFileInStream | RestoreStreamType |
Public Member Functions | |
| template<class ObjectType > | |
| void | insertObject (ObjectType &object, const bool pushFront=false) |
| template<class ObjectType > | |
| void | removeObject (ObjectType &object) |
| void | backupObjects (const std::string &path) |
| void | restoreObjects (const std::string &path) |
| std::string | getUniqueFileName (const std::string &tag) |
| std::string | getUniqueTag (const std::string &tag) |
| template<class T > | |
| void | backup (const std::string &token, const T &value) |
| template<class T > | |
| void | restore (const std::string &token, T &value) |
| void | reset () |
| clear all objects registered to PersistenceManager | |
Static Public Member Functions | |
| static PersistenceManager & | instance () |
| static BackupStreamType & | backupStream () |
| static RestoreStreamType & | restoreStream () |
| static void | insert (PersistentObject &object, const bool pushFront=false) |
| static void | remove (PersistentObject &object) |
| static void | backup (const std::string &path) |
| static void | restore (const std::string &path) |
| static void | startRestore (const std::string &path) |
| static std::string | uniqueFileName (const std::string &tag="") |
| static std::string | uniqueTag (const std::string &tag="") |
| template<class T > | |
| static void | backupValue (const std::string &token, const T &value) |
| template<class T > | |
| static void | restoreValue (const std::string &token, T &value) |
Static Public Attributes | |
| static const bool | singleBackupRestoreFile = false |
Friends | |
| class | Dune::Fem::Singleton< PersistenceManager > |
Detailed Description
class with singleton instance managing all persistent objects
Member Typedef Documentation
◆ BackupStreamType
◆ RestoreStreamType
Member Function Documentation
◆ backup() [1/2]
|
inlinestatic |
◆ backup() [2/2]
template<class T >
|
inline |
◆ backupObjects()
|
inline |
◆ backupStream()
|
inlinestatic |
◆ backupValue()
template<class T >
|
inlinestatic |
◆ getUniqueFileName()
|
inline |
◆ getUniqueTag()
|
inline |
◆ insert()
|
inlinestatic |
◆ insertObject()
template<class ObjectType >
|
inline |
◆ instance()
|
inlinestatic |
◆ remove()
|
inlinestatic |
◆ removeObject()
template<class ObjectType >
|
inline |
◆ reset()
|
inline |
clear all objects registered to PersistenceManager
◆ restore() [1/2]
|
inlinestatic |
◆ restore() [2/2]
template<class T >
|
inline |
◆ restoreObjects()
|
inline |
◆ restoreStream()
|
inlinestatic |
◆ restoreValue()
template<class T >
|
inlinestatic |
◆ startRestore()
|
inlinestatic |
◆ uniqueFileName()
|
inlinestatic |
◆ uniqueTag()
|
inlinestatic |
Friends And Related Symbol Documentation
◆ Dune::Fem::Singleton< PersistenceManager >
|
friend |
Member Data Documentation
◆ singleBackupRestoreFile
|
static |
The documentation for this class was generated from the following file:
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8