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 144 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) |
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 167 of file RNTupleView.hxx.
|
inlineprotected |
Definition at line 172 of file RNTupleView.hxx.
|
inlineprotected |
Definition at line 177 of file RNTupleView.hxx.
|
delete |
|
default |
|
default |
|
inline |
Definition at line 193 of file RNTupleView.hxx.
|
inline |
Definition at line 194 of file RNTupleView.hxx.
|
inlinestaticprotected |
Definition at line 150 of file RNTupleView.hxx.
|
inline |
Definition at line 195 of file RNTupleView.hxx.
|
inline |
Definition at line 189 of file RNTupleView.hxx.
|
inline |
Definition at line 191 of file RNTupleView.hxx.
|
inline |
Definition at line 190 of file RNTupleView.hxx.
|
delete |
|
default |
|
protected |
Definition at line 146 of file RNTupleView.hxx.
|
protected |
Definition at line 147 of file RNTupleView.hxx.
|
protected |
Definition at line 148 of file RNTupleView.hxx.