|
ATLAS Offline Software
|
Go to the documentation of this file.
14 #ifndef POOL_ISTORAGEEXPLORER_H
15 #define POOL_ISTORAGEEXPLORER_H
60 typedef std::pair<std::string, std::string>
Parameter;
167 std::vector<const Token*>& conts,
168 bool intern=
false) = 0;
177 std::vector<const Token*>& assocs) = 0;
186 std::vector<ShapeH>&
shapes) = 0;
198 const std::string& nam,
199 const std::string&
val) = 0;
210 const std::string& nam,
211 std::string&
val) = 0;
288 const std::string& cntName,
302 const std::string& cntName,
316 const std::string& cntName,
331 #endif // POOL_ISTORAGEEXPLORER_H
virtual DbStatus shapes(FileDescriptor &refDB, std::vector< ShapeH > &shapes)=0
Access Shapes known to the database.
virtual DbStatus getDatabaseOption(FileDescriptor &refDB, DbOption &opt)=0
Access options for a given database.
virtual DbStatus addDbParam(FileDescriptor &refDB, const std::string &nam, const std::string &val)=0
Add a persistent parameter to the database.
virtual DbStatus select(FileDescriptor &refDB, const std::string &cntName, DbSelect &sel)=0
Initiate a selection on a given container.
virtual DbStatus endSession(const SessionH session)=0
End the Database session.
std::pair< std::string, std::string > Parameter
Database parameter definition.
virtual DbStatus dbParam(FileDescriptor &refDB, const std::string &nam, std::string &val)=0
Retrieve existing parameter by name.
virtual DbStatus startSession(int mode, int tech, SessionH &session)=0
Start a new Database Session.
This class provides a token that identifies in a unique way objects on the persistent storage.
const class Shape * ShapeH
virtual DbStatus connect(const SessionH sessionH, int mode, FileDescriptor &refDB)=0
Connect to a logical Database unit.
std::vector< Parameter > Parameters
Database parameter container definition.
virtual DbStatus associations(FileDescriptor &refDB, std::vector< const Token * > &assocs)=0
Access the container level associations between objects.
virtual unsigned int release()=0
IInterface implementation: Release Interface instance
virtual DbStatus containers(FileDescriptor &refDB, std::vector< const Token * > &conts, bool intern=false)=0
Access the containers in a given database.
virtual DbStatus queryInterface(const Guid &riid, void **ppvUnkn)=0
IInterface implementation: Query interfaces of Interface.
virtual DbStatus setContainerOption(FileDescriptor &refDB, const std::string &cntName, const DbOption &opt)=0
Set options for a given database container.
virtual DbStatus getContainerOption(FileDescriptor &refDB, const std::string &cntName, DbOption &opt)=0
Access options for a given database container.
virtual unsigned int addRef()=0
IInterface implementation: Reference Interface instance
virtual long long int databaseSize(FileDescriptor &refDB) const =0
Access the size of the database: May be undefined for some technologies.
virtual DbStatus setDatabaseOption(FileDescriptor &refDB, const DbOption &opt)=0
Set options for a given database.
This class provides a encapsulation of a GUID/UUID/CLSID/IID data structure (128 bit number).
virtual DbStatus dbParams(FileDescriptor &refDB, Parameters &vals)=0
Retrieve all parameters.
virtual DbStatus next(DbSelect &context, Token *&refpTok)=0
Access the next token of a sequence.
static const Guid & interfaceID()
Retrieve interface ID.
virtual DbStatus getDomainOption(const SessionH sessionH, DbOption &opt)=0
Access options for a given database domain.
virtual DbStatus setDomainOption(const SessionH sessionH, const DbOption &opt)=0
Set options for a given database domain.
virtual DbStatus disconnect(FileDescriptor &refDB)=0
Disconnect from a logical Database unit.
virtual ~IStorageExplorer()
Destructor (called only by sub-classes)