Loading [MathJax]/extensions/tex2jax.js
 |
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef INCLUDE_IMPLICITCOLLECTION_IMPLICITCOLLECTION_H
6 #define INCLUDE_IMPLICITCOLLECTION_IMPLICITCOLLECTION_H
13 #include "Gaudi/PluginService.h"
20 class ICollectionQuery;
21 class ICollectionIterator;
22 class ImplicitCollectionIterator;
39 const std::string& connection,
40 const std::string&
name,
66 std::string secondaryQuery =
"",
AccessorTemplate & operator=(AccessorTemplate &&that)
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.
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.
virtual void insertRow(const pool::CollectionRowBuffer &inputRowBuffer)
Adds a new row of data to the collection. Will always throw exception.
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?