Logo ROOT  
Reference Guide
 
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Loading...
Searching...
No Matches
ROOT::Experimental::Internal::RNTupleModelChangeset Class Reference

The incremental changes to a RNTupleModel

Represents a set of alterations to a RNTupleModel that happened after the model is used to initialize a RPageSink instance. This object can be used to communicate metadata updates to a RPageSink. You will not normally use this directly; see RNTupleModel::RUpdater instead.

Definition at line 359 of file RNTupleModel.hxx.

Public Member Functions

 RNTupleModelChangeset (RNTupleModel &model)
 
void AddField (std::unique_ptr< RFieldBase > field)
 
ROOT::RResult< void > AddProjectedField (std::unique_ptr< RFieldBase > field, RNTupleModel::FieldMappingFunc_t mapping)
 
bool IsEmpty () const
 

Public Attributes

std::vector< RFieldBase * > fAddedFields
 Points to the fields in fModel that were added as part of an updater transaction.
 
std::vector< RFieldBase * > fAddedProjectedFields
 Points to the projected fields in fModel that were added as part of an updater transaction.
 
RNTupleModelfModel
 

#include <ROOT/RNTupleModel.hxx>

Constructor & Destructor Documentation

◆ RNTupleModelChangeset()

ROOT::Experimental::Internal::RNTupleModelChangeset::RNTupleModelChangeset ( RNTupleModel & model)
inline

Definition at line 366 of file RNTupleModel.hxx.

Member Function Documentation

◆ AddField()

void ROOT::Experimental::Internal::RNTupleModelChangeset::AddField ( std::unique_ptr< RFieldBase > field)

Definition at line 198 of file RNTupleModel.cxx.

◆ AddProjectedField()

ROOT::RResult< void > ROOT::Experimental::Internal::RNTupleModelChangeset::AddProjectedField ( std::unique_ptr< RFieldBase > field,
RNTupleModel::FieldMappingFunc_t mapping )

Definition at line 211 of file RNTupleModel.cxx.

◆ IsEmpty()

bool ROOT::Experimental::Internal::RNTupleModelChangeset::IsEmpty ( ) const
inline

Definition at line 367 of file RNTupleModel.hxx.

Member Data Documentation

◆ fAddedFields

std::vector<RFieldBase *> ROOT::Experimental::Internal::RNTupleModelChangeset::fAddedFields

Points to the fields in fModel that were added as part of an updater transaction.

Definition at line 362 of file RNTupleModel.hxx.

◆ fAddedProjectedFields

std::vector<RFieldBase *> ROOT::Experimental::Internal::RNTupleModelChangeset::fAddedProjectedFields

Points to the projected fields in fModel that were added as part of an updater transaction.

Definition at line 364 of file RNTupleModel.hxx.

◆ fModel

RNTupleModel& ROOT::Experimental::Internal::RNTupleModelChangeset::fModel

Definition at line 360 of file RNTupleModel.hxx.

Collaboration diagram for ROOT::Experimental::Internal::RNTupleModelChangeset:
[legend]

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