Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
ROOT::Experimental::RNTupleDirectAccessView< T > Class Template Reference

template<typename T>
class ROOT::Experimental::RNTupleDirectAccessView< T >

A view variant that provides direct access to the I/O buffers.

Only works for mappable fields.

Definition at line 305 of file RNTupleView.hxx.

Public Member Functions

 RNTupleDirectAccessView (const RNTupleDirectAccessView &other)=delete
 
 RNTupleDirectAccessView (RNTupleDirectAccessView &&other)=default
 
 ~RNTupleDirectAccessView ()=default
 
const RFieldBaseGetField () const
 
RNTupleGlobalRange GetFieldRange () const
 
const T & operator() (NTupleSize_t globalIndex)
 
const T & operator() (RClusterIndex clusterIndex)
 
RNTupleDirectAccessViewoperator= (const RNTupleDirectAccessView &other)=delete
 
RNTupleDirectAccessViewoperator= (RNTupleDirectAccessView &&other)=default
 

Protected Member Functions

 RNTupleDirectAccessView (RField< T > field, RNTupleGlobalRange range)
 

Static Protected Member Functions

static RField< T > CreateField (DescriptorId_t fieldId, Internal::RPageSource &pageSource)
 

Protected Attributes

RField< T > fField
 
RNTupleGlobalRange fFieldRange
 

Friends

class RNTupleCollectionView
 
class RNTupleReader
 

#include <ROOT/RNTupleView.hxx>

Constructor & Destructor Documentation

◆ RNTupleDirectAccessView() [1/3]

template<typename T >
ROOT::Experimental::RNTupleDirectAccessView< T >::RNTupleDirectAccessView ( RField< T >  field,
RNTupleGlobalRange  range 
)
inlineprotected

Definition at line 327 of file RNTupleView.hxx.

◆ RNTupleDirectAccessView() [2/3]

template<typename T >
ROOT::Experimental::RNTupleDirectAccessView< T >::RNTupleDirectAccessView ( const RNTupleDirectAccessView< T > &  other)
delete

◆ RNTupleDirectAccessView() [3/3]

template<typename T >
ROOT::Experimental::RNTupleDirectAccessView< T >::RNTupleDirectAccessView ( RNTupleDirectAccessView< T > &&  other)
default

◆ ~RNTupleDirectAccessView()

template<typename T >
ROOT::Experimental::RNTupleDirectAccessView< T >::~RNTupleDirectAccessView ( )
default

Member Function Documentation

◆ CreateField()

template<typename T >
static RField< T > ROOT::Experimental::RNTupleDirectAccessView< T >::CreateField ( DescriptorId_t  fieldId,
Internal::RPageSource pageSource 
)
inlinestaticprotected

Definition at line 313 of file RNTupleView.hxx.

◆ GetField()

template<typename T >
const RFieldBase & ROOT::Experimental::RNTupleDirectAccessView< T >::GetField ( ) const
inline

Definition at line 336 of file RNTupleView.hxx.

◆ GetFieldRange()

template<typename T >
RNTupleGlobalRange ROOT::Experimental::RNTupleDirectAccessView< T >::GetFieldRange ( ) const
inline

Definition at line 337 of file RNTupleView.hxx.

◆ operator()() [1/2]

template<typename T >
const T & ROOT::Experimental::RNTupleDirectAccessView< T >::operator() ( NTupleSize_t  globalIndex)
inline

Definition at line 339 of file RNTupleView.hxx.

◆ operator()() [2/2]

template<typename T >
const T & ROOT::Experimental::RNTupleDirectAccessView< T >::operator() ( RClusterIndex  clusterIndex)
inline

Definition at line 340 of file RNTupleView.hxx.

◆ operator=() [1/2]

template<typename T >
RNTupleDirectAccessView & ROOT::Experimental::RNTupleDirectAccessView< T >::operator= ( const RNTupleDirectAccessView< T > &  other)
delete

◆ operator=() [2/2]

template<typename T >
RNTupleDirectAccessView & ROOT::Experimental::RNTupleDirectAccessView< T >::operator= ( RNTupleDirectAccessView< T > &&  other)
default

Friends And Related Symbol Documentation

◆ RNTupleCollectionView

template<typename T >
friend class RNTupleCollectionView
friend

Definition at line 307 of file RNTupleView.hxx.

◆ RNTupleReader

template<typename T >
friend class RNTupleReader
friend

Definition at line 306 of file RNTupleView.hxx.

Member Data Documentation

◆ fField

template<typename T >
RField<T> ROOT::Experimental::RNTupleDirectAccessView< T >::fField
protected

Definition at line 310 of file RNTupleView.hxx.

◆ fFieldRange

template<typename T >
RNTupleGlobalRange ROOT::Experimental::RNTupleDirectAccessView< T >::fFieldRange
protected

Definition at line 311 of file RNTupleView.hxx.

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