dune-fem 2.8.0
|
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 |
class with singleton instance managing all persistent objects
|
inlinestatic |
|
inline |
|
inline |
|
inlinestatic |
|
inlinestatic |
|
inline |
|
inline |
|
inlinestatic |
|
inline |
|
inlinestatic |
|
inlinestatic |
|
inline |
|
inline |
clear all objects registered to PersistenceManager
|
inlinestatic |
|
inline |
|
inline |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
static |