Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
ROOT::Experimental::RNTupleViewCollection Class Reference

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

Definition at line 210 of file RNTupleView.hxx.

Public Member Functions

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

Definition at line 237 of file RNTupleView.hxx.

◆ GetCollectionRange() [2/2]

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

Definition at line 230 of file RNTupleView.hxx.

◆ GetView()

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

Definition at line 246 of file RNTupleView.hxx.

◆ GetViewCollection()

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

Definition at line 250 of file RNTupleView.hxx.

◆ operator()() [1/2]

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

Definition at line 261 of file RNTupleView.hxx.

◆ operator()() [2/2]

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

Definition at line 255 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 Symbol Documentation

◆ RNTupleReader

friend class RNTupleReader
friend

Definition at line 211 of file RNTupleView.hxx.

Member Data Documentation

◆ fCollectionFieldId

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

Definition at line 215 of file RNTupleView.hxx.

◆ fSource

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

Definition at line 214 of file RNTupleView.hxx.

Libraries for ROOT::Experimental::RNTupleViewCollection:

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