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 630 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 637 of file RFieldBase.hxx.
|
default |
|
default |
|
default |
|
inline |
Definition at line 646 of file RFieldBase.hxx.
|
inline |
Definition at line 649 of file RFieldBase.hxx.
void ROOT::Experimental::RFieldBase::RValue::BindRawPtr | ( | void * | rawPtr | ) |
Definition at line 119 of file RFieldBase.cxx.
|
inline |
Replace the current object pointer by a pointer to a new object constructed by the field.
Definition at line 652 of file RFieldBase.hxx.
|
inline |
Definition at line 666 of file RFieldBase.hxx.
|
inline |
Definition at line 655 of file RFieldBase.hxx.
|
inline |
Definition at line 661 of file RFieldBase.hxx.
|
inline |
Definition at line 647 of file RFieldBase.hxx.
|
inline |
Definition at line 648 of file RFieldBase.hxx.
|
friend |
Definition at line 631 of file RFieldBase.hxx.
|
private |
The field that created the RValue.
Definition at line 634 of file RFieldBase.hxx.
|
private |
Set by Bind() or by RFieldBase::CreateValue(), SplitValue() or BindValue()
Definition at line 635 of file RFieldBase.hxx.