5#ifndef RNTUPLECOLLECTIONCURSOR_H
6#define RNTUPLECOLLECTIONCURSOR_H
39 ROOT::RNTupleReader* reader );
42 virtual bool next()
override;
48 virtual std::size_t
size()
override;
51 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.
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.
pool::CollectionRowBuffer m_collectionRowBuffer
Row buffer containing Tokens and Attributes.
virtual bool next() override
Advances the cursor to the next row of the result set.
ROOT::RNTupleReader * m_RNTReader
virtual std::size_t size() override
Return the size of the collection.
std::unique_ptr< ROOT::REntry > m_RNTEntry
RNtuple row with Field addresses set to collectionRowBuffer attributes.
virtual ~RNTupleCollectionCursor()
virtual const pool::CollectionRowBuffer & currentRow() const override
Returns the selected Tokens and Attributes for the current row of the result set.
virtual void close() override
Cleanup.
virtual const Token & eventRef() const override
Returns the event reference Token for the current row.
std::string m_tokenStr
Temporary storage for Event Reference in string format as it is in RNTuple.
virtual bool seek(std::size_t position) override
Seeks the cursor to a given position in the collection.
RNTupleCollectionCursor(const pool::CollectionDescription &description, const pool::CollectionRowBuffer &collectionRowBuffer, ROOT::RNTupleReader *reader)
const CollectionDescription & m_description
std::string description
glabal timer - how long have I taken so far?
Selection rules: declare transient members.