30namespace Experimental {
48 std::vector<Detail::RFieldBase::RValue>
fValues;
61 template<
typename T,
typename... ArgsT>
63 auto ptr = std::make_shared<T>(std::forward<ArgsT>(args)...);
81 T *
Get(std::string_view fieldName)
const
84 if (
v.GetField()->GetName() == fieldName) {
95 if (
v.GetField()->GetName() == fieldName) {
#define R__FAIL(msg)
Short-hand to return an RResult<T> in an error state; the RError is implicitly converted into RResult...
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void value
Points to an object with RNTuple I/O support and keeps a pointer to the corresponding field.
RValue BindValue(void *where)
Creates a value from a memory location with an already constructed object.
The REntry is a collection of values in an ntuple corresponding to a complete row in the data set.
void AddValue(Detail::RFieldBase::RValue &&value)
std::uint64_t fModelId
The entry must be linked to a specific model (or one if its clones), identified by a model ID.
REntry & operator=(REntry &&other)=default
REntry & operator=(const REntry &other)=delete
T * Get(std::string_view fieldName) const
REntry(std::uint64_t modelId)
REntry(REntry &&other)=default
std::vector< std::shared_ptr< void > > fValuePtrs
The objects involed in serialization and deserialization might be used long after the entry is gone: ...
std::uint64_t GetModelId() const
std::vector< Detail::RFieldBase::RValue > fValues
Corresponds to the top-level fields of the linked model.
void CaptureValueUnsafe(std::string_view fieldName, void *where)
void * GetRawPtr(std::string_view fieldName) const
decltype(fValues)::iterator Iterator_t
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.
REntry(const REntry &other)=delete
Base class for all ROOT issued exceptions.
Classes with dictionaries that can be inspected by TClass.
The RNTupleModel encapulates the schema of an ntuple.
This file contains a specialised ROOT message handler to test for diagnostic in unit tests.