Logo ROOT  
Reference Guide
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 737 of file RNTupleDescriptor.hxx.

Public Member Functions

 RColumnDescriptorBuilder ()=default
 Make an empty column descriptor builder. More...
 
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. More...
 
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 744 of file RNTupleDescriptor.hxx.

◆ FieldId()

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

Definition at line 752 of file RNTupleDescriptor.hxx.

◆ GetFieldId()

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

Definition at line 760 of file RNTupleDescriptor.hxx.

◆ Index()

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

Definition at line 756 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 517 of file RNTupleDescriptor.cxx.

◆ Model()

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

Definition at line 748 of file RNTupleDescriptor.hxx.

Member Data Documentation

◆ fColumn

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

Definition at line 739 of file RNTupleDescriptor.hxx.

Libraries for ROOT::Experimental::RColumnDescriptorBuilder:
[legend]

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