Logo ROOT  
Reference Guide
ROOT::Experimental::RNTupleDescriptorBuilder Class Reference

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

Used by RPageStorage implementations in order to construct the RNTupleDescriptor from the various header parts.

Definition at line 374 of file RNTupleDescriptor.hxx.

Public Member Functions

void AddCluster (DescriptorId_t clusterId, RNTupleVersion version, NTupleSize_t firstEntryIndex, ClusterSize_t nEntries)
 
void AddClusterColumnRange (DescriptorId_t clusterId, const RClusterDescriptor::RColumnRange &columnRange)
 
void AddClusterPageRange (DescriptorId_t clusterId, RClusterDescriptor::RPageRange &&pageRange)
 
void AddClustersFromFooter (void *footerBuffer)
 
void AddColumn (DescriptorId_t columnId, DescriptorId_t fieldId, const RNTupleVersion &version, const RColumnModel &model, std::uint32_t index)
 
void AddField (DescriptorId_t fieldId, const RNTupleVersion &fieldVersion, const RNTupleVersion &typeVersion, std::string_view fieldName, std::string_view typeName, std::uint64_t nRepetitions, ENTupleStructure structure)
 
void AddFieldLink (DescriptorId_t fieldId, DescriptorId_t linkId)
 
const RNTupleDescriptorGetDescriptor () const
 
bool IsValid () const
 
RNTupleDescriptor MoveDescriptor ()
 
void SetClusterLocator (DescriptorId_t clusterId, RClusterDescriptor::RLocator locator)
 
void SetFromHeader (void *headerBuffer)
 
void SetNTuple (const std::string_view name, const std::string_view description, const std::string_view author, const RNTupleVersion &version, const RNTupleUuid &uuid)
 

Private Attributes

RNTupleDescriptor fDescriptor
 

#include <ROOT/RNTupleDescriptor.hxx>

Member Function Documentation

◆ AddCluster()

void ROOT::Experimental::RNTupleDescriptorBuilder::AddCluster ( DescriptorId_t  clusterId,
RNTupleVersion  version,
NTupleSize_t  firstEntryIndex,
ClusterSize_t  nEntries 
)

Definition at line 896 of file RNTupleDescriptor.cxx.

◆ AddClusterColumnRange()

void ROOT::Experimental::RNTupleDescriptorBuilder::AddClusterColumnRange ( DescriptorId_t  clusterId,
const RClusterDescriptor::RColumnRange columnRange 
)

Definition at line 913 of file RNTupleDescriptor.cxx.

◆ AddClusterPageRange()

void ROOT::Experimental::RNTupleDescriptorBuilder::AddClusterPageRange ( DescriptorId_t  clusterId,
RClusterDescriptor::RPageRange &&  pageRange 
)

Definition at line 919 of file RNTupleDescriptor.cxx.

◆ AddClustersFromFooter()

void ROOT::Experimental::RNTupleDescriptorBuilder::AddClustersFromFooter ( void footerBuffer)

Definition at line 790 of file RNTupleDescriptor.cxx.

◆ AddColumn()

void ROOT::Experimental::RNTupleDescriptorBuilder::AddColumn ( DescriptorId_t  columnId,
DescriptorId_t  fieldId,
const RNTupleVersion version,
const RColumnModel model,
std::uint32_t  index 
)

Definition at line 883 of file RNTupleDescriptor.cxx.

◆ AddField()

void ROOT::Experimental::RNTupleDescriptorBuilder::AddField ( DescriptorId_t  fieldId,
const RNTupleVersion fieldVersion,
const RNTupleVersion typeVersion,
std::string_view  fieldName,
std::string_view  typeName,
std::uint64_t  nRepetitions,
ENTupleStructure  structure 
)

Definition at line 861 of file RNTupleDescriptor.cxx.

◆ AddFieldLink()

void ROOT::Experimental::RNTupleDescriptorBuilder::AddFieldLink ( DescriptorId_t  fieldId,
DescriptorId_t  linkId 
)

Definition at line 876 of file RNTupleDescriptor.cxx.

◆ GetDescriptor()

const RNTupleDescriptor & ROOT::Experimental::RNTupleDescriptorBuilder::GetDescriptor ( ) const
inline

Definition at line 380 of file RNTupleDescriptor.hxx.

◆ IsValid()

bool ROOT::Experimental::RNTupleDescriptorBuilder::IsValid ( ) const
inline

Definition at line 379 of file RNTupleDescriptor.hxx.

◆ MoveDescriptor()

ROOT::Experimental::RNTupleDescriptor ROOT::Experimental::RNTupleDescriptorBuilder::MoveDescriptor ( )

Definition at line 714 of file RNTupleDescriptor.cxx.

◆ SetClusterLocator()

void ROOT::Experimental::RNTupleDescriptorBuilder::SetClusterLocator ( DescriptorId_t  clusterId,
RClusterDescriptor::RLocator  locator 
)

Definition at line 907 of file RNTupleDescriptor.cxx.

◆ SetFromHeader()

void ROOT::Experimental::RNTupleDescriptorBuilder::SetFromHeader ( void headerBuffer)

Definition at line 721 of file RNTupleDescriptor.cxx.

◆ SetNTuple()

void ROOT::Experimental::RNTupleDescriptorBuilder::SetNTuple ( const std::string_view  name,
const std::string_view  description,
const std::string_view  author,
const RNTupleVersion version,
const RNTupleUuid uuid 
)

Definition at line 849 of file RNTupleDescriptor.cxx.

Member Data Documentation

◆ fDescriptor

RNTupleDescriptor ROOT::Experimental::RNTupleDescriptorBuilder::fDescriptor
private

Definition at line 376 of file RNTupleDescriptor.hxx.

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

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