![]() |
ATLAS Offline Software
|
Reader object for Collections. More...
#include <CollectionCursor.h>
Public Member Functions | |
| CollectionCursor (const CollectionDescription &description, const CollectionRowBuffer &collectionRowBuffer, ContainerMap &attrContainers) | |
| virtual bool | next () override |
| Advances the cursor to the next row of the result set. | |
| virtual const CollectionRowBuffer & | currentRow () const override |
| Returns the selected Tokens and Attributes for the current row of the result set. | |
| 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 Token & | eventRef () const override |
| Returns the event reference Token for the current row. | |
| virtual void | close () override |
| Cleanup. | |
| virtual | ~CollectionCursor () |
Protected Attributes | |
| const CollectionDescription & | m_description |
| CollectionRowBuffer | m_collectionRowBuffer |
| Row buffer containing the Token and Attributes. | |
| ContainerMap & | m_attrContainers |
| DbContainer & | m_tokenContainer |
| Container for the event reference. | |
| std::string | m_tokenStr |
| Temporary storage for Event Reference in string format as it is in RNTuple. | |
| std::size_t | m_idx |
Reader object for Collections.
Definition at line 28 of file CollectionCursor.h.
| pool::CollectionCursor::CollectionCursor | ( | const CollectionDescription & | description, |
| const CollectionRowBuffer & | collectionRowBuffer, | ||
| ContainerMap & | attrContainers ) |
|
virtual |
|
overridevirtual |
Cleanup.
Implements pool::ICollectionCursor.
|
overridevirtual |
Returns the selected Tokens and Attributes for the current row of the 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 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.
|
protected |
Definition at line 63 of file CollectionCursor.h.
|
protected |
Row buffer containing the Token and Attributes.
Definition at line 61 of file CollectionCursor.h.
|
protected |
Definition at line 58 of file CollectionCursor.h.
|
protected |
Definition at line 71 of file CollectionCursor.h.
|
protected |
Container for the event reference.
Definition at line 66 of file CollectionCursor.h.
|
protected |
Temporary storage for Event Reference in string format as it is in RNTuple.
Definition at line 69 of file CollectionCursor.h.