|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef RNTCOLLECTIONCURSOR_H
6 #define RNTCOLLECTIONCURSOR_H
27 namespace RootCollection {
40 virtual public implements<ICollectionSize>
51 virtual bool next()
override;
57 virtual bool seek(
long long int position)
override;
60 virtual int size()
override;
83 std::vector< std::pair< Token*, std::string > >
m_tokens;
virtual bool next() override
Advances the cursor to the next row of the query result set.
RNTCollectionCursor(const pool::ICollectionDescription &description, const pool::CollectionRowBuffer &collectionRowBuffer, RNTupleReader *reader)
ROOT::Experimental::RNTupleReader RNTupleReader
std::unique_ptr< REntry > m_RNTEntry
RNtuple row with Field addresses set to collectionRowBuffer attributes.
virtual const Token & eventRef() const override
Returns the event reference Token for the current row.
Abstract interface for finding the size of an event collection.
This class provides a token that identifies in a unique way objects on the persistent storage.
RNTupleReader * m_RNTReader
ROOT::Experimental::RNTupleReader RNTupleReader
virtual ~RNTCollectionCursor()
Abstract interface for seeking within an event stream.
virtual bool seek(long long int position) override
Seeks the cursor to a given position in the collection.
const ICollectionDescription & m_description
pool::CollectionRowBuffer m_collectionRowBuffer
Row buffer containing Tokens and Attributes selected by query.
virtual const pool::CollectionRowBuffer & currentRow() const override
Returns the selected Tokens and Attributes for the current row of the query result set.
Abstract interface for seeking inside a collection.
ROOT::Experimental::REntry REntry
reader
read the goodrunslist xml file(s)
This file contains the class definition for the Token class (migrated from POOL).
virtual void close() override
Cleanup.
std::vector< std::pair< Token *, std::string > > m_tokens
"Token rowBuffer" for reading Tokens as strings and converting them later
std::string description
glabal timer - how long have I taken so far?
virtual int size() override
Return the size of the collection.