Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
ROOT::Experimental::RNTupleImporter::RImportLeafCountCollection Struct Reference

Leaf count arrays require special treatment.

They are translated into RNTuple untyped collections. This class does the bookkeeping of the sub-schema for these collections.

Definition at line 173 of file RNTupleImporter.hxx.

Public Member Functions

 RImportLeafCountCollection ()=default
 
 RImportLeafCountCollection (const RImportLeafCountCollection &other)=delete
 
 RImportLeafCountCollection (RImportLeafCountCollection &&other)=default
 
RImportLeafCountCollectionoperator= (const RImportLeafCountCollection &other)=delete
 
RImportLeafCountCollectionoperator= (RImportLeafCountCollection &&other)=default
 

Public Attributes

std::unique_ptr< REntryfCollectionEntry
 Keeps the memory location of the collection members.
 
std::unique_ptr< RNTupleModelfCollectionModel
 The model for the collection itself.
 
std::shared_ptr< RNTupleCollectionWriterfCollectionWriter
 Used to fill the collection elements per event.
 
std::unique_ptr< Int_tfCountVal
 The number of elements for the collection for a particular event.
 
std::string fFieldName
 name of the untyped collection, e.g. _collection0, _collection1, etc.
 
std::vector< size_t > fImportFieldIndexes
 Points to the correspondings fields in fImportFields.
 
Int_t fMaxLength = 0
 Stores count leaf GetMaximum() to create large enough buffers for the array leafs.
 
std::vector< std::unique_ptr< RImportTransformation > > fTransformations
 One transformation for every field, to copy the content of the array one by one.
 

Constructor & Destructor Documentation

◆ RImportLeafCountCollection() [1/3]

ROOT::Experimental::RNTupleImporter::RImportLeafCountCollection::RImportLeafCountCollection ( )
default

◆ RImportLeafCountCollection() [2/3]

ROOT::Experimental::RNTupleImporter::RImportLeafCountCollection::RImportLeafCountCollection ( const RImportLeafCountCollection other)
delete

◆ RImportLeafCountCollection() [3/3]

ROOT::Experimental::RNTupleImporter::RImportLeafCountCollection::RImportLeafCountCollection ( RImportLeafCountCollection &&  other)
default

Member Function Documentation

◆ operator=() [1/2]

RImportLeafCountCollection & ROOT::Experimental::RNTupleImporter::RImportLeafCountCollection::operator= ( const RImportLeafCountCollection other)
delete

◆ operator=() [2/2]

RImportLeafCountCollection & ROOT::Experimental::RNTupleImporter::RImportLeafCountCollection::operator= ( RImportLeafCountCollection &&  other)
default

Member Data Documentation

◆ fCollectionEntry

std::unique_ptr<REntry> ROOT::Experimental::RNTupleImporter::RImportLeafCountCollection::fCollectionEntry

Keeps the memory location of the collection members.

Definition at line 181 of file RNTupleImporter.hxx.

◆ fCollectionModel

std::unique_ptr<RNTupleModel> ROOT::Experimental::RNTupleImporter::RImportLeafCountCollection::fCollectionModel

The model for the collection itself.

Definition at line 179 of file RNTupleImporter.hxx.

◆ fCollectionWriter

std::shared_ptr<RNTupleCollectionWriter> ROOT::Experimental::RNTupleImporter::RImportLeafCountCollection::fCollectionWriter

Used to fill the collection elements per event.

Definition at line 180 of file RNTupleImporter.hxx.

◆ fCountVal

std::unique_ptr<Int_t> ROOT::Experimental::RNTupleImporter::RImportLeafCountCollection::fCountVal

The number of elements for the collection for a particular event.

Used as a destination for SetBranchAddress() of the count leaf

Definition at line 184 of file RNTupleImporter.hxx.

◆ fFieldName

std::string ROOT::Experimental::RNTupleImporter::RImportLeafCountCollection::fFieldName

name of the untyped collection, e.g. _collection0, _collection1, etc.

Definition at line 189 of file RNTupleImporter.hxx.

◆ fImportFieldIndexes

std::vector<size_t> ROOT::Experimental::RNTupleImporter::RImportLeafCountCollection::fImportFieldIndexes

Points to the correspondings fields in fImportFields.

Definition at line 185 of file RNTupleImporter.hxx.

◆ fMaxLength

Int_t ROOT::Experimental::RNTupleImporter::RImportLeafCountCollection::fMaxLength = 0

Stores count leaf GetMaximum() to create large enough buffers for the array leafs.

Definition at line 188 of file RNTupleImporter.hxx.

◆ fTransformations

std::vector<std::unique_ptr<RImportTransformation> > ROOT::Experimental::RNTupleImporter::RImportLeafCountCollection::fTransformations

One transformation for every field, to copy the content of the array one by one.

Definition at line 187 of file RNTupleImporter.hxx.

Collaboration diagram for ROOT::Experimental::RNTupleImporter::RImportLeafCountCollection:
[legend]

The documentation for this struct was generated from the following file: