 |
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef COLLECTIONBASE_COLLECTIONSERVICE_H
6 #define COLLECTIONBASE_COLLECTIONSERVICE_H
14 class ICollectionDescription;
48 bool overwrite =
false );
51 const std::string &
type,
52 const std::string & connection =
"",
53 bool readOnly =
true)
const
73 const std::string &
type,
74 const std::string & connection =
"",
virtual ICollection * handle(const std::string &name, const std::string &type, const std::string &connection="", bool readOnly=true, ISession *session=0) const
Retrieves a handle to an existing collection or collection fragment for read or update transactions,...
virtual ICollection * create(const ICollectionDescription &description, bool overwrite=false)
Creates or overwrites a collection or collection fragment, given a description of its properties.
virtual ~CollectionService()=default
Default destructor.
pool::ICollection * plugin(const ICollectionDescription &description, ICollection::OpenMode openMode, ISession *session=0) const
OpenMode
Enumeration of the possible open modes of the collection.
static void setMessageSvcQuiet(bool quiet=true)
suppress (or enable) warning about a missing MessageSvc (logging)
CollectionService()=default
Constructor:
virtual ICollection * open(const std::string &name, const std::string &type, const std::string &connection="", bool readOnly=true) const
Define macros for attributes used to control the static checker.
std::string description
glabal timer - how long have I taken so far?