![]() |
ATLAS Offline Software
|
A service for creating, accessing and managing an ensemble of collections of event references. More...
#include <CollectionSvc/CollectionService.h>
Public Member Functions | |
| CollectionService ()=default | |
| Constructor: | |
| virtual | ~CollectionService ()=default |
| Default destructor. | |
| virtual ICollection * | create (const CollectionDescription &description) |
| Creates or overwrites a collection or collection fragment, given a description of its properties. | |
| 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, given the collection or collection fragment's name, storage technology type and database connection string. | |
| pool::ICollection * | plugin (const CollectionDescription &description, ICollection::OpenMode openMode, ISession *session=0) const |
Static Public Member Functions | |
| static void | setMessageSvcQuiet (bool quiet=true) |
| suppress (or enable) warning about a missing MessageSvc (logging) | |
A service for creating, accessing and managing an ensemble of collections of event references.
In many cases, the individual unit managed by the service may simply consist of a collection fragment containing only a subset of the metadata of an existing collection.
Definition at line 28 of file CollectionService.h.
|
default |
Constructor:
| context | Local context provided by the service. |
|
virtualdefault |
Default destructor.
|
virtual |
Creates or overwrites a collection or collection fragment, given a description of its properties.
| description | Specification of collection or collection fragment properties. |
|
virtual |
Retrieves a handle to an existing collection or collection fragment for read or update transactions, given the collection or collection fragment's name, storage technology type and database connection string.
A reference to a POOL database session object must be provided as input for the case where the collection being accessed is of type "ImplicitCollection".
| pool::ICollection * pool::CollectionService::plugin | ( | const CollectionDescription & | description, |
| ICollection::OpenMode | openMode, | ||
| ISession * | session = 0 ) const |
|
static |
suppress (or enable) warning about a missing MessageSvc (logging)