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

Definition at line 226 of file RNTupleView.hxx.

Public Member Functions

 RNTupleView (const RNTupleView &other)=delete
 
 RNTupleView (RNTupleView &&other)=default
 
 ~RNTupleView ()=default
 
void Bind (std::shared_ptr< void > objPtr)
 
void BindRawPtr (void *rawPtr)
 
ROOT::RFieldBase::RBulkValues CreateBulk ()
 
void EmplaceNew ()
 
const ROOT::RFieldBase & GetField () const
 
ROOT::RNTupleGlobalRange GetFieldRange () const
 Returns the global field range of this view.
 
const ROOT::RFieldBase::RValue & GetValue () const
 
void operator() (RNTupleLocalIndex localIndex)
 
void operator() (ROOT::NTupleSize_t globalIndex)
 
RNTupleView & operator= (const RNTupleView &other)=delete
 
RNTupleView & operator= (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, std::shared_ptr< void > objPtr)
 
 RNTupleView (std::unique_ptr< ROOT::RFieldBase > field, ROOT::RNTupleGlobalRange range, void *rawPtr)
 

Static Protected Member Functions

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

Protected Attributes

std::unique_ptr< ROOT::RFieldBase > fField
 
ROOT::RNTupleGlobalRange fFieldRange
 
ROOT::RFieldBase::RValue fValue
 

Friends

class RNTupleCollectionView
 
class ROOT::RNTupleReader
 

#include <ROOT/RNTupleView.hxx>

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

Constructor & Destructor Documentation

◆ RNTupleView() [1/5]

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

Definition at line 231 of file RNTupleView.hxx.

◆ RNTupleView() [2/5]

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

Definition at line 236 of file RNTupleView.hxx.

◆ RNTupleView() [3/5]

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

Definition at line 241 of file RNTupleView.hxx.

◆ RNTupleView() [4/5]

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

◆ RNTupleView() [5/5]

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

◆ ~RNTupleView()

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

Member Function Documentation

◆ Bind()

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

Definition at line 155 of file RNTupleView.hxx.

◆ BindRawPtr()

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

Definition at line 156 of file RNTupleView.hxx.

◆ CreateBulk()

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

Definition at line 138 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 = "" )
inlinestaticprotectedinherited

Definition at line 89 of file RNTupleView.hxx.

◆ EmplaceNew()

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

Definition at line 157 of file RNTupleView.hxx.

◆ GetField()

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

Definition at line 137 of file RNTupleView.hxx.

◆ GetFieldRange()

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

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 146 of file RNTupleView.hxx.

◆ GetValue()

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

Definition at line 140 of file RNTupleView.hxx.

◆ operator()() [1/2]

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

Definition at line 256 of file RNTupleView.hxx.

◆ operator()() [2/2]

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

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

Friends And Related Symbol Documentation

◆ RNTupleCollectionView

Definition at line 228 of file RNTupleView.hxx.

◆ ROOT::RNTupleReader

friend class ROOT::RNTupleReader
friend

Definition at line 227 of file RNTupleView.hxx.

Member Data Documentation

◆ fField

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

Definition at line 84 of file RNTupleView.hxx.

◆ fFieldRange

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

Definition at line 85 of file RNTupleView.hxx.

◆ fValue

ROOT::RFieldBase::RValue ROOT::RNTupleViewBase< void >::fValue
protectedinherited

Definition at line 86 of file RNTupleView.hxx.

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