5#ifndef COLLECTIONSVC_COLLECTIONSERVICE_H
6#define COLLECTIONSVC_COLLECTIONSERVICE_H
66 const std::string & connection =
"",
Define macros for attributes used to control the static checker.
An implementation used to define the properties of a collection to be constructed and to retrieve the...
virtual ~CollectionService()=default
Default destructor.
static void setMessageSvcQuiet(bool quiet=true)
suppress (or enable) warning about a missing MessageSvc (logging)
virtual ICollection * create(const CollectionDescription &description)
Creates or overwrites a collection or collection fragment, given a description of its properties.
pool::ICollection * plugin(const CollectionDescription &description, ICollection::OpenMode openMode, ISession *session=0) const
CollectionService()=default
Constructor:
virtual ICollection * open(const std::string &name, const DbType &type, const std::string &connection="", ISession *session=0) const
Retrieves a handle to an existing collection or collection fragment for read or update transactions,...
An interface to a storage technology specific collection of event references and attributes.
OpenMode
Enumeration of the possible open modes of the collection.
ISession is the interface class for user (macroscopic) sessions Every transaction and connection to a...
std::string description
glabal timer - how long have I taken so far?