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. An RValue object can be owning or non-owning. Only RField::GenerateValue creates owning RValues. Owning RValues destroy and free the object upon destruction.
Definition at line 140 of file RField.hxx.
Public Member Functions | |
RValue (const RValue &)=delete | |
RValue (RValue &&other) | |
~RValue () | |
std::size_t | Append () |
template<typename T > | |
T * | Get () const |
RFieldBase * | GetField () const |
RValue | GetNonOwningCopy () |
void * | GetRawPtr () const |
RValue & | operator= (const RValue &)=delete |
RValue & | operator= (RValue &&other) |
void | Read (const RClusterIndex &clusterIndex) |
void | Read (NTupleSize_t globalIndex) |
template<typename T > | |
void * | Release () |
Private Member Functions | |
RValue (RFieldBase *field, void *objPtr, bool isOwning) | |
void | DestroyIfOwning () |
Private Attributes | |
RFieldBase * | fField = nullptr |
The field that created the RValue. | |
bool | fIsOwning = false |
If true, fObjPtr is destroyed in the destructor. | |
void * | fObjPtr = nullptr |
Created by RFieldBase::GenerateValue() or a non-owning pointer from SplitValue() or BindValue() | |
Friends | |
class | RFieldBase |
#include <ROOT/RField.hxx>
|
inlineprivate |
Definition at line 149 of file RField.hxx.
|
delete |
|
inline |
Definition at line 160 of file RField.hxx.
|
inline |
Definition at line 170 of file RField.hxx.
|
inline |
Definition at line 183 of file RField.hxx.
|
inlineprivate |
Definition at line 151 of file RField.hxx.
|
inline |
Definition at line 188 of file RField.hxx.
|
inline |
Definition at line 193 of file RField.hxx.
|
inline |
Definition at line 172 of file RField.hxx.
|
inline |
Definition at line 192 of file RField.hxx.
Definition at line 161 of file RField.hxx.
|
inline |
Definition at line 185 of file RField.hxx.
|
inline |
Definition at line 184 of file RField.hxx.
|
inline |
Definition at line 175 of file RField.hxx.
|
friend |
Definition at line 141 of file RField.hxx.
|
private |
The field that created the RValue.
Definition at line 144 of file RField.hxx.
|
private |
If true, fObjPtr is destroyed in the destructor.
Definition at line 147 of file RField.hxx.
|
private |
Created by RFieldBase::GenerateValue() or a non-owning pointer from SplitValue() or BindValue()
Definition at line 146 of file RField.hxx.