|
ATLAS Offline Software
|
Go to the documentation of this file.
13 #ifndef POOL_ROOTKEYCONTAINER_H
14 #define POOL_ROOTKEYCONTAINER_H 1
21 namespace CINT {
class IOHandler; }
29 class RootKeyIOHandler;
75 const std::string& nam,
131 #endif //POOL_ROOTKEYCONTAINER_H
virtual DbStatus setOption(const DbOption &opt)
Set options.
RootKeyContainer & operator=(const RootKeyContainer &)=delete
virtual DbStatus destroyObject(ActionList::value_type &)
Destroy persistent object in the container.
virtual DbStatus writeObject(ActionList::value_type &)
Commit single entry to container.
int m_ioBytes
Number of bytes written/read during last operation. Set to -1 if it failed.
virtual DbStatus getOption(DbOption &opt)
Access options.
virtual DbStatus open(DbDatabase &dbH, const std::string &nam, const DbTypeInfo *info, DbAccessMode mod)
Open the container for object access.
RootKeyIOHandler * m_ioHandler
CINT IO handler to allow user overloads....
virtual DbStatus fetch(const Token::OID_t &linkH, Token::OID_t &stmt)
Fetch a column identified by its link in the container.
virtual DbStatus transAct(Transaction::Action action)
Execute end of object modification requests during a transaction.
RootDatabase * m_rootDb
Root database file reference.
virtual ~RootKeyContainer()
Standard destructor.
RootKeyContainer(const RootKeyContainer &)=delete
virtual DbStatus load(void **ptr, ShapeH shape, const Token::OID_t &linkH, Token::OID_t &oid, bool any_next)
Interface Implementation: Find entry in container.
const class Shape * ShapeH
virtual DbStatus select(DbSelect &criteria)
Define selection criteria.
virtual uint64_t size()
Number of entries within the container.
virtual DbStatus loadObject(void **ptr, ShapeH shape, Token::OID_t &oid)
Find object by object identifier and load it into memory.
virtual DbStatus close()
Close the container and deallocate resources.
virtual DbStatus isShapeSupported(const DbTypeInfo *) const
Ask if a given shape is supported.
virtual uint64_t nextRecordId()
Number of record in the container.
RootKeyContainer()
Standard constructor.
virtual DbStatus fetch(DbSelect &sel)
Fetch next object address of the selection to set token.
DbDatabase m_dbH
Parent Database handle.
TDirectory * m_dir
Reference to the root tree object.