Project
Loading...
Searching...
No Matches
o2::dataformats::AbstractRefAccessor< T, N > Class Template Reference

#include <AbstractRefAccessor.h>

Public Member Functions

template<typename C >
void registerContainer (const C &cont, int src)
 register container in the accessor
 
bool isLoaded (int src) const
 
template<typename U >
const U & get_as (int src, int idx) const
 get object as user provided type from explicitly provided source, index
 
template<typename U , typename I >
const U & get_as (const I globIdx) const
 get object as user provided type from explicitly provided source, index
 
const T & get (int src, int idx) const
 get object from explicitly provided source, index
 
template<typename I >
const T & get (const I globIdx) const
 get object from the global index
 
template<typename U >
auto getSpan (int src) const
 access particula source container as a span
 
size_t getSize (int src) const
 

Detailed Description

template<typename T, int N>
class o2::dataformats::AbstractRefAccessor< T, N >

Definition at line 34 of file AbstractRefAccessor.h.

Member Function Documentation

◆ get() [1/2]

template<typename T , int N>
template<typename I >
const T & o2::dataformats::AbstractRefAccessor< T, N >::get ( const I  globIdx) const
inline

get object from the global index

Definition at line 73 of file AbstractRefAccessor.h.

◆ get() [2/2]

template<typename T , int N>
const T & o2::dataformats::AbstractRefAccessor< T, N >::get ( int  src,
int  idx 
) const
inline

get object from explicitly provided source, index

Definition at line 66 of file AbstractRefAccessor.h.

◆ get_as() [1/2]

template<typename T , int N>
template<typename U , typename I >
const U & o2::dataformats::AbstractRefAccessor< T, N >::get_as ( const I  globIdx) const
inline

get object as user provided type from explicitly provided source, index

Definition at line 60 of file AbstractRefAccessor.h.

◆ get_as() [2/2]

template<typename T , int N>
template<typename U >
const U & o2::dataformats::AbstractRefAccessor< T, N >::get_as ( int  src,
int  idx 
) const
inline

get object as user provided type from explicitly provided source, index

Definition at line 53 of file AbstractRefAccessor.h.

◆ getSize()

template<typename T , int N>
size_t o2::dataformats::AbstractRefAccessor< T, N >::getSize ( int  src) const
inline

Definition at line 85 of file AbstractRefAccessor.h.

◆ getSpan()

template<typename T , int N>
template<typename U >
auto o2::dataformats::AbstractRefAccessor< T, N >::getSpan ( int  src) const
inline

access particula source container as a span

Definition at line 80 of file AbstractRefAccessor.h.

◆ isLoaded()

template<typename T , int N>
bool o2::dataformats::AbstractRefAccessor< T, N >::isLoaded ( int  src) const
inline

Definition at line 46 of file AbstractRefAccessor.h.

◆ registerContainer()

template<typename T , int N>
template<typename C >
void o2::dataformats::AbstractRefAccessor< T, N >::registerContainer ( const C &  cont,
int  src 
)
inline

register container in the accessor

Definition at line 39 of file AbstractRefAccessor.h.


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