![]() |
ATLAS Offline Software
|
#include <Rootcollection/RNTCollectionCursor.h>
Public Member Functions | |
RNTCollectionCursor (const pool::ICollectionDescription &description, const pool::CollectionRowBuffer &collectionRowBuffer, RNTupleReader *reader) | |
virtual bool | next () override |
Advances the cursor to the next row of the query result set. More... | |
virtual const pool::CollectionRowBuffer & | currentRow () const override |
Returns the selected Tokens and Attributes for the current row of the query result set. More... | |
virtual bool | seek (long long int position) override |
Seeks the cursor to a given position in the collection. More... | |
virtual int | size () override |
Return the size of the collection. More... | |
virtual const Token & | eventRef () const override |
Returns the event reference Token for the current row. More... | |
virtual void | close () override |
Cleanup. More... | |
virtual | ~RNTCollectionCursor () |
Static Public Member Functions | |
static const InterfaceID & | interfaceID () |
Protected Attributes | |
const ICollectionDescription & | m_description |
RNTupleReader * | m_RNTReader |
std::unique_ptr< REntry > | m_RNTEntry |
RNtuple row with Field addresses set to collectionRowBuffer attributes. More... | |
pool::CollectionRowBuffer | m_collectionRowBuffer |
Row buffer containing Tokens and Attributes selected by query. More... | |
std::vector< std::pair< Token *, std::string > > | m_tokens |
"Token rowBuffer" for reading Tokens as strings and converting them later More... | |
int | m_idx |
bool | m_dummyRef |
An interface used to navigate the result of a query on a collection stored in RNTuple
Definition at line 38 of file RNTCollectionCursor.h.
pool::RootCollection::RNTCollectionCursor::RNTCollectionCursor | ( | const pool::ICollectionDescription & | description, |
const pool::CollectionRowBuffer & | collectionRowBuffer, | ||
RNTupleReader * | reader | ||
) |
|
virtual |
|
overridevirtual |
Cleanup.
Implements pool::ICollectionCursor.
|
overridevirtual |
Returns the selected Tokens and Attributes for the current row of the query result set.
Implements pool::ICollectionCursor.
Returns the event reference Token for the current row.
Implements pool::ICollectionCursor.
|
inlinestaticinherited |
Definition at line 39 of file ICollectionSize.h.
|
overridevirtual |
Advances the cursor to the next row of the query result set.
Implements pool::ICollectionCursor.
|
overridevirtual |
Seeks the cursor to a given position in the collection.
Implements pool::IPositionSeek.
|
overridevirtual |
Return the size of the collection.
Implements ICollectionSize.
|
protected |
Row buffer containing Tokens and Attributes selected by query.
Definition at line 80 of file RNTCollectionCursor.h.
|
protected |
Definition at line 72 of file RNTCollectionCursor.h.
|
protected |
Definition at line 86 of file RNTCollectionCursor.h.
|
protected |
Definition at line 85 of file RNTCollectionCursor.h.
|
protected |
RNtuple row with Field addresses set to collectionRowBuffer attributes.
Definition at line 77 of file RNTCollectionCursor.h.
|
protected |
Definition at line 74 of file RNTCollectionCursor.h.
|
protected |
"Token rowBuffer" for reading Tokens as strings and converting them later
Definition at line 83 of file RNTCollectionCursor.h.