Points to an object with RNTuple I/O support and keeps a pointer to the corresponding field.
Fields can create RValue objects through RFieldBase::CreateValue(), RFieldBase::BindValue()) or RFieldBase::SplitValue().
Definition at line 755 of file RFieldBase.hxx.
Public Member Functions | |
| RValue (const RValue &other) | |
| RValue (RValue &&other) | |
| ~RValue ()=default | |
| void | Bind (std::shared_ptr< void > objPtr) |
| void | BindRawPtr (void *rawPtr) |
| void | EmplaceNew () |
| Replace the current object pointer by a pointer to a new object constructed by the field. | |
| const RFieldBase & | GetField () const |
| template<typename T> | |
| std::shared_ptr< T > | GetPtr () const |
| template<typename T> | |
| const T & | GetRef () const |
| RValue & | operator= (const RValue &other) |
| RValue & | operator= (RValue &&other) |
| void | Read (RNTupleLocalIndex localIndex) |
| void | Read (ROOT::NTupleSize_t globalIndex) |
Private Member Functions | |
| RValue (RFieldBase *field, std::shared_ptr< void > objPtr) | |
| std::size_t | Append () |
| template<typename T> | |
| void | EnsureMatchingType () const |
Private Attributes | |
| RFieldBase * | fField = nullptr |
| The field that created the RValue. | |
| std::shared_ptr< void > | fObjPtr |
| Set by Bind() or by RFieldBase::CreateValue(), RFieldBase::SplitValue() or RFieldBase::BindValue(). | |
| std::atomic< const std::type_info * > | fTypeInfo = nullptr |
Friends | |
| class | RFieldBase |
| struct | ROOT::Experimental::Internal::RNTupleAttrEntry |
| class | ROOT::REntry |
#include <ROOT/RFieldBase.hxx>
|
inlineprivate |
Definition at line 766 of file RFieldBase.hxx.
|
inline |
Definition at line 769 of file RFieldBase.hxx.
|
inline |
Definition at line 778 of file RFieldBase.hxx.
|
default |
|
inlineprivate |
Definition at line 811 of file RFieldBase.hxx.
|
inline |
Definition at line 817 of file RFieldBase.hxx.
| void ROOT::RFieldBase::RValue::BindRawPtr | ( | void * | rawPtr | ) |
Definition at line 115 of file RFieldBase.cxx.
|
inline |
Replace the current object pointer by a pointer to a new object constructed by the field.
Definition at line 820 of file RFieldBase.hxx.
|
inlineprivate |
Definition at line 791 of file RFieldBase.hxx.
|
inline |
Definition at line 836 of file RFieldBase.hxx.
|
inline |
Definition at line 823 of file RFieldBase.hxx.
|
inline |
Definition at line 830 of file RFieldBase.hxx.
Definition at line 770 of file RFieldBase.hxx.
Definition at line 779 of file RFieldBase.hxx.
|
inline |
Definition at line 815 of file RFieldBase.hxx.
|
inline |
Definition at line 814 of file RFieldBase.hxx.
|
friend |
Definition at line 756 of file RFieldBase.hxx.
|
friend |
Definition at line 758 of file RFieldBase.hxx.
|
friend |
Definition at line 757 of file RFieldBase.hxx.
|
private |
The field that created the RValue.
Definition at line 761 of file RFieldBase.hxx.
|
private |
Set by Bind() or by RFieldBase::CreateValue(), RFieldBase::SplitValue() or RFieldBase::BindValue().
Definition at line 763 of file RFieldBase.hxx.
|
mutableprivate |
Definition at line 764 of file RFieldBase.hxx.