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

A not-yet-finalized Attribute Range used for writing.

A range used for writing. It has a well-defined start but not a length/end yet. It is artificially made non-copyable in order to clarify the semantics of Begin/CommitRange. For the same reason, it can only be created by the AttrSetWriter.

Definition at line 61 of file RNTupleAttrWriting.hxx.

Public Member Functions

 RNTupleAttrPendingRange ()=default
 RNTupleAttrPendingRange (const RNTupleAttrPendingRange &)=delete
 RNTupleAttrPendingRange (RNTupleAttrPendingRange &&other)
 ~RNTupleAttrPendingRange ()
ROOT::DescriptorId_t GetModelId () const
ROOT::NTupleSize_t GetStart () const
bool IsValid () const
 operator bool () const
 Returns true if this PendingRange is valid.
RNTupleAttrPendingRangeoperator= (const RNTupleAttrPendingRange &)=delete
RNTupleAttrPendingRangeoperator= (RNTupleAttrPendingRange &&other)

Private Member Functions

 RNTupleAttrPendingRange (ROOT::NTupleSize_t start, ROOT::DescriptorId_t modelId)

Private Attributes

std::uint64_t fModelId = 0
ROOT::NTupleSize_t fStart = 0
bool fWasCommitted = false

Friends

class ROOT::Experimental::RNTupleAttrSetWriter

#include <ROOT/RNTupleAttrWriting.hxx>

Constructor & Destructor Documentation

◆ RNTupleAttrPendingRange() [1/4]

ROOT::Experimental::RNTupleAttrPendingRange::RNTupleAttrPendingRange ( ROOT::NTupleSize_t start,
ROOT::DescriptorId_t modelId )
inlineexplicitprivate

Definition at line 68 of file RNTupleAttrWriting.hxx.

◆ RNTupleAttrPendingRange() [2/4]

ROOT::Experimental::RNTupleAttrPendingRange::RNTupleAttrPendingRange ( )
default

◆ RNTupleAttrPendingRange() [3/4]

ROOT::Experimental::RNTupleAttrPendingRange::RNTupleAttrPendingRange ( const RNTupleAttrPendingRange & )
delete

◆ RNTupleAttrPendingRange() [4/4]

ROOT::Experimental::RNTupleAttrPendingRange::RNTupleAttrPendingRange ( RNTupleAttrPendingRange && other)
inline

Definition at line 78 of file RNTupleAttrWriting.hxx.

◆ ~RNTupleAttrPendingRange()

ROOT::Experimental::RNTupleAttrPendingRange::~RNTupleAttrPendingRange ( )
inline

Definition at line 92 of file RNTupleAttrWriting.hxx.

Member Function Documentation

◆ GetModelId()

ROOT::DescriptorId_t ROOT::Experimental::RNTupleAttrPendingRange::GetModelId ( ) const
inline

Definition at line 107 of file RNTupleAttrWriting.hxx.

◆ GetStart()

ROOT::NTupleSize_t ROOT::Experimental::RNTupleAttrPendingRange::GetStart ( ) const
inline

Definition at line 100 of file RNTupleAttrWriting.hxx.

◆ IsValid()

bool ROOT::Experimental::RNTupleAttrPendingRange::IsValid ( ) const
inline

Definition at line 111 of file RNTupleAttrWriting.hxx.

◆ operator bool()

ROOT::Experimental::RNTupleAttrPendingRange::operator bool ( ) const
inline

Returns true if this PendingRange is valid.

Definition at line 110 of file RNTupleAttrWriting.hxx.

◆ operator=() [1/2]

RNTupleAttrPendingRange & ROOT::Experimental::RNTupleAttrPendingRange::operator= ( const RNTupleAttrPendingRange & )
delete

◆ operator=() [2/2]

RNTupleAttrPendingRange & ROOT::Experimental::RNTupleAttrPendingRange::operator= ( RNTupleAttrPendingRange && other)
inline

Definition at line 81 of file RNTupleAttrWriting.hxx.

◆ ROOT::Experimental::RNTupleAttrSetWriter

Definition at line 62 of file RNTupleAttrWriting.hxx.

Member Data Documentation

◆ fModelId

std::uint64_t ROOT::Experimental::RNTupleAttrPendingRange::fModelId = 0
private

Definition at line 65 of file RNTupleAttrWriting.hxx.

◆ fStart

ROOT::NTupleSize_t ROOT::Experimental::RNTupleAttrPendingRange::fStart = 0
private

Definition at line 64 of file RNTupleAttrWriting.hxx.

◆ fWasCommitted

bool ROOT::Experimental::RNTupleAttrPendingRange::fWasCommitted = false
private

Definition at line 66 of file RNTupleAttrWriting.hxx.


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