Meta-data stored for every field of an ntuple.
Definition at line 58 of file RNTupleDescriptor.hxx.
Public Member Functions | |
RFieldDescriptor ()=default | |
RFieldDescriptor (const RFieldDescriptor &other)=delete | |
RFieldDescriptor (RFieldDescriptor &&other)=default | |
RFieldDescriptor | Clone () const |
Get a copy of the descriptor. More... | |
std::unique_ptr< Detail::RFieldBase > | CreateField (const RNTupleDescriptor &ntplDesc) const |
In general, we create a field simply from the C++ type name. More... | |
std::string | GetFieldDescription () const |
std::string | GetFieldName () const |
std::uint32_t | GetFieldVersion () const |
DescriptorId_t | GetId () const |
const std::vector< DescriptorId_t > & | GetLinkIds () const |
std::uint64_t | GetNRepetitions () const |
DescriptorId_t | GetParentId () const |
ENTupleStructure | GetStructure () const |
std::string | GetTypeName () const |
std::uint32_t | GetTypeVersion () const |
RFieldDescriptor & | operator= (const RFieldDescriptor &other)=delete |
RFieldDescriptor & | operator= (RFieldDescriptor &&other)=default |
bool | operator== (const RFieldDescriptor &other) const |
Private Attributes | |
std::string | fFieldDescription |
Free text set by the user. More... | |
DescriptorId_t | fFieldId = kInvalidDescriptorId |
std::string | fFieldName |
The leaf name, not including parent fields. More... | |
std::uint32_t | fFieldVersion = 0 |
The version of the C++-type-to-column translation mechanics. More... | |
std::vector< DescriptorId_t > | fLinkIds |
The pointers in the other direction from parent to children. More... | |
std::uint64_t | fNRepetitions = 0 |
The number of elements per entry for fixed-size arrays. More... | |
DescriptorId_t | fParentId = kInvalidDescriptorId |
Establishes sub field relationships, such as classes and collections. More... | |
ENTupleStructure | fStructure = ENTupleStructure::kInvalid |
The structural information carried by this field in the data model tree. More... | |
std::string | fTypeName |
The C++ type that was used when writing the field. More... | |
std::uint32_t | fTypeVersion = 0 |
The version of the C++ type itself. More... | |
Friends | |
class | RFieldDescriptorBuilder |
class | RNTupleDescriptorBuilder |
#include <ROOT/RNTupleDescriptor.hxx>
|
default |
|
delete |
|
default |
ROOT::Experimental::RFieldDescriptor ROOT::Experimental::RFieldDescriptor::Clone | ( | ) | const |
Get a copy of the descriptor.
Definition at line 49 of file RNTupleDescriptor.cxx.
std::unique_ptr< ROOT::Experimental::Detail::RFieldBase > ROOT::Experimental::RFieldDescriptor::CreateField | ( | const RNTupleDescriptor & | ntplDesc | ) | const |
In general, we create a field simply from the C++ type name.
For untyped fields, however, we potentially need access to sub fields, which is provided by the ntuple descriptor argument.
Definition at line 66 of file RNTupleDescriptor.cxx.
|
inline |
Definition at line 102 of file RNTupleDescriptor.hxx.
|
inline |
Definition at line 101 of file RNTupleDescriptor.hxx.
|
inline |
Definition at line 99 of file RNTupleDescriptor.hxx.
|
inline |
Definition at line 98 of file RNTupleDescriptor.hxx.
|
inline |
Definition at line 107 of file RNTupleDescriptor.hxx.
|
inline |
Definition at line 104 of file RNTupleDescriptor.hxx.
|
inline |
Definition at line 106 of file RNTupleDescriptor.hxx.
|
inline |
Definition at line 105 of file RNTupleDescriptor.hxx.
|
inline |
Definition at line 103 of file RNTupleDescriptor.hxx.
|
inline |
Definition at line 100 of file RNTupleDescriptor.hxx.
|
delete |
|
default |
bool ROOT::Experimental::RFieldDescriptor::operator== | ( | const RFieldDescriptor & | other | ) | const |
Definition at line 34 of file RNTupleDescriptor.cxx.
|
friend |
Definition at line 60 of file RNTupleDescriptor.hxx.
|
friend |
Definition at line 59 of file RNTupleDescriptor.hxx.
|
private |
Free text set by the user.
Definition at line 71 of file RNTupleDescriptor.hxx.
|
private |
Definition at line 63 of file RNTupleDescriptor.hxx.
|
private |
The leaf name, not including parent fields.
Definition at line 69 of file RNTupleDescriptor.hxx.
|
private |
The version of the C++-type-to-column translation mechanics.
Definition at line 65 of file RNTupleDescriptor.hxx.
|
private |
The pointers in the other direction from parent to children.
They are serialized, too, to keep the order of sub fields.
Definition at line 82 of file RNTupleDescriptor.hxx.
|
private |
The number of elements per entry for fixed-size arrays.
Definition at line 75 of file RNTupleDescriptor.hxx.
|
private |
Establishes sub field relationships, such as classes and collections.
Definition at line 79 of file RNTupleDescriptor.hxx.
|
private |
The structural information carried by this field in the data model tree.
Definition at line 77 of file RNTupleDescriptor.hxx.
|
private |
The C++ type that was used when writing the field.
Definition at line 73 of file RNTupleDescriptor.hxx.
|
private |
The version of the C++ type itself.
Definition at line 67 of file RNTupleDescriptor.hxx.