Logo ROOT  
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 274 of file RNTupleView.hxx.

Public Member Functions

 RNTupleViewCollection (const RNTupleViewCollection &other)=delete
 
 RNTupleViewCollection (RNTupleViewCollection &&other)=default
 
 ~RNTupleViewCollection ()=default
 
template<typename T >
RNTupleView< T > GetView (std::string_view fieldName)
 
RNTupleViewCollection GetViewCollection (std::string_view fieldName)
 
RNTupleClusterRange GetViewRange (const RClusterIndex &clusterIndex)
 
RNTupleClusterRange GetViewRange (NTupleSize_t globalIndex)
 
ClusterSize_t operator() (const RClusterIndex &clusterIndex)
 
ClusterSize_t operator() (NTupleSize_t globalIndex)
 
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 ()=default
 
ClusterSize_t operator() (const RClusterIndex &clusterIndex)
 
ClusterSize_t operator() (NTupleSize_t globalIndex)
 
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
 

Additional Inherited Members

- Protected Member Functions inherited from ROOT::Experimental::RNTupleView< ClusterSize_t >
 RNTupleView (DescriptorId_t fieldId, Detail::RPageSource *pageSource)
 
- Protected Attributes inherited from ROOT::Experimental::RNTupleView< ClusterSize_t >
RField< ClusterSize_tfField
 

#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 281 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

◆ GetView()

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

Definition at line 310 of file RNTupleView.hxx.

◆ GetViewCollection()

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

Definition at line 314 of file RNTupleView.hxx.

◆ GetViewRange() [1/2]

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

Definition at line 301 of file RNTupleView.hxx.

◆ GetViewRange() [2/2]

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

Definition at line 294 of file RNTupleView.hxx.

◆ operator()() [1/2]

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

Definition at line 325 of file RNTupleView.hxx.

◆ operator()() [2/2]

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

Definition at line 319 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 275 of file RNTupleView.hxx.

Member Data Documentation

◆ fCollectionFieldId

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

Definition at line 279 of file RNTupleView.hxx.

◆ fSource

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

Definition at line 278 of file RNTupleView.hxx.

Libraries for ROOT::Experimental::RNTupleViewCollection:
[legend]

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