Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
ROOT::RNTupleView< void > Class Referencefinal

Definition at line 224 of file RNTupleView.hxx.

Public Member Functions

 RNTupleView (const RNTupleView &other)=delete
 
 RNTupleView (const RNTupleView &other)=delete
 
 RNTupleView (RNTupleView &&other)=default
 
 RNTupleView (RNTupleView &&other)=default
 
 ~RNTupleView ()=default
 
 ~RNTupleView ()=default
 
void Bind (std::shared_ptr< void > objPtr)
 
void BindRawPtr (void *rawPtr)
 
ROOT::RFieldBase::RBulkValues CreateBulk ()
 
void EmplaceNew ()
 
const ROOT::RFieldBaseGetField () const
 
ROOT::RNTupleGlobalRange GetFieldRange () const
 Returns the global field range of this view.
 
const ROOT::RFieldBase::RValueGetValue () const
 
const void & operator() (RNTupleLocalIndex localIndex)
 Reads the value of this view for the entry with the provided localIndex.
 
void operator() (RNTupleLocalIndex localIndex)
 
const void & operator() (ROOT::NTupleSize_t globalIndex)
 Reads the value of this view for the entry with the provided globalIndex.
 
void operator() (ROOT::NTupleSize_t globalIndex)
 
RNTupleViewoperator= (const RNTupleView &other)=delete
 
RNTupleViewoperator= (const RNTupleView &other)=delete
 
RNTupleViewoperator= (RNTupleView &&other)=default
 
RNTupleViewoperator= (RNTupleView &&other)=default
 

Protected Member Functions

 RNTupleView (std::unique_ptr< ROOT::RFieldBase > field, ROOT::RNTupleGlobalRange range)
 
 RNTupleView (std::unique_ptr< ROOT::RFieldBase > field, ROOT::RNTupleGlobalRange range)
 
 RNTupleView (std::unique_ptr< ROOT::RFieldBase > field, ROOT::RNTupleGlobalRange range, std::shared_ptr< void > objPtr)
 
 RNTupleView (std::unique_ptr< ROOT::RFieldBase > field, ROOT::RNTupleGlobalRange range, std::shared_ptr< void > objPtr)
 
 RNTupleView (std::unique_ptr< ROOT::RFieldBase > field, ROOT::RNTupleGlobalRange range, void *rawPtr)
 
 RNTupleView (std::unique_ptr< ROOT::RFieldBase > field, ROOT::RNTupleGlobalRange range, void *rawPtr)
 
const void & GetValueRef () const
 

Static Protected Member Functions

static std::unique_ptr< ROOT::RFieldBaseCreateField (ROOT::DescriptorId_t fieldId, Internal::RPageSource &pageSource, std::string_view typeName="")
 

Protected Attributes

std::unique_ptr< ROOT::RFieldBasefField
 
ROOT::RNTupleGlobalRange fFieldRange
 
ROOT::RFieldBase::RValue fValue
 

Friends

class RNTupleCollectionView
 
class RNTupleCollectionView
 
class ROOT::RNTupleReader
 
class ROOT::RNTupleReader
 

#include <ROOT/RNTupleView.hxx>

Inheritance diagram for ROOT::RNTupleView< void >:
[legend]

Constructor & Destructor Documentation

◆ RNTupleView() [1/10]

ROOT::RNTupleView< void >::RNTupleView ( std::unique_ptr< ROOT::RFieldBase > field,
ROOT::RNTupleGlobalRange range )
inlineprotected

Definition at line 229 of file RNTupleView.hxx.

◆ RNTupleView() [2/10]

ROOT::RNTupleView< void >::RNTupleView ( std::unique_ptr< ROOT::RFieldBase > field,
ROOT::RNTupleGlobalRange range,
std::shared_ptr< void > objPtr )
inlineprotected

Definition at line 234 of file RNTupleView.hxx.

◆ RNTupleView() [3/10]

ROOT::RNTupleView< void >::RNTupleView ( std::unique_ptr< ROOT::RFieldBase > field,
ROOT::RNTupleGlobalRange range,
void * rawPtr )
inlineprotected

Definition at line 239 of file RNTupleView.hxx.

◆ RNTupleView() [4/10]

ROOT::RNTupleView< void >::RNTupleView ( const RNTupleView< void > & other)
delete

◆ RNTupleView() [5/10]

ROOT::RNTupleView< void >::RNTupleView ( RNTupleView< void > && other)
default

◆ ~RNTupleView() [1/2]

ROOT::RNTupleView< void >::~RNTupleView ( )
default

◆ RNTupleView() [6/10]

ROOT::RNTupleView< void >::RNTupleView ( std::unique_ptr< ROOT::RFieldBase > field,
ROOT::RNTupleGlobalRange range )
inlineprotected

Definition at line 171 of file RNTupleView.hxx.

◆ RNTupleView() [7/10]

ROOT::RNTupleView< void >::RNTupleView ( std::unique_ptr< ROOT::RFieldBase > field,
ROOT::RNTupleGlobalRange range,
std::shared_ptr< void > objPtr )
inlineprotected

Definition at line 176 of file RNTupleView.hxx.

◆ RNTupleView() [8/10]

ROOT::RNTupleView< void >::RNTupleView ( std::unique_ptr< ROOT::RFieldBase > field,
ROOT::RNTupleGlobalRange range,
void * rawPtr )
inlineprotected

