An RNTupleView provides read-only access to a single field of the ntuple.
T | The type of the object that will be read by the view; can be void if unknown at compile time. |
The view owns a field and its underlying columns in order to fill an RField::RValue object with data. Data can be accessed by index. For top-level fields, the index refers to the entry number. Fields that are part of nested collections have global index numbers that are derived from their parent indexes.
View can only be created by a reader or by a collection view.
Definition at line 61 of file RNTupleView.hxx.
Public Member Functions | |
RNTupleViewBase (const RNTupleViewBase &other)=delete | |
RNTupleViewBase (RNTupleViewBase &&other)=default | |
~RNTupleViewBase ()=default | |
void | Bind (std::shared_ptr< T > objPtr) |
void | BindRawPtr (T *rawPtr) |
RFieldBase::RBulk | CreateBulk () |
void | EmplaceNew () |
const RFieldBase & | GetField () const |
RNTupleGlobalRange | GetFieldRange () const |
const RFieldBase::RValue & | GetValue () const |
RNTupleViewBase & | operator= (const RNTupleViewBase &other)=delete |
RNTupleViewBase & | operator= (RNTupleViewBase &&other)=default |
Protected Member Functions | |
RNTupleViewBase (std::unique_ptr< RFieldBase > field, RNTupleGlobalRange range) | |
RNTupleViewBase (std::unique_ptr< RFieldBase > field, RNTupleGlobalRange range, std::shared_ptr< T > objPtr) | |
RNTupleViewBase (std::unique_ptr< RFieldBase > field, RNTupleGlobalRange range, T *rawPtr) | |
Static Protected Member Functions | |
static std::unique_ptr< RFieldBase > | CreateField (DescriptorId_t fieldId, Internal::RPageSource &pageSource) |
Protected Attributes | |
std::unique_ptr< RFieldBase > | fField |
RNTupleGlobalRange | fFieldRange |
RFieldBase::RValue | fValue |
#include <ROOT/RNTupleView.hxx>
|
inlineprotected |
Definition at line 84 of file RNTupleView.hxx.
|
inlineprotected |
Definition at line 89 of file RNTupleView.hxx.
|
inlineprotected |
Definition at line 94 of file RNTupleView.hxx.
|
delete |
|
default |
|
default |
|
inline |
Definition at line 118 of file RNTupleView.hxx.
|
inline |
Definition at line 119 of file RNTupleView.hxx.
|
inline |
Definition at line 107 of file RNTupleView.hxx.
|
inlinestaticprotected |
Definition at line 67 of file RNTupleView.hxx.
|
inline |
Definition at line 120 of file RNTupleView.hxx.
|
inline |
Definition at line 106 of file RNTupleView.hxx.
|
inline |
Definition at line 110 of file RNTupleView.hxx.
|
inline |
Definition at line 109 of file RNTupleView.hxx.
|
delete |
|
default |
|
protected |
Definition at line 63 of file RNTupleView.hxx.
|
protected |
Definition at line 64 of file RNTupleView.hxx.
|
protected |
Definition at line 65 of file RNTupleView.hxx.