|
ATLAS Offline Software
|
Go to the documentation of this file.
12 #ifndef POOL_IDBDATABASE_H
13 #define POOL_IDBDATABASE_H
46 virtual long long int size()
const = 0;
78 const std::string& nam,
104 #endif // POOL_IDBDATABASE_H
virtual DbStatus getOption(DbOption &refOpt)=0
Access options.
virtual DbStatus onOpen(DbDatabase &dbH, DbAccessMode mode)=0
Callback after successful open of a database object.
virtual DbStatus open(const DbDomain &domH, const std::string &nam, DbAccessMode mode)=0
Open Database object.
virtual DbStatus reopen(DbAccessMode mode)=0
Re-open database with changing access permissions.
virtual DbStatus setOption(const DbOption &refOpt)=0
Set options.
virtual long long int size() const =0
Access the size of the database: May be undefined for some technologies.
virtual DbStatus close(DbAccessMode mode)=0
Close database access.
virtual DbStatus transAct(Transaction::Action action)=0
Execute Database Transaction action.