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 35 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>
|
inline |
Return the number of bytes for the last entry.
Definition at line 53 of file RNTupleFillStatus.hxx.
|
inline |
Return the number of entries written into the current cluster.
Definition at line 49 of file RNTupleFillStatus.hxx.
|
inline |
Return the number of bytes written into the current cluster.
Definition at line 51 of file RNTupleFillStatus.hxx.
|
inline |
Return true if the caller should call FlushCluster.
Definition at line 55 of file RNTupleFillStatus.hxx.
|
friend |
Definition at line 36 of file RNTupleFillStatus.hxx.
|
private |
Number of bytes written for the last entry.
Definition at line 44 of file RNTupleFillStatus.hxx.
|
private |
Number of entries written into the current cluster.
Definition at line 40 of file RNTupleFillStatus.hxx.
Definition at line 45 of file RNTupleFillStatus.hxx.
|
private |
Number of bytes written into the current cluster.
Definition at line 42 of file RNTupleFillStatus.hxx.