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 186 of file RField.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/RField.hxx>
|
inlineprivate |
Definition at line 193 of file RField.hxx.
|
default |
|
default |
|
default |
|
inline |
Definition at line 202 of file RField.hxx.
|
inline |
Definition at line 205 of file RField.hxx.
void ROOT::Experimental::RFieldBase::RValue::BindRawPtr | ( | void * | rawPtr | ) |
Definition at line 387 of file RField.cxx.
|
inline |
Replace the current object pointer by a pointer to a new object constructed by the field.
Definition at line 208 of file RField.hxx.
|
inline |
Definition at line 222 of file RField.hxx.
|
inline |
Definition at line 211 of file RField.hxx.
|
inline |
Definition at line 217 of file RField.hxx.
|
inline |
Definition at line 203 of file RField.hxx.
|
inline |
Definition at line 204 of file RField.hxx.
|
friend |
Definition at line 187 of file RField.hxx.
|
private |
The field that created the RValue.
Definition at line 190 of file RField.hxx.
|
private |
Set by Bind() or by RFieldBase::CreateValue(), SplitValue() or BindValue()
Definition at line 191 of file RField.hxx.