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 (RNTupleView &&other)=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
void operator() (RNTupleLocalIndex localIndex)
void operator() (ROOT::NTupleSize_t globalIndex)
RNTupleViewoperator= (const RNTupleView &other)=delete
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, std::shared_ptr< void > objPtr)
 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 ROOT::RNTupleReader

#include <ROOT/RNTupleView.hxx>

Inheritance diagram for ROOT::RNTupleView< void >:
ROOT::RNTupleViewBase< void > ROOT::RNTupleViewBase< void >

Constructor & Destructor Documentation

◆ RNTupleView() [1/5]

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

Definition at line 229 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 234 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 239 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)
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()

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/2]

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

Definition at line 254 of file RNTupleView.hxx.

◆ operator()() [2/2]

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

Definition at line 252 of file RNTupleView.hxx.

◆ 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

◆ RNTupleCollectionView

friend class RNTupleCollectionView
friend

Definition at line 226 of file RNTupleView.hxx.

◆ ROOT::RNTupleReader

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.


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