A helper class for piece-wise construction of an RFieldDescriptor.
Dangling field descriptors describe a single field in isolation. They are missing the necessary relationship information (parent field, any child fields) required to describe a real NTuple field.
Dangling field descriptors can only become actual descriptors when added to an RNTupleDescriptorBuilder instance and then linked to other fields.
Definition at line 1120 of file RNTupleDescriptor.hxx.
Static Public Member Functions | |
static RFieldDescriptorBuilder | FromField (const RFieldBase &field) |
Make a new RFieldDescriptorBuilder based off a live NTuple field. | |
Private Attributes | |
RFieldDescriptor | fField = RFieldDescriptor() |
#include <ROOT/RNTupleDescriptor.hxx>
|
default |
Make an empty dangling field descriptor.
|
explicit |
Make a new RFieldDescriptorBuilder based off an existing descriptor.
Relationship information is lost during the conversion to a dangling descriptor:
These properties must be set using RNTupleDescriptorBuilder::AddFieldLink().
Definition at line 856 of file RNTupleDescriptor.cxx.
|
inline |
Definition at line 1169 of file RNTupleDescriptor.hxx.
|
inline |
Definition at line 1139 of file RNTupleDescriptor.hxx.
|
inline |
Definition at line 1164 of file RNTupleDescriptor.hxx.
|
inline |
Definition at line 1144 of file RNTupleDescriptor.hxx.
|
static |
Make a new RFieldDescriptorBuilder based off a live NTuple field.
Definition at line 865 of file RNTupleDescriptor.cxx.
|
inline |
Definition at line 1199 of file RNTupleDescriptor.hxx.
ROOT::Experimental::RResult< ROOT::Experimental::RFieldDescriptor > ROOT::Experimental::Internal::RFieldDescriptorBuilder::MakeDescriptor | ( | ) | const |
Attempt to make a field descriptor.
This may fail if the dangling field was not given enough information to make a proper descriptor.
Definition at line 882 of file RNTupleDescriptor.cxx.
|
inline |
Definition at line 1184 of file RNTupleDescriptor.hxx.
|
inline |
Definition at line 1154 of file RNTupleDescriptor.hxx.
|
inline |
Definition at line 1159 of file RNTupleDescriptor.hxx.
|
inline |
Definition at line 1189 of file RNTupleDescriptor.hxx.
|
inline |
Definition at line 1179 of file RNTupleDescriptor.hxx.
|
inline |
Definition at line 1194 of file RNTupleDescriptor.hxx.
|
inline |
Definition at line 1174 of file RNTupleDescriptor.hxx.
|
inline |
Definition at line 1149 of file RNTupleDescriptor.hxx.
|
private |
Definition at line 1122 of file RNTupleDescriptor.hxx.