5#ifndef ROOTCOLLECTION_TTREECOLLECTIONCURSOR_H
6#define ROOTCOLLECTION_TTREECOLLECTIONCURSOR_H
34 virtual bool next()
override;
40 virtual std::size_t
size()
override;
43 virtual bool seek(std::size_t position)
override;
This class provides a token that identifies in a unique way objects on the persistent storage.
An implementation used to define the properties of a collection to be constructed and to retrieve the...
A class representing a row of a collection.
An interface used to navigate the result of a query on a collection.
static const unsigned int c_maxLengthOfStrings
virtual void close() override
Cleanup.
virtual const Token & eventRef() const override
Returns the event reference Token for the current row.
AttrBranchVector_t m_attrBranches
const CollectionDescription & m_description
char m_charBuffer[c_maxLengthOfStrings]
std::vector< std::pair< TBranch *, std::string * > > AttrBranchVector_t
virtual ~TTreeCollectionCursor()
pool::CollectionRowBuffer m_collectionRowBuffer
Row buffer containing Tokens and Attributes.
TTreeCollectionCursor(const pool::CollectionDescription &description, const pool::CollectionRowBuffer &collectionRowBuffer, TTree *tree)
virtual bool next() override
Advances the cursor to the next row.
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.
virtual const pool::CollectionRowBuffer & currentRow() const override
Returns the selected Tokens and Attributes for the current row.
std::string description
glabal timer - how long have I taken so far?