31namespace Experimental {
68 template<
typename T,
typename... ArgsT>
70 auto ptr = std::make_shared<T>(std::forward<ArgsT>(args)...);
90 if (
v.GetField()->GetName() == fieldName)
97 T *
Get(std::string_view fieldName)
const
100 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
Detail::RFieldValue CaptureValue(void *where) final
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.
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
Detail::RFieldValue GetValue(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::vector< std::size_t > fManagedValues
Points into fValues and indicates the values that are owned by the entry and need to be destructed.
std::uint64_t GetModelId() const
void AddValue(const Detail::RFieldValue &value)
Adds a value whose storage is managed by the entry.
void CaptureValueUnsafe(std::string_view fieldName, void *where)
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.
void CaptureValue(const Detail::RFieldValue &value)
Adds a value whose storage is not managed by the entry.
REntry(const REntry &other)=delete
std::vector< Detail::RFieldValue > fValues
Corresponds to the top-level fields of the linked model.
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.