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

A virtual ntuple used for writing untyped collections that can be used to some extent like an RNTupleWriter.

This class is between a field and a ntuple. It carries the offset column for the collection and the default entry taken from the collection model. It does not, however, own an ntuple model because the collection model has been merged into the larger ntuple model.

Definition at line 40 of file RNTupleCollectionWriter.hxx.

Public Member Functions

 RNTupleCollectionWriter (const RNTupleCollectionWriter &)=delete
 
 RNTupleCollectionWriter (std::unique_ptr< REntry > defaultEntry)
 
 ~RNTupleCollectionWriter ()=default
 
std::size_t Fill ()
 
std::size_t Fill (REntry &entry)
 
ClusterSize_tGetOffsetPtr ()
 
RNTupleCollectionWriteroperator= (const RNTupleCollectionWriter &)=delete
 

Private Attributes

std::size_t fBytesWritten = 0
 
std::unique_ptr< REntryfDefaultEntry
 
ClusterSize_t fOffset
 

Friends

class RCollectionField
 

#include <ROOT/RNTupleCollectionWriter.hxx>

Constructor & Destructor Documentation

◆ RNTupleCollectionWriter() [1/2]

ROOT::Experimental::RNTupleCollectionWriter::RNTupleCollectionWriter ( std::unique_ptr< REntry defaultEntry)
inlineexplicit

Definition at line 49 of file RNTupleCollectionWriter.hxx.

◆ RNTupleCollectionWriter() [2/2]

ROOT::Experimental::RNTupleCollectionWriter::RNTupleCollectionWriter ( const RNTupleCollectionWriter )
delete

◆ ~RNTupleCollectionWriter()

ROOT::Experimental::RNTupleCollectionWriter::~RNTupleCollectionWriter ( )
default

Member Function Documentation

◆ Fill() [1/2]

std::size_t ROOT::Experimental::RNTupleCollectionWriter::Fill ( )
inline

Definition at line 57 of file RNTupleCollectionWriter.hxx.

◆ Fill() [2/2]

std::size_t ROOT::Experimental::RNTupleCollectionWriter::Fill ( REntry entry)
inline

Definition at line 58 of file RNTupleCollectionWriter.hxx.

◆ GetOffsetPtr()

ClusterSize_t * ROOT::Experimental::RNTupleCollectionWriter::GetOffsetPtr ( )
inline

Definition at line 66 of file RNTupleCollectionWriter.hxx.

◆ operator=()

RNTupleCollectionWriter & ROOT::Experimental::RNTupleCollectionWriter::operator= ( const RNTupleCollectionWriter )
delete

Friends And Related Symbol Documentation

◆ RCollectionField

friend class RCollectionField
friend

Definition at line 41 of file RNTupleCollectionWriter.hxx.

Member Data Documentation

◆ fBytesWritten

std::size_t ROOT::Experimental::RNTupleCollectionWriter::fBytesWritten = 0
private

Definition at line 44 of file RNTupleCollectionWriter.hxx.

◆ fDefaultEntry

std::unique_ptr<REntry> ROOT::Experimental::RNTupleCollectionWriter::fDefaultEntry
private

Definition at line 46 of file RNTupleCollectionWriter.hxx.

◆ fOffset

ClusterSize_t ROOT::Experimental::RNTupleCollectionWriter::fOffset
private

Definition at line 45 of file RNTupleCollectionWriter.hxx.

Libraries for ROOT::Experimental::RNTupleCollectionWriter:

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