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

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

An RNTupleView for a known type.

An RNTupleView that can be used when the type is unknown at compile time.

See RNTupleViewBase.

Definition at line 131 of file RNTupleView.hxx.

Public Member Functions

 RNTupleView (const RNTupleView &other)=delete
 
 RNTupleView (RNTupleView &&other)=default
 
 ~RNTupleView ()=default
 
const T & operator() (NTupleSize_t globalIndex)
 
const T & operator() (RClusterIndex clusterIndex)
 
RNTupleViewoperator= (const RNTupleView &other)=delete
 
RNTupleViewoperator= (RNTupleView &&other)=default
 
- Public Member Functions inherited from ROOT::Experimental::RNTupleViewBase< T >
 RNTupleViewBase (const RNTupleViewBase &other)=delete
 
 RNTupleViewBase (RNTupleViewBase &&other)=default
 
 ~RNTupleViewBase ()=default
 
void Bind (std::shared_ptr< T > objPtr)
 
void BindRawPtr (T *rawPtr)
 
RFieldBase::RBulk CreateBulk ()
 
void EmplaceNew ()
 
const RFieldBaseGetField () const
 
RNTupleGlobalRange GetFieldRange () const
 
const RFieldBase::RValueGetValue () const
 
RNTupleViewBaseoperator= (const RNTupleViewBase &other)=delete
 
RNTupleViewBaseoperator= (RNTupleViewBase &&other)=default
 

Protected Member Functions

 RNTupleView (std::unique_ptr< RFieldBase > field, RNTupleGlobalRange range)
 
 RNTupleView (std::unique_ptr< RFieldBase > field, RNTupleGlobalRange range, std::shared_ptr< T > objPtr)
 
 RNTupleView (std::unique_ptr< RFieldBase > field, RNTupleGlobalRange range, T *rawPtr)
 
- Protected Member Functions inherited from ROOT::Experimental::RNTupleViewBase< T >
 RNTupleViewBase (std::unique_ptr< RFieldBase > field, RNTupleGlobalRange range)
 
 RNTupleViewBase (std::unique_ptr< RFieldBase > field, RNTupleGlobalRange range, std::shared_ptr< T > objPtr)
 
 RNTupleViewBase (std::unique_ptr< RFieldBase > field, RNTupleGlobalRange range, T *rawPtr)
 

Friends

class RNTupleCollectionView
 
class RNTupleReader
 

Additional Inherited Members

- Static Protected Member Functions inherited from ROOT::Experimental::RNTupleViewBase< T >
static std::unique_ptr< RFieldBaseCreateField (DescriptorId_t fieldId, Internal::RPageSource &pageSource)
 
- Protected Attributes inherited from ROOT::Experimental::RNTupleViewBase< T >
std::unique_ptr< RFieldBasefField
 
RNTupleGlobalRange fFieldRange
 
RFieldBase::RValue fValue
 

#include <ROOT/RNTupleView.hxx>

Inheritance diagram for ROOT::Experimental::RNTupleView< T >:
[legend]

Constructor & Destructor Documentation

◆ RNTupleView() [1/5]

template<typename T >
ROOT::Experimental::RNTupleView< T >::RNTupleView ( std::unique_ptr< RFieldBase field,
RNTupleGlobalRange  range 
)
inlineprotected

Definition at line 136 of file RNTupleView.hxx.

◆ RNTupleView() [2/5]

template<typename T >
ROOT::Experimental::RNTupleView< T >::RNTupleView ( std::unique_ptr< RFieldBase field,
RNTupleGlobalRange  range,
std::shared_ptr< T >  objPtr 
)
inlineprotected

Definition at line 141 of file RNTupleView.hxx.

◆ RNTupleView() [3/5]

template<typename T >
ROOT::Experimental::RNTupleView< T >::RNTupleView ( std::unique_ptr< RFieldBase field,
RNTupleGlobalRange  range,
T *  rawPtr 
)
inlineprotected

Definition at line 146 of file RNTupleView.hxx.

◆ RNTupleView() [4/5]

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

◆ RNTupleView() [5/5]

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

◆ ~RNTupleView()

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

Member Function Documentation

◆ operator()() [1/2]

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

Definition at line 158 of file RNTupleView.hxx.

◆ operator()() [2/2]

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

Definition at line 164 of file RNTupleView.hxx.

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

Friends And Related Symbol Documentation

◆ RNTupleCollectionView

template<typename T >
friend class RNTupleCollectionView
friend

Definition at line 133 of file RNTupleView.hxx.

◆ RNTupleReader

template<typename T >
friend class RNTupleReader
friend

Definition at line 132 of file RNTupleView.hxx.

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