|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef POOL_ROOTTREEINDEXCONTAINER_H
6 #define POOL_ROOTTREEINDEXCONTAINER_H 1
61 Token::OID_t& oid) override;
85 #endif //POOL_ROOTTREEINDEXCONTAINER_H
virtual void useNextRecordId(uint64_t) override final
Suggest next Record ID for tbe next object written - for synced indexes.
virtual DbStatus open(DbDatabase &, const std::string &, const DbTypeInfo *, DbAccessMode) override final
Open the container.
virtual DbStatus writeObject(ActionList::value_type &) override
Commit single entry to container.
virtual uint64_t nextRecordId() override final
Number of entries within the container.
bool const RAWDATA *ch2 const
const uint32_t m_index_multi
Index multiplier (e.g. pid - ppid), fill in c'tor.
This class provides a token that identifies in a unique way objects on the persistent storage.
bool m_firstRead
first object retrieval attempt flag (to rebuild index)
const class Shape * ShapeH
RootTreeIndexContainer & operator=(const RootTreeIndexContainer &)=delete
TBranch * m_indexBranch
Pointer to index branch.
std::vector< DbAction > ActionList
int64_t m_indexBump
How much to increase nextRecordID to keep index values synced with other containers.
Long64_t m_index
Index (64 bit) - using ROOT type that matches the earlier 'long long'.
virtual DbStatus loadObject(void **ptr, ShapeH shape, Token::OID_t &oid) override
Find object by object identifier and load it into memory.
RootTreeIndexContainer()
Standard constructor.
RootTreeIndexContainer(const RootTreeIndexContainer &)=delete
virtual ~RootTreeIndexContainer()
Standard destructor.