The REntry is a collection of values in an ntuple corresponding to a complete row in the data set.
The entry provides a memory-managed binder for a set of values. Through shared pointers, the memory locations that are associated to values are managed.
Definition at line 42 of file REntry.hxx.
Public Types | |
using | Iterator_t = decltype(fValues)::iterator |
Public Member Functions | |
REntry (const REntry &other)=delete | |
REntry (REntry &&other)=default | |
~REntry ()=default | |
Iterator_t | begin () |
void | CaptureValueUnsafe (std::string_view fieldName, void *where) |
Iterator_t | end () |
template<typename T > | |
T * | Get (std::string_view fieldName) const |
std::uint64_t | GetModelId () const |
void * | GetRawPtr (std::string_view fieldName) const |
REntry & | operator= (const REntry &other)=delete |
REntry & | operator= (REntry &&other)=default |
Private Member Functions | |
REntry ()=default | |
REntry (std::uint64_t modelId) | |
void | AddValue (Detail::RFieldBase::RValue &&value) |
template<typename T , typename... ArgsT> | |
std::shared_ptr< T > | AddValue (RField< T > *field, ArgsT &&... args) |
While building the entry, adds a new value to the list and return the value's shared pointer. | |
Private Attributes | |
std::uint64_t | fModelId = 0 |
The entry must be linked to a specific model (or one if its clones), identified by a model ID. | |
std::vector< std::shared_ptr< void > > | fValuePtrs |
The objects involed in serialization and deserialization might be used long after the entry is gone: hence the shared pointer. | |
std::vector< Detail::RFieldBase::RValue > | fValues |
Corresponds to the top-level fields of the linked model. | |
Friends | |
class | RNTupleModel |
#include <ROOT/REntry.hxx>
using ROOT::Experimental::REntry::Iterator_t = decltype(fValues)::iterator |
Definition at line 70 of file REntry.hxx.
|
privatedefault |
|
inlineexplicitprivate |
Definition at line 56 of file REntry.hxx.
|
delete |
|
default |
|
default |
|
private |
Definition at line 21 of file REntry.cxx.
|
inlineprivate |
While building the entry, adds a new value to the list and return the value's shared pointer.
Definition at line 62 of file REntry.hxx.
|
inline |
Definition at line 104 of file REntry.hxx.
void ROOT::Experimental::REntry::CaptureValueUnsafe | ( | std::string_view | fieldName, |
void * | where | ||
) |
Definition at line 26 of file REntry.cxx.
|
inline |
Definition at line 105 of file REntry.hxx.
|
inline |
Definition at line 81 of file REntry.hxx.
|
inline |
Definition at line 102 of file REntry.hxx.
|
inline |
Definition at line 92 of file REntry.hxx.
|
friend |
Definition at line 43 of file REntry.hxx.
|
private |
The entry must be linked to a specific model (or one if its clones), identified by a model ID.
Definition at line 46 of file REntry.hxx.
|
private |
The objects involed in serialization and deserialization might be used long after the entry is gone: hence the shared pointer.
Definition at line 51 of file REntry.hxx.
|
private |
Corresponds to the top-level fields of the linked model.
Definition at line 48 of file REntry.hxx.