Points to an object with RNTuple I/O support and keeps a pointer to the corresponding field.
Only fields can create RValue objects through generation, binding or splitting.
Definition at line 629 of file RFieldBase.hxx.
Public Member Functions | |
RValue (const RValue &)=default | |
RValue (RValue &&other)=default | |
~RValue ()=default | |
std::size_t | Append () |
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 &)=default |
RValue & | operator= (RValue &&other)=default |
void | Read (NTupleSize_t globalIndex) |
void | Read (RClusterIndex clusterIndex) |
Private Member Functions | |
RValue (RFieldBase *field, std::shared_ptr< void > objPtr) | |
Private Attributes | |
RFieldBase * | fField = nullptr |
The field that created the RValue. | |
std::shared_ptr< void > | fObjPtr |
Set by Bind() or by RFieldBase::CreateValue(), SplitValue() or BindValue() | |
Friends | |
class | RFieldBase |
#include <ROOT/RFieldBase.hxx>
|
inlineprivate |
Definition at line 636 of file RFieldBase.hxx.
|
default |
|
default |
|
default |
|
inline |
Definition at line 645 of file RFieldBase.hxx.
|
inline |
Definition at line 648 of file RFieldBase.hxx.
void ROOT::Experimental::RFieldBase::RValue::BindRawPtr | ( | void * | rawPtr | ) |
Definition at line 449 of file RField.cxx.
|
inline |
Replace the current object pointer by a pointer to a new object constructed by the field.
Definition at line 651 of file RFieldBase.hxx.
|
inline |
Definition at line 665 of file RFieldBase.hxx.
|
inline |
Definition at line 654 of file RFieldBase.hxx.
|
inline |
Definition at line 660 of file RFieldBase.hxx.
|
inline |
Definition at line 646 of file RFieldBase.hxx.
|
inline |
Definition at line 647 of file RFieldBase.hxx.
|
friend |
Definition at line 630 of file RFieldBase.hxx.
|
private |
The field that created the RValue.
Definition at line 633 of file RFieldBase.hxx.
|
private |
Set by Bind() or by RFieldBase::CreateValue(), SplitValue() or BindValue()
Definition at line 634 of file RFieldBase.hxx.