diff options
Diffstat (limited to 'src/Common/StorageBackend.h')
-rw-r--r-- | src/Common/StorageBackend.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Common/StorageBackend.h b/src/Common/StorageBackend.h index 027109e..1d53570 100644 --- a/src/Common/StorageBackend.h +++ b/src/Common/StorageBackend.h @@ -24,6 +24,7 @@ #include <Core/Exception.h> #include <boost/shared_ptr.hpp> +#include <set> namespace Mad { namespace Common { @@ -34,6 +35,9 @@ class StorageBackend { protected: friend class StorageManager; + virtual std::set<std::string> listTypes() throw (Core::Exception) = 0; + virtual std::set<std::string> list(const std::string &type) throw (Core::Exception) = 0; + virtual void store(const std::string &type, const std::string &name, const XmlData *data) throw (Core::Exception) = 0; virtual boost::shared_ptr<XmlData> load(const std::string &type, const std::string &name) throw (Core::Exception) = 0; |