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>
|
inline |
Return the number of bytes for the last entry.
Definition at line 54 of file RNTupleFillStatus.hxx.
|
inline |
Return the number of entries written into the current cluster.
Definition at line 50 of file RNTupleFillStatus.hxx.
|
inline |
Return the number of bytes written into the current cluster.
Definition at line 52 of file RNTupleFillStatus.hxx.
|
inline |
Return true if the caller should call FlushCluster.
Definition at line 56 of file RNTupleFillStatus.hxx.
|
friend |
Definition at line 37 of file RNTupleFillStatus.hxx.
|
private |
Number of bytes written for the last entry.
Definition at line 45 of file RNTupleFillStatus.hxx.
|
private |
Number of entries written into the current cluster.
Definition at line 41 of file RNTupleFillStatus.hxx.
Definition at line 46 of file RNTupleFillStatus.hxx.
|
private |
Number of bytes written into the current cluster.
Definition at line 43 of file RNTupleFillStatus.hxx.