 |
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef ROOTCOLLECTION_ROOTCOLLECTIONCURSOR_H
6 #define ROOTCOLLECTION_ROOTCOLLECTIONCURSOR_H
20 namespace RootCollection {
34 const TEventList *evl );
38 virtual bool next()
override;
44 virtual std::size_t
size()
override;
47 virtual bool seek(std::size_t position)
override;
virtual const pool::CollectionRowBuffer & currentRow() const override
Returns the selected Tokens and Attributes for the current row of the query result set.
AttrBranchVector_t m_attrBranches
virtual const Token & eventRef() const override
Returns the event reference Token for the current row.
char m_charBuffer[c_maxLengthOfStrings]
This class provides a token that identifies in a unique way objects on the persistent storage.
virtual bool next() override
Advances the cursor to the next row of the query result set.
TokenBranchVector_t m_tokenBranches
virtual ~RootCollectionCursor()
virtual std::size_t size() override
Return the size of the collection.
virtual bool seek(std::size_t position) override
Seeks the cursor to a given position in the collection.
const TEventList * m_eventList
static const unsigned int c_maxLengthOfStrings
std::vector< std::pair< TBranch *, Token * > > TokenBranchVector_t
RootCollectionCursor(const pool::ICollectionDescription &description, const pool::CollectionRowBuffer &collectionRowBuffer, TTree *tree, const TEventList *evl)
pool::CollectionRowBuffer m_collectionRowBuffer
Row buffer containing Tokens and Attributes selected by query.
const ICollectionDescription & m_description
This file contains the class definition for the Token class (migrated from POOL).
virtual void close() override
Cleanup.
std::string description
glabal timer - how long have I taken so far?
std::vector< std::pair< TBranch *, std::string * > > AttrBranchVector_t