Logo ROOT   6.21/01
Reference Guide
ROOT::Experimental::RNTupleViewCollection Class Reference


A view for a collection, that can itself generate new ntuple views for its nested fields.

Definition at line 205 of file RNTupleView.hxx.

Public Member Functions

 RNTupleViewCollection (const RNTupleViewCollection &other)=delete
 
 RNTupleViewCollection (RNTupleViewCollection &&other)=default
 
 ~RNTupleViewCollection ()=default
 
RNTupleClusterRange GetCollectionRange (NTupleSize_t globalIndex)
 
RNTupleClusterRange GetCollectionRange (const RClusterIndex &clusterIndex)
 
template<typename T >
RNTupleView< T > GetView (std::string_view fieldName)
 
RNTupleViewCollection GetViewCollection (std::string_view fieldName)
 
ClusterSize_t operator() (NTupleSize_t globalIndex)
 
ClusterSize_t operator() (const RClusterIndex &clusterIndex)
 
RNTupleViewCollectionoperator= (const RNTupleViewCollection &other)=delete
 
RNTupleViewCollectionoperator= (RNTupleViewCollection &&other)=default
 
- Public Member Functions inherited from ROOT::Experimental::RNTupleView< ClusterSize_t >
 RNTupleView (const RNTupleView &other)=delete
 
 RNTupleView (RNTupleView &&other)=default
 
 ~RNTupleView ()
 
RNTupleGlobalRange GetFieldRange () const
 
std::enable_if_t< Internal::IsMappable< FieldT >::value, const C &> operator() (NTupleSize_t globalIndex)
 
std::enable_if_t<!Internal::IsMappable< FieldT >::value, const C &> operator() (NTupleSize_t globalIndex)
 
std::enable_if_t< Internal::IsMappable< FieldT >::value, const C &> operator() (const RClusterIndex &clusterIndex)
 
std::enable_if_t<!Internal::IsMappable< FieldT >::value, const C &> operator() (const RClusterIndex &clusterIndex)
 
RNTupleViewoperator= (const RNTupleView &other)=delete
 
RNTupleViewoperator= (RNTupleView &&other)=default
 

Private Member Functions

 RNTupleViewCollection (DescriptorId_t fieldId, Detail::RPageSource *source)
 

Private Attributes

DescriptorId_t fCollectionFieldId
 
Detail::RPageSourcefSource
 

Friends

class RNTupleReader
 

#include <ROOT/RNTupleView.hxx>

Inheritance diagram for ROOT::Experimental::RNTupleViewCollection:
[legend]

Constructor & Destructor Documentation

◆ RNTupleViewCollection() [1/3]

ROOT::Experimental::RNTupleViewCollection::RNTupleViewCollection ( DescriptorId_t  fieldId,
Detail::RPageSource source 
)
inlineprivate

Definition at line 212 of file RNTupleView.hxx.

◆ RNTupleViewCollection() [2/3]

ROOT::Experimental::RNTupleViewCollection::RNTupleViewCollection ( const RNTupleViewCollection other)
delete

◆ RNTupleViewCollection() [3/3]

ROOT::Experimental::RNTupleViewCollection::RNTupleViewCollection ( RNTupleViewCollection &&  other)
default

◆ ~RNTupleViewCollection()

ROOT::Experimental::RNTupleViewCollection::~RNTupleViewCollection ( )
default

Member Function Documentation

◆ GetCollectionRange() [1/2]

RNTupleClusterRange ROOT::Experimental::RNTupleViewCollection::GetCollectionRange ( NTupleSize_t  globalIndex)
inline

Definition at line 225 of file RNTupleView.hxx.

◆ GetCollectionRange() [2/2]

RNTupleClusterRange ROOT::Experimental::RNTupleViewCollection::GetCollectionRange ( const RClusterIndex clusterIndex)
inline

Definition at line 232 of file RNTupleView.hxx.

◆ GetView()

template<typename T >
RNTupleView<T> ROOT::Experimental::RNTupleViewCollection::GetView ( std::string_view  fieldName)
inline

Definition at line 241 of file RNTupleView.hxx.

◆ GetViewCollection()

RNTupleViewCollection ROOT::Experimental::RNTupleViewCollection::GetViewCollection ( std::string_view  fieldName)
inline

Definition at line 245 of file RNTupleView.hxx.

◆ operator()() [1/2]

ClusterSize_t ROOT::Experimental::RNTupleViewCollection::operator() ( NTupleSize_t  globalIndex)
inline

Definition at line 250 of file RNTupleView.hxx.

◆ operator()() [2/2]

ClusterSize_t ROOT::Experimental::RNTupleViewCollection::operator() ( const RClusterIndex clusterIndex)
inline

Definition at line 256 of file RNTupleView.hxx.

◆ operator=() [1/2]

RNTupleViewCollection& ROOT::Experimental::RNTupleViewCollection::operator= ( const RNTupleViewCollection other)
delete

◆ operator=() [2/2]

RNTupleViewCollection& ROOT::Experimental::RNTupleViewCollection::operator= ( RNTupleViewCollection &&  other)
default

Friends And Related Function Documentation

◆ RNTupleReader

friend class RNTupleReader
friend

Definition at line 206 of file RNTupleView.hxx.

Member Data Documentation

◆ fCollectionFieldId

DescriptorId_t ROOT::Experimental::RNTupleViewCollection::fCollectionFieldId
private

Definition at line 210 of file RNTupleView.hxx.

◆ fSource

Detail::RPageSource* ROOT::Experimental::RNTupleViewCollection::fSource
private

Definition at line 209 of file RNTupleView.hxx.


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