![]() |
ATLAS Offline Software
|
#include <RootCollectionCursor.h>
Public Member Functions | |
RootCollectionCursor (const pool::ICollectionDescription &description, const pool::CollectionRowBuffer &collectionRowBuffer, TTree *tree, const TEventList *evl) | |
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 std::size_t | size () override |
Return the size of the collection. More... | |
virtual bool | seek (std::size_t position) override |
Seeks the cursor to a given position in 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 | ~RootCollectionCursor () |
Protected Types | |
typedef std::vector< std::pair< TBranch *, std::string * > > | AttrBranchVector_t |
typedef std::vector< std::pair< TBranch *, Token * > > | TokenBranchVector_t |
Protected Attributes | |
const ICollectionDescription & | m_description |
pool::CollectionRowBuffer | m_collectionRowBuffer |
Row buffer containing Tokens and Attributes selected by query. More... | |
const TEventList * | m_eventList |
char | m_charBuffer [c_maxLengthOfStrings] |
AttrBranchVector_t | m_attrBranches |
TokenBranchVector_t | m_tokenBranches |
std::size_t | m_idx |
std::size_t | m_entries |
bool | m_dummyRef |
Static Protected Attributes | |
static const unsigned int | c_maxLengthOfStrings = 5000 |
Definition at line 26 of file RootCollectionCursor.h.
|
protected |
Definition at line 70 of file RootCollectionCursor.h.
|
protected |
Definition at line 71 of file RootCollectionCursor.h.
pool::RootCollection::RootCollectionCursor::RootCollectionCursor | ( | const pool::ICollectionDescription & | description, |
const pool::CollectionRowBuffer & | collectionRowBuffer, | ||
TTree * | tree, | ||
const TEventList * | evl | ||
) |
|
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.
|
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::ICollectionCursor.
|
overridevirtual |
Return the size of the collection.
Implements pool::ICollectionCursor.
|
staticprotected |
Definition at line 59 of file RootCollectionCursor.h.
|
protected |
Definition at line 73 of file RootCollectionCursor.h.
|
protected |
Definition at line 68 of file RootCollectionCursor.h.
|
protected |
Row buffer containing Tokens and Attributes selected by query.
Definition at line 64 of file RootCollectionCursor.h.
|
protected |
Definition at line 61 of file RootCollectionCursor.h.
|
protected |
Definition at line 78 of file RootCollectionCursor.h.
|
protected |
Definition at line 77 of file RootCollectionCursor.h.
|
protected |
Definition at line 66 of file RootCollectionCursor.h.
|
protected |
Definition at line 76 of file RootCollectionCursor.h.
|
protected |
Definition at line 74 of file RootCollectionCursor.h.