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 148 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 171 of file RNTupleView.hxx.
|
inlineprotected |
Definition at line 176 of file RNTupleView.hxx.
|
inlineprotected |
Definition at line 181 of file RNTupleView.hxx.
|
delete |
|
default |
|
default |
|
inline |
Definition at line 205 of file RNTupleView.hxx.
|
inline |
Definition at line 206 of file RNTupleView.hxx.
|
inline |
Definition at line 194 of file RNTupleView.hxx.
|
inlinestaticprotected |
Definition at line 154 of file RNTupleView.hxx.
|
inline |
Definition at line 207 of file RNTupleView.hxx.
|
inline |
Definition at line 193 of file RNTupleView.hxx.
|
inline |
Definition at line 197 of file RNTupleView.hxx.
|
inline |
Definition at line 196 of file RNTupleView.hxx.
|
delete |
|
default |
|
protected |
Definition at line 150 of file RNTupleView.hxx.
|
protected |
Definition at line 151 of file RNTupleView.hxx.
|
protected |
Definition at line 152 of file RNTupleView.hxx.