Logo ROOT  
Reference Guide
Loading...
Searching...
No Matches
ROOT::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 34 of file RNTupleFillStatus.hxx.

Public Member Functions

std::size_t GetLastEntrySize () const
 Return the number of bytes for the last entry.
ROOT::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.
ROOT::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::RNTupleFillStatus::GetLastEntrySize ( ) const
inline

Return the number of bytes for the last entry.

Definition at line 52 of file RNTupleFillStatus.hxx.

◆ GetNEntries()

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

Return the number of entries written into the current cluster.

Definition at line 48 of file RNTupleFillStatus.hxx.

◆ GetUnzippedClusterSize()

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

Return the number of bytes written into the current cluster.

Definition at line 50 of file RNTupleFillStatus.hxx.

◆ ShouldFlushCluster()

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

Return true if the caller should call FlushCluster.

Definition at line 54 of file RNTupleFillStatus.hxx.

◆ RNTupleFillContext

friend class RNTupleFillContext
friend

Definition at line 35 of file RNTupleFillStatus.hxx.

Member Data Documentation

◆ fLastEntrySize

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

Number of bytes written for the last entry.

Definition at line 43 of file RNTupleFillStatus.hxx.

◆ fNEntriesSinceLastFlush

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

Number of entries written into the current cluster.

Definition at line 39 of file RNTupleFillStatus.hxx.

◆ fShouldFlushCluster

bool ROOT::RNTupleFillStatus::fShouldFlushCluster = false
private

Definition at line 44 of file RNTupleFillStatus.hxx.

◆ fUnzippedClusterSize

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

Number of bytes written into the current cluster.

Definition at line 41 of file RNTupleFillStatus.hxx.


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