![]() |
ATLAS Offline Software
|
#include <CollectionBase/CollectionService.h>
Public Member Functions | |
| CollectionService ()=default | |
| Constructor: More... | |
| virtual | ~CollectionService ()=default |
| Default destructor. More... | |
| virtual ICollection * | create (const ICollectionDescription &description, bool overwrite=false) |
| Creates or overwrites a collection or collection fragment, given a description of its properties. More... | |
| virtual ICollection * | open (const std::string &name, const std::string &type, const std::string &connection="", bool readOnly=true) const |
| 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, given the collection or collection fragment's name, storage technology type and database connection string. More... | |
| pool::ICollection * | plugin (const ICollectionDescription &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) More... | |
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 25 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. |
| overwrite | Flag to distinguish creation and overwrite open modes. |
|
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".
| name | Name of collection or collection fragment. |
| type | Storage technology type of collection or collection fragment. |
| connection | Connection to database containing collection or collection fragment. |
| readOnly | Flag to distinguish read and update open modes. |
| session | Reference to database session (need only be set for implicit collections). |
|
inlinevirtual |
Definition at line 50 of file CollectionService.h.
| pool::ICollection* pool::CollectionService::plugin | ( | const ICollectionDescription & | description, |
| ICollection::OpenMode | openMode, | ||
| ISession * | session = 0 |
||
| ) | const |
|
static |
suppress (or enable) warning about a missing MessageSvc (logging)
1.8.18