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 228 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)
 Raises an exception if there is no field with the given name.
 
RNTupleViewCollection GetViewCollection (std::string_view fieldName)
 Raises an exception if there is no field with the given name.
 
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 (DescriptorId_t fieldId, Detail::RPageSource *pageSource)
 
 RNTupleView (RNTupleView &&other)=default
 
 ~RNTupleView ()
 
RNTupleGlobalRange GetFieldRange () const
 
std::enable_if_t< Internal::IsMappable< FieldT >::value, const C * > MapV (const RClusterIndex &clusterIndex, NTupleSize_t &nItems)
 
std::enable_if_t< Internal::IsMappable< FieldT >::value, const C * > MapV (NTupleSize_t globalIndex, NTupleSize_t &nItems)
 
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 235 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 255 of file RNTupleView.hxx.

◆ GetCollectionRange() [2/2]

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

Definition at line 248 of file RNTupleView.hxx.

◆ GetView()

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

Raises an exception if there is no field with the given name.

Definition at line 265 of file RNTupleView.hxx.

◆ GetViewCollection()

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

Raises an exception if there is no field with the given name.

Definition at line 275 of file RNTupleView.hxx.

◆ operator()() [1/2]

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

Definition at line 291 of file RNTupleView.hxx.

◆ operator()() [2/2]

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

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

Member Data Documentation

◆ fCollectionFieldId

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

Definition at line 233 of file RNTupleView.hxx.

◆ fSource

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

Definition at line 232 of file RNTupleView.hxx.

Libraries for ROOT::Experimental::RNTupleViewCollection:

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