5#ifndef ROOTCOLLECTION_ROOTCOLLECTIONCURSOR_H
6#define ROOTCOLLECTION_ROOTCOLLECTIONCURSOR_H
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;
This file contains the class definition for the Token class (migrated from POOL).
This class provides a token that identifies in a unique way objects on the persistent storage.
A class that acts as a buffer to be filled with the event reference and associated metadata values of...
An interface used to navigate the result of a query on a collection.
An interface used to define the properties of a collection to be constructed and to retrieve these pr...
char m_charBuffer[c_maxLengthOfStrings]
pool::CollectionRowBuffer m_collectionRowBuffer
Row buffer containing Tokens and Attributes.
AttrBranchVector_t m_attrBranches
static const unsigned int c_maxLengthOfStrings
TokenBranchVector_t m_tokenBranches
virtual bool seek(std::size_t position) override
Seeks the cursor to a given position in the collection.
const ICollectionDescription & m_description
virtual ~RootCollectionCursor()
const TEventList * m_eventList
virtual const Token & eventRef() const override
Returns the event reference Token for the current row.
virtual std::size_t size() override
Return the size of the collection.
std::vector< std::pair< TBranch *, Token * > > TokenBranchVector_t
virtual const pool::CollectionRowBuffer & currentRow() const override
Returns the selected Tokens and Attributes for the current row.
virtual bool next() override
Advances the cursor to the next row.
virtual void close() override
Cleanup.
std::vector< std::pair< TBranch *, std::string * > > AttrBranchVector_t
RootCollectionCursor(const pool::ICollectionDescription &description, const pool::CollectionRowBuffer &collectionRowBuffer, TTree *tree, const TEventList *evl)
std::string description
glabal timer - how long have I taken so far?