ATLAS Offline Software
|
#include <PersistencySvc/ISession.h>
Public Member Functions | |
virtual | ~ISession () |
Default destructor. More... | |
virtual void | setDefaultConnectionPolicy (const DatabaseConnectionPolicy &policy)=0 |
Sets the default policy when databases are opened/connected. More... | |
virtual const DatabaseConnectionPolicy & | defaultConnectionPolicy () const =0 |
Retrieves the default connection policy. More... | |
virtual bool | disconnectAll ()=0 |
Explicitly disconnects all the databases. More... | |
virtual ITransaction & | transaction ()=0 |
Returns the transaction object. More... | |
virtual const ITransaction & | transaction () const =0 |
virtual std::vector< std::string > | connectedDatabases () const =0 |
Returns a vector with the file identifiers of the presently open databases. More... | |
virtual IDatabase * | databaseHandle (const std::string &dbName, DatabaseSpecification::NameType dbNameType)=0 |
Returns a pointer to a database object. The user acquires ownership of that object. More... | |
virtual IFileCatalog & | fileCatalog ()=0 |
Returns the file catalog in use. More... | |
virtual const ITechnologySpecificAttributes & | technologySpecificAttributes (long technology) const =0 |
Returns the object holding the technology specific attributes for a given technology domain. More... | |
virtual ITechnologySpecificAttributes & | technologySpecificAttributes (long technology)=0 |
ISession is the interface class for user (macroscopic) sessions Every transaction and connection to a database can be performed within a session. It therefore defines a logical context within which all the operations are performed. It further provides access to the file catalog and the shape transformation registry in use.
Definition at line 31 of file ISession.h.
|
inlinevirtual |
|
pure virtual |
Returns a vector with the file identifiers of the presently open databases.
Implemented in pool::PersistencySvc::UserSession.
|
pure virtual |
Returns a pointer to a database object. The user acquires ownership of that object.
Implemented in pool::PersistencySvc::UserSession.
|
pure virtual |
Retrieves the default connection policy.
Implemented in pool::PersistencySvc::UserSession.
|
pure virtual |
Explicitly disconnects all the databases.
If a transaction is active, then all the changes since the last commit are aborted.
Implemented in pool::PersistencySvc::UserSession.
|
pure virtual |
Returns the file catalog in use.
Implemented in pool::PersistencySvc::UserSession.
|
pure virtual |
Sets the default policy when databases are opened/connected.
Implemented in pool::PersistencySvc::UserSession.
|
pure virtual |
Returns the object holding the technology specific attributes for a given technology domain.
Implemented in pool::PersistencySvc::UserSession.
|
pure virtual |
Implemented in pool::PersistencySvc::UserSession.
|
pure virtual |
Implemented in pool::PersistencySvc::UserSession.
|
pure virtual |
Returns the transaction object.
Implemented in pool::PersistencySvc::UserSession.