|
ATLAS Offline Software
|
Go to the documentation of this file.
6 #ifndef POOL_DBSTORAGEEXPLORER_H
7 #define POOL_DBSTORAGEEXPLORER_H
185 std::vector<ShapeH>&
shapes);
197 const std::string& nam,
198 const std::string&
val);
209 const std::string& nam,
287 const std::string& cntName,
301 const std::string& cntName,
315 const std::string& cntName,
330 #endif // POOL_DBSTORAGEEXPLORER_H
DbStorageSvc * m_pOuter
Reference to outer interface.
DbStorageExplorer()
Standard Constructor: Constructs an object of type DbStorageExplorer.
virtual DbStatus setDomainOption(const SessionH sessionH, const DbOption &opt)
Set options for a given database domain.
virtual DbStatus getDatabaseOption(FileDescriptor &refDB, DbOption &opt)
Access options for a given database.
virtual DbStatus queryInterface(const Guid &riid, void **ppvUnknown)
IInterface implementation: Query interfaces of Interface.
std::string m_name
Explorer name.
This class provides a token that identifies in a unique way objects on the persistent storage.
virtual DbStatus setDatabaseOption(FileDescriptor &refDB, const DbOption &opt)
Set options for a given database.
virtual unsigned int release()
IInterface implementation: Release Interface instance
virtual DbStatus containers(FileDescriptor &refDB, TokenVec &conts, bool intern)
Access the containers in a given database.
virtual DbStatus associations(FileDescriptor &refDB, TokenVec &assocs)
Access the container level associations between objects.
virtual DbStatus dbParam(FileDescriptor &refDB, const std::string &nam, std::string &val)
Retrieve existing parameter by name.
std::vector< Parameter > Parameters
Database parameter container definition.
virtual DbStatus shapes(FileDescriptor &refDB, std::vector< ShapeH > &shapes)
Access Shapes known to the database.
DbDomain & m_domH
Reference to domain handle.
virtual DbStatus addDbParam(FileDescriptor &refDB, const std::string &nam, const std::string &val)
Add a persistent parameter to the database.
virtual long long int databaseSize(FileDescriptor &refDB) const
Access the size of the database: May be undefined for some technologies.
virtual DbStatus setContainerOption(FileDescriptor &refDB, const std::string &cntName, const DbOption &opt)
Set options for a given database container.
virtual DbStatus disconnect(FileDescriptor &refDB)
Disconnect from a logical Database unit.
DbStorageExplorer(const std::string &name, DbDomain &domH, DbStorageSvc *pOuter)
Initializing Constructor: Constructs an object of type DbStorageExplorer.
virtual DbStatus dbParams(FileDescriptor &refDB, Parameters &vals)
Retrieve all parameters.
virtual unsigned int addRef()
IInterface implementation: Reference Interface instance
std::vector< const Token * > TokenVec
virtual DbStatus startSession(int mode, int tech, SessionH &session)
Start a new Database Session.
This class provides a encapsulation of a GUID/UUID/CLSID/IID data structure (128 bit number).
virtual DbStatus getDomainOption(const SessionH sessionH, DbOption &opt)
Access options for a given database domain.
virtual DbStatus select(FileDescriptor &refDB, const std::string &cntName, DbSelect &sel)
Initiate a selection on a given container.
virtual DbStatus next(DbSelect &context, Token *&refpTok)
Access the next token of a sequence.
virtual DbStatus connect(const SessionH sessionH, int mode, FileDescriptor &refDB)
Connect to a logical Database unit.
virtual DbStatus getContainerOption(FileDescriptor &refDB, const std::string &cntName, DbOption &opt)
Access options for a given database container.
virtual ~DbStorageExplorer()
Standard destructor.
virtual DbStatus endSession(const SessionH session)
End the Database session.