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 222 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 ()=default
 
RNTupleGlobalRange GetFieldRange () const
 
const C * MapV (const RClusterIndex &clusterIndex, NTupleSize_t &nItems)
 
const C * MapV (NTupleSize_t globalIndex, NTupleSize_t &nItems)
 
const ClusterSize_toperator() (const RClusterIndex &clusterIndex)
 
const ClusterSize_toperator() (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

- Public Types inherited from ROOT::Experimental::RNTupleView< ClusterSize_t >
using FieldTypeT = ClusterSize_t
 

#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 229 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 249 of file RNTupleView.hxx.

◆ GetCollectionRange() [2/2]

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

Definition at line 242 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 259 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 268 of file RNTupleView.hxx.

◆ operator()() [1/2]

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

Definition at line 283 of file RNTupleView.hxx.

◆ operator()() [2/2]

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

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

Member Data Documentation

◆ fCollectionFieldId

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

Definition at line 227 of file RNTupleView.hxx.

◆ fSource

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

Definition at line 226 of file RNTupleView.hxx.

Libraries for ROOT::Experimental::RNTupleViewCollection:

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