|
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 ICollectionSchemaEditor;
15 class ICollectionQuery;
39 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 ~ICollection()
Empty destructor.
virtual ICollectionDataEditor & dataEditor()=0
Returns an object used to add, update or delete rows of the collection.
virtual void open()=0
Opens the collection and initializes it if necessary.
virtual bool isOpen() const =0
Checks if the collection is open.
virtual ICollectionSchemaEditor & schemaEditor()=0
Returns an object used to modify the collection schema.