diff options
Diffstat (limited to 'src/portal.hh')
-rw-r--r-- | src/portal.hh | 34 |
1 files changed, 19 insertions, 15 deletions
diff --git a/src/portal.hh b/src/portal.hh index 27c6d22..faa787b 100644 --- a/src/portal.hh +++ b/src/portal.hh @@ -10,47 +10,51 @@ namespace Formaline { - - - + class portal : public storage { - std::ostringstream msgbuf; + std::string const path; + portal * const parent; public: - + portal (char const * id, - enum state st); - + enum state st, + char const * p = "", + portal * const par = 0); + virtual ~ portal (); - + + virtual portal * + open_group (char const * name); + virtual void store (char const * key, bool value); - + virtual void store (char const * key, CCTK_INT value); - + virtual void store (char const * key, CCTK_REAL value); - + virtual void store (char const * key, char const * value); - + private: std::string clean (std::string const & txt) const; }; - - - + + + } // namespace Formaline |