Loading [MathJax]/extensions/tex2jax.js
 |
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef COLLECTIONBASE_ICOLLECTION_H
6 #define COLLECTIONBASE_ICOLLECTION_H
12 class ICollectionDescription;
13 class ICollectionQuery;
14 class CollectionRowBuffer;
44 virtual void commit(
bool restartTransaction =
true ) = 0;
virtual void close()=0
Closes the collection and terminates any database connections.
virtual ICollection::OpenMode openMode() const =0
Returns the open mode of the collection for the present transaction.
virtual ICollectionQuery * newQuery()=0
Returns an object used to query the collection.
virtual void commit(bool restartTransaction=true)=0
Commits the latest changes made to the collection.
OpenMode
Enumeration of the possible open modes of the collection.
virtual const ICollectionDescription & description() const =0
Returns an object used to describe the collection properties.
virtual void initNewRow(pool::CollectionRowBuffer &row) const
Initialize a new RowBuffer by adding all Attributes adn Tokens of this collection to it.
virtual void insertRow(const pool::CollectionRowBuffer &inputRowBuffer)=0
Adds a new row of data to the collection.
virtual ~ICollection()=default
Empty destructor.
virtual void open()=0
Opens the collection and initializes it if necessary.
virtual bool isOpen() const =0
Checks if the collection is open.