![]() |
ATLAS Offline Software
|
Reader object for Collections. More...
#include <CollectionCursor.h>
Public Member Functions | |
| CollectionCursor (const CollectionRowBuffer &collectionRowBuffer, ContainerMap &attrContainers) | |
| bool | next () |
| Advances the cursor to the next row of the result set. | |
| const CollectionRowBuffer & | currentRow () const |
| Returns the selected Tokens and Attributes for the current row of the result set. | |
| std::size_t | size () |
| Return the size of the collection. | |
| bool | seek (std::size_t position) |
| Seeks the cursor to a given position in the collection. | |
| const Token & | eventRef () const |
| Returns the event reference Token for the current row. | |
Private Attributes | |
| 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 24 of file CollectionCursor.h.
| CollectionCursor::CollectionCursor | ( | const CollectionRowBuffer & | collectionRowBuffer, |
| ContainerMap & | attrContainers ) |
Definition at line 13 of file CollectionCursor.cxx.
| const CollectionRowBuffer & CollectionCursor::currentRow | ( | ) | const |
Returns the selected Tokens and Attributes for the current row of the result set.
Definition at line 60 of file CollectionCursor.cxx.
Returns the event reference Token for the current row.
Definition at line 82 of file CollectionCursor.cxx.
| bool CollectionCursor::next | ( | ) |
Advances the cursor to the next row of the result set.
Definition at line 25 of file CollectionCursor.cxx.
| bool CollectionCursor::seek | ( | std::size_t | position | ) |
Seeks the cursor to a given position in the collection.
Definition at line 72 of file CollectionCursor.cxx.
| std::size_t CollectionCursor::size | ( | ) |
Return the size of the collection.
Definition at line 66 of file CollectionCursor.cxx.
|
private |
Definition at line 51 of file CollectionCursor.h.
|
private |
Row buffer containing the Token and Attributes.
Definition at line 49 of file CollectionCursor.h.
|
private |
Definition at line 59 of file CollectionCursor.h.
|
private |
Container for the event reference.
Definition at line 54 of file CollectionCursor.h.
|
private |
Temporary storage for Event Reference in string format as it is in RNTuple.
Definition at line 57 of file CollectionCursor.h.