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 RNTuple field.
Dangling field descriptors can only become actual descriptors when added to an RNTupleDescriptorBuilder instance and then linked to other fields.
Definition at line 1275 of file RNTupleDescriptor.hxx.
Static Public Member Functions | |
static RFieldDescriptorBuilder | FromField (const ROOT::RFieldBase &field) |
Make a new RFieldDescriptorBuilder based off a live RNTuple 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 1025 of file RNTupleDescriptor.cxx.
|
inline |
Definition at line 1324 of file RNTupleDescriptor.hxx.
|
inline |
Definition at line 1294 of file RNTupleDescriptor.hxx.
|
inline |
Definition at line 1319 of file RNTupleDescriptor.hxx.
|
inline |
Definition at line 1299 of file RNTupleDescriptor.hxx.
|
static |
Make a new RFieldDescriptorBuilder based off a live RNTuple field.
Definition at line 1034 of file RNTupleDescriptor.cxx.
|
inline |
Definition at line 1354 of file RNTupleDescriptor.hxx.
ROOT::RResult< ROOT::RFieldDescriptor > ROOT::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 1050 of file RNTupleDescriptor.cxx.
|
inline |
Definition at line 1339 of file RNTupleDescriptor.hxx.
|
inline |
Definition at line 1309 of file RNTupleDescriptor.hxx.
|
inline |
Definition at line 1314 of file RNTupleDescriptor.hxx.
|
inline |
Definition at line 1344 of file RNTupleDescriptor.hxx.
|
inline |
Definition at line 1334 of file RNTupleDescriptor.hxx.
|
inline |
Definition at line 1349 of file RNTupleDescriptor.hxx.
|
inline |
Definition at line 1329 of file RNTupleDescriptor.hxx.
|
inline |
Definition at line 1304 of file RNTupleDescriptor.hxx.
|
private |
Definition at line 1277 of file RNTupleDescriptor.hxx.