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

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

Definition at line 353 of file RNTupleView.hxx.

Public Member Functions

 RNTupleCollectionView (const RNTupleCollectionView &other)=delete
 
 RNTupleCollectionView (RNTupleCollectionView &&other)=default
 
 ~RNTupleCollectionView ()=default
 
RNTupleClusterRange GetCollectionRange (NTupleSize_t globalIndex)
 
RNTupleClusterRange GetCollectionRange (RClusterIndex clusterIndex)
 
RNTupleCollectionView GetCollectionView (std::string_view fieldName)
 Raises an exception if there is no field with the given name.
 
template<typename T >
RNTupleView< T, false > GetView (std::string_view fieldName)
 Raises an exception if there is no field with the given name.
 
ClusterSize_t operator() (NTupleSize_t globalIndex)
 
ClusterSize_t operator() (RClusterIndex clusterIndex)
 
RNTupleCollectionViewoperator= (const RNTupleCollectionView &other)=delete
 
RNTupleCollectionViewoperator= (RNTupleCollectionView &&other)=default
 
- Public Member Functions inherited from ROOT::Experimental::RNTupleView< ClusterSize_t, false >
 RNTupleView (const RNTupleView &other)=delete
 
 RNTupleView (RNTupleView &&other)=default
 
 ~RNTupleView ()=default
 
void Bind (std::shared_ptr< ClusterSize_t > objPtr)
 
void BindRawPtr (ClusterSize_t *rawPtr)
 
void EmplaceNew ()
 
const FieldTGetField () const
 
RNTupleGlobalRange GetFieldRange () const
 
const C * MapV (NTupleSize_t globalIndex, NTupleSize_t &nItems)
 
const C * MapV (RClusterIndex clusterIndex, NTupleSize_t &nItems)
 
const ClusterSize_toperator() (NTupleSize_t globalIndex)
 
const ClusterSize_toperator() (RClusterIndex clusterIndex)
 
RNTupleViewoperator= (const RNTupleView &other)=delete
 
RNTupleViewoperator= (RNTupleView &&other)=default
 

Private Member Functions

 RNTupleCollectionView (DescriptorId_t fieldId, Internal::RPageSource *source)
 

Private Attributes

DescriptorId_t fCollectionFieldId
 
Internal::RPageSourcefSource
 

Friends

class RNTupleReader
 

#include <ROOT/RNTupleView.hxx>

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

Constructor & Destructor Documentation

◆ RNTupleCollectionView() [1/3]

ROOT::Experimental::RNTupleCollectionView::RNTupleCollectionView ( DescriptorId_t  fieldId,
Internal::RPageSource source 
)
inlineprivate

Definition at line 360 of file RNTupleView.hxx.

◆ RNTupleCollectionView() [2/3]

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

◆ RNTupleCollectionView() [3/3]

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

◆ ~RNTupleCollectionView()

ROOT::Experimental::RNTupleCollectionView::~RNTupleCollectionView ( )
default

Member Function Documentation

◆ GetCollectionRange() [1/2]

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

Definition at line 371 of file RNTupleView.hxx.

◆ GetCollectionRange() [2/2]

RNTupleClusterRange ROOT::Experimental::RNTupleCollectionView::GetCollectionRange ( RClusterIndex  clusterIndex)
inline

Definition at line 378 of file RNTupleView.hxx.

◆ GetCollectionView()

RNTupleCollectionView ROOT::Experimental::RNTupleCollectionView::GetCollectionView ( std::string_view  fieldName)
inline

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

Definition at line 399 of file RNTupleView.hxx.

◆ GetView()

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

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

Definition at line 389 of file RNTupleView.hxx.

◆ operator()() [1/2]

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

Definition at line 409 of file RNTupleView.hxx.

◆ operator()() [2/2]

ClusterSize_t ROOT::Experimental::RNTupleCollectionView::operator() ( RClusterIndex  clusterIndex)
inline

Definition at line 415 of file RNTupleView.hxx.

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

Friends And Related Symbol Documentation

◆ RNTupleReader

friend class RNTupleReader
friend

Definition at line 354 of file RNTupleView.hxx.

Member Data Documentation

◆ fCollectionFieldId

DescriptorId_t ROOT::Experimental::RNTupleCollectionView::fCollectionFieldId
private

Definition at line 358 of file RNTupleView.hxx.

◆ fSource

Internal::RPageSource* ROOT::Experimental::RNTupleCollectionView::fSource
private

Definition at line 357 of file RNTupleView.hxx.

Libraries for ROOT::Experimental::RNTupleCollectionView:

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