Definition at line 181 of file RNTupleView.hxx.

◆ RNTupleView() [9/10]

ROOT::RNTupleView< void >::RNTupleView ( const RNTupleView< void > & other)
delete

◆ RNTupleView() [10/10]

ROOT::RNTupleView< void >::RNTupleView ( RNTupleView< void > && other)
default

◆ ~RNTupleView() [2/2]

ROOT::RNTupleView< void >::~RNTupleView ( )
default

Member Function Documentation

◆ Bind()

void ROOT::RNTupleViewBase< void >::Bind ( std::shared_ptr< void > objPtr)
inline

Definition at line 153 of file RNTupleView.hxx.

◆ BindRawPtr()

void ROOT::RNTupleViewBase< void >::BindRawPtr ( void * rawPtr)
inline

Definition at line 154 of file RNTupleView.hxx.

◆ CreateBulk()

ROOT::RFieldBase::RBulkValues ROOT::RNTupleViewBase< void >::CreateBulk ( )
inline

Definition at line 137 of file RNTupleView.hxx.

◆ CreateField()

static std::unique_ptr< ROOT::RFieldBase > ROOT::RNTupleViewBase< void >::CreateField ( ROOT::DescriptorId_t fieldId,
Internal::RPageSource & pageSource,
std::string_view typeName = "" )
inlinestaticprotected

Definition at line 89 of file RNTupleView.hxx.

◆ EmplaceNew()

void ROOT::RNTupleViewBase< void >::EmplaceNew ( )
inline

Definition at line 155 of file RNTupleView.hxx.

◆ GetField()

const ROOT::RFieldBase & ROOT::RNTupleViewBase< void >::GetField ( ) const
inline

Definition at line 136 of file RNTupleView.hxx.

◆ GetFieldRange()

ROOT::RNTupleGlobalRange ROOT::RNTupleViewBase< void >::GetFieldRange ( ) const
inline

Returns the global field range of this view.

This may differ from the RNTuple's entry range in case of subfields and can be used to iterate over all the concatenated elements of the subfield without caring which entry they belong to. Throws an RException if the underlying field of this view is empty, i.e. if it's a class or record field with no associated columns.

Definition at line 145 of file RNTupleView.hxx.

◆ GetValue()

const ROOT::RFieldBase::RValue & ROOT::RNTupleViewBase< void >::GetValue ( ) const
inline

Definition at line 139 of file RNTupleView.hxx.

◆ GetValueRef()

const void & ROOT::RNTupleView< void >::GetValueRef ( ) const
inlineprotected

Definition at line 186 of file RNTupleView.hxx.

◆ operator()() [1/4]

const void & ROOT::RNTupleView< void >::operator() ( RNTupleLocalIndex localIndex)
inline

Reads the value of this view for the entry with the provided localIndex.

See RNTupleLocalIndex for more details.

Definition at line 209 of file RNTupleView.hxx.

◆ operator()() [2/4]

void ROOT::RNTupleView< void >::operator() ( RNTupleLocalIndex localIndex)
inline
See also
RNTupleView::operator()(RNTupleLocalIndex)

Definition at line 254 of file RNTupleView.hxx.

◆ operator()() [3/4]

const void & ROOT::RNTupleView< void >::operator() ( ROOT::NTupleSize_t globalIndex)
inline

Reads the value of this view for the entry with the provided globalIndex.

Definition at line 201 of file RNTupleView.hxx.

◆ operator()() [4/4]

void ROOT::RNTupleView< void >::operator() ( ROOT::NTupleSize_t globalIndex)
inline

◆ operator=() [1/4]

RNTupleView & ROOT::RNTupleView< void >::operator= ( const RNTupleView< void > & other)
delete

◆ operator=() [2/4]

RNTupleView & ROOT::RNTupleView< void >::operator= ( const RNTupleView< void > & other)
delete

◆ operator=() [3/4]

RNTupleView & ROOT::RNTupleView< void >::operator= ( RNTupleView< void > && other)
default

◆ operator=() [4/4]

RNTupleView & ROOT::RNTupleView< void >::operator= ( RNTupleView< void > && other)
default

Friends And Related Symbol Documentation

◆ RNTupleCollectionView [1/2]

friend class RNTupleCollectionView
friend

Definition at line 168 of file RNTupleView.hxx.

◆ RNTupleCollectionView [2/2]

friend class RNTupleCollectionView
friend

Definition at line 226 of file RNTupleView.hxx.

◆ ROOT::RNTupleReader [1/2]

friend class ROOT::RNTupleReader
friend

Definition at line 167 of file RNTupleView.hxx.

◆ ROOT::RNTupleReader [2/2]

friend class ROOT::RNTupleReader
friend

Definition at line 225 of file RNTupleView.hxx.

Member Data Documentation

◆ fField

std::unique_ptr<ROOT::RFieldBase> ROOT::RNTupleViewBase< void >::fField
protected

Definition at line 84 of file RNTupleView.hxx.

◆ fFieldRange

ROOT::RNTupleGlobalRange ROOT::RNTupleViewBase< void >::fFieldRange
protected

Definition at line 85 of file RNTupleView.hxx.

◆ fValue

Definition at line 86 of file RNTupleView.hxx.

  • tree/ntuple/inc/ROOT/RNTupleView.hxx