Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
ROOT::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 59 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.
 
RNTupleAttrPendingRange & operator= (const RNTupleAttrPendingRange &)=delete
 
RNTupleAttrPendingRange & operator= (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::RNTupleAttrSetWriter
 

#include <ROOT/RNTupleAttrWriting.hxx>

Constructor & Destructor Documentation

◆ RNTupleAttrPendingRange() [1/4]

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

Definition at line 66 of file RNTupleAttrWriting.hxx.

◆ RNTupleAttrPendingRange() [2/4]

ROOT::RNTupleAttrPendingRange::RNTupleAttrPendingRange ( )
default

◆ RNTupleAttrPendingRange() [3/4]

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

◆ RNTupleAttrPendingRange() [4/4]

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

Definition at line 76 of file RNTupleAttrWriting.hxx.

◆ ~RNTupleAttrPendingRange()

ROOT::RNTupleAttrPendingRange::~RNTupleAttrPendingRange ( )
inline

Definition at line 90 of file RNTupleAttrWriting.hxx.

Member Function Documentation

◆ GetModelId()

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

Definition at line 105 of file RNTupleAttrWriting.hxx.

◆ GetStart()

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

Definition at line 98 of file RNTupleAttrWriting.hxx.

◆ IsValid()

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

Definition at line 109 of file RNTupleAttrWriting.hxx.

◆ operator bool()

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

Returns true if this PendingRange is valid.

Definition at line 108 of file RNTupleAttrWriting.hxx.

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

Definition at line 79 of file RNTupleAttrWriting.hxx.

Friends And Related Symbol Documentation

◆ ROOT::RNTupleAttrSetWriter

friend class ROOT::RNTupleAttrSetWriter
friend

Definition at line 60 of file RNTupleAttrWriting.hxx.

Member Data Documentation

◆ fModelId

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

Definition at line 63 of file RNTupleAttrWriting.hxx.

◆ fStart

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

Definition at line 62 of file RNTupleAttrWriting.hxx.

◆ fWasCommitted

bool ROOT::RNTupleAttrPendingRange::fWasCommitted = false
private

Definition at line 64 of file RNTupleAttrWriting.hxx.

Libraries for ROOT::RNTupleAttrPendingRange:

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