diff options
author | eschnett <eschnett@83718e91-0e4f-0410-abf4-91180603181f> | 2010-06-30 22:51:04 +0000 |
---|---|---|
committer | eschnett <eschnett@83718e91-0e4f-0410-abf4-91180603181f> | 2010-06-30 22:51:04 +0000 |
commit | c36bf320da429160ff61f2772f1a3fc0ddb7fc58 (patch) | |
tree | 0618eb16233da41083ccfc866cb930530b4e7609 /src/storage.hh | |
parent | b67dd69ee349f83b255cf71bdb0dd2900299481e (diff) |
Clean up the source code handling the announce mechanism in Formaline.
Restructure and clean up the makefiles and perl scripts that capture
the source code when Cactus is built.
Make things work with recent versions of git (>1.6.1).
Split thorn tarballs into multiple files if they become too large.
Update Formaline example parameter files.
Use Carpet instead of PUGH, activate missing thorns. Some reformatting.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/Formaline/trunk@187 83718e91-0e4f-0410-abf4-91180603181f
Diffstat (limited to 'src/storage.hh')
-rw-r--r-- | src/storage.hh | 47 |
1 files changed, 25 insertions, 22 deletions
diff --git a/src/storage.hh b/src/storage.hh index e0b5ddb..08f400f 100644 --- a/src/storage.hh +++ b/src/storage.hh @@ -7,55 +7,58 @@ namespace Formaline { - - - + class storage { public: - + enum state { initial, update, final }; - + private: - + enum state m_state; - + public: - + storage (enum state); - + virtual ~ storage (); - + enum state get_state () const; - + + virtual storage * + open_group (char const * name) + = 0; + virtual void store (char const * key, bool value) - = 0; - + = 0; + virtual void store (char const * key, CCTK_INT value) - = 0; - + = 0; + virtual void store (char const * key, CCTK_REAL value) - = 0; - + = 0; + virtual void store (char const * key, char const * value) - = 0; + = 0; + }; - - - + + + } // namespace Formaline -#endif // ifndef FORMALINE_STORAGE_HH +#endif // #ifndef FORMALINE_STORAGE_HH |