|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef INCLUDE_IMPLICITCOLLECTION_IMPLICITCOLLECTION_H
6 #define INCLUDE_IMPLICITCOLLECTION_IMPLICITCOLLECTION_H
12 #include "Gaudi/PluginService.h"
19 class ICollectionSchemaEditor;
21 class ICollectionQuery;
22 class ICollectionIterator;
23 class ImplicitCollectionIterator;
40 const std::string& connection,
41 const std::string&
name,
67 std::string secondaryQuery =
"",
virtual ICollectionSchemaEditor & schemaEditor()
Returns an object used to modify the collection schema.
ImplicitCollectionIterator * select(const std::string &primaryQuery="", std::string secondaryQuery="", std::string options="")
Method that returns collection's iterator Throws POOL exception.
virtual ICollectionQuery * newQuery()
Returns an object used to query the collection.
virtual const ICollectionDescription & description() const
Returns an object used to describe the collection properties.
virtual ICollectionDataEditor & dataEditor()
Returns an object used to add, update or delete rows of the collection.
void close()
no-op at the moment
~ImplicitCollection()
Destructor.
Gaudi::PluginService::Factory< ICollection *(const ICollectionDescription *, ICollection::OpenMode, ISession *)> Factory
ImplicitCollection(const ICollectionDescription *description, ICollection::OpenMode mode, ISession *session)
Constructor compying to the new Collections API parameters as above, but name and connection passed i...
void open(ICollection::OpenMode mode, ISession *session)
OpenMode
Enumeration of the possible open modes of the collection.
CollectionDescription m_description
ImplicitCollection(ISession *session, const std::string &connection, const std::string &name, ICollection::OpenMode mode)
Constructor - old style Throws POOL exception.
void open()
no-op at the moment
virtual ICollection::OpenMode openMode() const
Return openMode.
DbStatus DbObjectHandle< T >::makeLink ATLAS_NOT_THREAD_SAFE(const Token *pToken, Token::OID_t &linkH) const
Add persistent association entry.
void commit(bool reopen=false)
Commits the last changes made to the collection. Will always return true.
An implicit collection implementation of the ICollection interface.
Define macros for attributes used to control the static checker.
ImplicitCollection(const ImplicitCollection &)=delete
bool isOpen() const
Checks if the collection is open.
void rollback()
Aborts the last changes made to the collection. Will always return true.
IContainer * m_container
The underlying container handle.
std::string description
glabal timer - how long have I taken so far?