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

A status object after filling an entry.

After passing an instance to RNTupleWriter::FillNoFlush or RNTupleFillContext::FillNoFlush, the caller must check ShouldFlushCluster and call RNTupleWriter::FlushCluster or RNTupleFillContext::FlushCluster if necessary.

Definition at line 36 of file RNTupleFillStatus.hxx.

Public Member Functions

std::size_t GetLastEntrySize () const
 Return the number of bytes for the last entry.
 
NTupleSize_t GetNEntries () const
 Return the number of entries written into the current cluster.
 
std::size_t GetUnzippedClusterSize () const
 Return the number of bytes written into the current cluster.
 
bool ShouldFlushCluster () const
 Return true if the caller should call FlushCluster.
 

Private Attributes

std::size_t fLastEntrySize = 0
 Number of bytes written for the last entry.
 
NTupleSize_t fNEntriesSinceLastFlush = 0
 Number of entries written into the current cluster.
 
bool fShouldFlushCluster = false
 
std::size_t fUnzippedClusterSize = 0
 Number of bytes written into the current cluster.
 

Friends

class RNTupleFillContext
 

#include <ROOT/RNTupleFillStatus.hxx>

Member Function Documentation

◆ GetLastEntrySize()

std::size_t ROOT::Experimental::RNTupleFillStatus::GetLastEntrySize ( ) const
inline

Return the number of bytes for the last entry.

Definition at line 54 of file RNTupleFillStatus.hxx.

◆ GetNEntries()

NTupleSize_t ROOT::Experimental::RNTupleFillStatus::GetNEntries ( ) const
inline

Return the number of entries written into the current cluster.

Definition at line 50 of file RNTupleFillStatus.hxx.

◆ GetUnzippedClusterSize()

std::size_t ROOT::Experimental::RNTupleFillStatus::GetUnzippedClusterSize ( ) const
inline

Return the number of bytes written into the current cluster.

Definition at line 52 of file RNTupleFillStatus.hxx.

◆ ShouldFlushCluster()

bool ROOT::Experimental::RNTupleFillStatus::ShouldFlushCluster ( ) const
inline

Return true if the caller should call FlushCluster.

Definition at line 56 of file RNTupleFillStatus.hxx.

Friends And Related Symbol Documentation

◆ RNTupleFillContext

friend class RNTupleFillContext
friend

Definition at line 37 of file RNTupleFillStatus.hxx.

Member Data Documentation

◆ fLastEntrySize

std::size_t ROOT::Experimental::RNTupleFillStatus::fLastEntrySize = 0
private

Number of bytes written for the last entry.

Definition at line 45 of file RNTupleFillStatus.hxx.

◆ fNEntriesSinceLastFlush

NTupleSize_t ROOT::Experimental::RNTupleFillStatus::fNEntriesSinceLastFlush = 0
private

Number of entries written into the current cluster.

Definition at line 41 of file RNTupleFillStatus.hxx.

◆ fShouldFlushCluster

bool ROOT::Experimental::RNTupleFillStatus::fShouldFlushCluster = false
private

Definition at line 46 of file RNTupleFillStatus.hxx.

◆ fUnzippedClusterSize

std::size_t ROOT::Experimental::RNTupleFillStatus::fUnzippedClusterSize = 0
private

Number of bytes written into the current cluster.

Definition at line 43 of file RNTupleFillStatus.hxx.

Libraries for ROOT::Experimental::RNTupleFillStatus:

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