An RNTupleView for a known type.
An RNTupleView that can be used when the type is unknown at compile time.
See RNTupleViewBase.
Definition at line 166 of file RNTupleView.hxx.
Public Member Functions | |
| RNTupleView (const RNTupleView &other)=delete | |
| RNTupleView (RNTupleView &&other)=default | |
| ~RNTupleView ()=default | |
| void | Bind (std::shared_ptr< T > objPtr) |
| void | BindRawPtr (T *rawPtr) |
| ROOT::RFieldBase::RBulkValues | CreateBulk () |
| void | EmplaceNew () |
| const ROOT::RFieldBase & | GetField () const |
| ROOT::RNTupleGlobalRange | GetFieldRange () const |
| Returns the global field range of this view. | |
| const ROOT::RFieldBase::RValue & | GetValue () const |
| const T & | operator() (RNTupleLocalIndex localIndex) |
| Reads the value of this view for the entry with the provided localIndex. | |
| const T & | operator() (ROOT::NTupleSize_t globalIndex) |
| Reads the value of this view for the entry with the provided globalIndex. | |
| RNTupleView & | operator= (const RNTupleView &other)=delete |
| RNTupleView & | operator= (RNTupleView &&other)=default |
Protected Member Functions | |
| RNTupleView (std::unique_ptr< ROOT::RFieldBase > field, ROOT::RNTupleGlobalRange range) | |
| RNTupleView (std::unique_ptr< ROOT::RFieldBase > field, ROOT::RNTupleGlobalRange range, std::shared_ptr< T > objPtr) | |
| RNTupleView (std::unique_ptr< ROOT::RFieldBase > field, ROOT::RNTupleGlobalRange range, T *rawPtr) | |
| const T & | GetValueRef () const |
Static Protected Member Functions | |
| static std::unique_ptr< ROOT::RFieldBase > | CreateField (ROOT::DescriptorId_t fieldId, Internal::RPageSource &pageSource, std::string_view typeName="") |
Protected Attributes | |
| std::unique_ptr< ROOT::RFieldBase > | fField |
| ROOT::RNTupleGlobalRange | fFieldRange |
| ROOT::RFieldBase::RValue | fValue |
Friends | |
| class | RNTupleCollectionView |
| class | ROOT::RNTupleReader |
#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 |
|
inlineinherited |
Definition at line 153 of file RNTupleView.hxx.
|
inlineinherited |
Definition at line 154 of file RNTupleView.hxx.
|
inlineinherited |
Definition at line 137 of file RNTupleView.hxx.
|
inlinestaticprotectedinherited |
Definition at line 89 of file RNTupleView.hxx.
|
inlineinherited |
Definition at line 155 of file RNTupleView.hxx.
|
inlineinherited |
Definition at line 136 of file RNTupleView.hxx.
|
inlineinherited |
Returns the global field range of this view.
This may differ from the RNTuple's entry range in case of subfields and can be used to iterate over all the concatenated elements of the subfield without caring which entry they belong to. Throws an RException if the underlying field of this view is empty, i.e. if it's a class or record field with no associated columns.
Definition at line 145 of file RNTupleView.hxx.
|
inlineinherited |
Definition at line 139 of file RNTupleView.hxx.
|
inlineprotected |
Definition at line 186 of file RNTupleView.hxx.
|
inline |
Reads the value of this view for the entry with the provided localIndex.
See RNTupleLocalIndex for more details.
Definition at line 209 of file RNTupleView.hxx.
|
inline |
Reads the value of this view for the entry with the provided globalIndex.
Definition at line 201 of file RNTupleView.hxx.
|
delete |
|
default |
|
friend |
Definition at line 168 of file RNTupleView.hxx.
|
friend |
Definition at line 167 of file RNTupleView.hxx.
|
protectedinherited |
Definition at line 84 of file RNTupleView.hxx.
|
protectedinherited |
Definition at line 85 of file RNTupleView.hxx.
|
protectedinherited |
Definition at line 86 of file RNTupleView.hxx.