Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
ROOT::Experimental::RColumnDescriptorBuilder Class Reference

A helper class for piece-wise construction of an RColumnDescriptor.

Dangling column descriptors can become actual descriptors when added to an RNTupleDescriptorBuilder instance and then linked to their fields.

Definition at line 627 of file RNTupleDescriptor.hxx.

Public Member Functions

 RColumnDescriptorBuilder ()=default
 Make an empty column descriptor builder.
 
RColumnDescriptorBuilderColumnId (DescriptorId_t columnId)
 
RColumnDescriptorBuilderFieldId (DescriptorId_t fieldId)
 
DescriptorId_t GetFieldId () const
 
RColumnDescriptorBuilderIndex (std::uint32_t index)
 
RResult< RColumnDescriptorMakeDescriptor () const
 Attempt to make a column descriptor.
 
RColumnDescriptorBuilderModel (const RColumnModel &model)
 

Private Attributes

RColumnDescriptor fColumn = RColumnDescriptor()
 

#include <ROOT/RNTupleDescriptor.hxx>

Constructor & Destructor Documentation

◆ RColumnDescriptorBuilder()

ROOT::Experimental::RColumnDescriptorBuilder::RColumnDescriptorBuilder ( )
default

Make an empty column descriptor builder.

Member Function Documentation

◆ ColumnId()

RColumnDescriptorBuilder & ROOT::Experimental::RColumnDescriptorBuilder::ColumnId ( DescriptorId_t  columnId)
inline

Definition at line 634 of file RNTupleDescriptor.hxx.

◆ FieldId()

RColumnDescriptorBuilder & ROOT::Experimental::RColumnDescriptorBuilder::FieldId ( DescriptorId_t  fieldId)
inline

Definition at line 642 of file RNTupleDescriptor.hxx.

◆ GetFieldId()

DescriptorId_t ROOT::Experimental::RColumnDescriptorBuilder::GetFieldId ( ) const
inline

Definition at line 650 of file RNTupleDescriptor.hxx.

◆ Index()

RColumnDescriptorBuilder & ROOT::Experimental::RColumnDescriptorBuilder::Index ( std::uint32_t  index)
inline

Definition at line 646 of file RNTupleDescriptor.hxx.

◆ MakeDescriptor()

ROOT::Experimental::RResult< ROOT::Experimental::RColumnDescriptor > ROOT::Experimental::RColumnDescriptorBuilder::MakeDescriptor ( ) const

Attempt to make a column descriptor.

This may fail if the column was not given enough information to make a proper descriptor.

Definition at line 975 of file RNTupleDescriptor.cxx.

◆ Model()

RColumnDescriptorBuilder & ROOT::Experimental::RColumnDescriptorBuilder::Model ( const RColumnModel model)
inline

Definition at line 638 of file RNTupleDescriptor.hxx.

Member Data Documentation

◆ fColumn

RColumnDescriptor ROOT::Experimental::RColumnDescriptorBuilder::fColumn = RColumnDescriptor()
private

Definition at line 629 of file RNTupleDescriptor.hxx.

Libraries for ROOT::Experimental::RColumnDescriptorBuilder:

The documentation for this class was generated from the following files: