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::FillNoCommit or RNTupleFillContext::FillNoCommit, the caller must check ShouldCommitCluster and call RNTupleWriter::CommitCluster or RNTupleFillContext::CommitCluster 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 ShouldCommitCluster () const
 Return true if the caller should call CommitCluster.
 

Private Attributes

std::size_t fLastEntrySize = 0
 Number of bytes written for the last entry.
 
NTupleSize_t fNEntriesSinceLastCommit = 0
 Number of entries written into the current cluster.
 
bool fShouldCommitCluster = 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.

◆ ShouldCommitCluster()

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

Return true if the caller should call CommitCluster.

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.

◆ fNEntriesSinceLastCommit

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

Number of entries written into the current cluster.

Definition at line 41 of file RNTupleFillStatus.hxx.

◆ fShouldCommitCluster

bool ROOT::Experimental::RNTupleFillStatus::fShouldCommitCluster = 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: