Skip to content
Snippets Groups Projects
Commit cd7e0db0 authored by Stuart James's avatar Stuart James
Browse files

Another missing bit...

parent d1b89b7d
No related branches found
No related tags found
No related merge requests found
......@@ -96,5 +96,16 @@ public:
virtual bool supported(HdbppFeatures feature) = 0;
};
// Abstract factory class that backend must implement to help create an instance
// of the storage class deriving from AbstractDB
class DBFactory
{
public:
// Create a backend database object, and return it as a pointer
virtual AbstractDB *create_db(const string &id, const std::vector<std::string> &configuration) = 0;
virtual ~DBFactory() {};
};
} // namespace hdbpp
#endif // _HDBPP_ABSTRACTDB_H
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment