Project
Loading...
Searching...
No Matches
o2::framework::Array2D< T > Struct Template Reference

#include <Array2D.h>

Public Types

using element_t = T
 

Public Member Functions

void is_array_2d ()
 
 Array2D ()
 
 Array2D (T const *data_, uint32_t r, uint32_t c)
 
 Array2D (std::vector< T > data_, uint32_t r, uint32_t c)
 
 Array2D (Array2D< T > const &other)
 
 Array2D (Array2D< T > &&other)
 
Array2Doperator= (Array2D< T > const &other)
 
Array2Doperator= (Array2D< T > &&other)
 
 ~Array2D ()
 
operator() (uint32_t y, uint32_t x) const
 
T * operator[] (uint32_t y) const
 

Public Attributes

T * data
 
uint32_t rows
 
uint32_t cols
 

Detailed Description

template<typename T>
struct o2::framework::Array2D< T >

Definition at line 26 of file Array2D.h.

Member Typedef Documentation

◆ element_t

template<typename T >
using o2::framework::Array2D< T >::element_t = T

Definition at line 28 of file Array2D.h.

Constructor & Destructor Documentation

◆ Array2D() [1/5]

template<typename T >
o2::framework::Array2D< T >::Array2D ( )
inline

Definition at line 30 of file Array2D.h.

◆ Array2D() [2/5]

template<typename T >
o2::framework::Array2D< T >::Array2D ( T const *  data_,
uint32_t  r,
uint32_t  c 
)
inline

Definition at line 37 of file Array2D.h.

◆ Array2D() [3/5]

template<typename T >
o2::framework::Array2D< T >::Array2D ( std::vector< T >  data_,
uint32_t  r,
uint32_t  c 
)
inline

Definition at line 47 of file Array2D.h.

◆ Array2D() [4/5]

template<typename T >
o2::framework::Array2D< T >::Array2D ( Array2D< T > const &  other)
inline

Definition at line 58 of file Array2D.h.

◆ Array2D() [5/5]

template<typename T >
o2::framework::Array2D< T >::Array2D ( Array2D< T > &&  other)
inline

Definition at line 70 of file Array2D.h.

◆ ~Array2D()

template<typename T >
o2::framework::Array2D< T >::~Array2D ( )
inline

Definition at line 104 of file Array2D.h.

Member Function Documentation

◆ is_array_2d()

template<typename T >
void o2::framework::Array2D< T >::is_array_2d ( )

◆ operator()()

template<typename T >
T o2::framework::Array2D< T >::operator() ( uint32_t  y,
uint32_t  x 
) const
inline

Definition at line 111 of file Array2D.h.

◆ operator=() [1/2]

template<typename T >
Array2D & o2::framework::Array2D< T >::operator= ( Array2D< T > &&  other)
inline

Definition at line 93 of file Array2D.h.

◆ operator=() [2/2]

template<typename T >
Array2D & o2::framework::Array2D< T >::operator= ( Array2D< T > const &  other)
inline

Definition at line 80 of file Array2D.h.

◆ operator[]()

template<typename T >
T * o2::framework::Array2D< T >::operator[] ( uint32_t  y) const
inline

Definition at line 115 of file Array2D.h.

Member Data Documentation

◆ cols

template<typename T >
uint32_t o2::framework::Array2D< T >::cols

Definition at line 122 of file Array2D.h.

◆ data

template<typename T >
T* o2::framework::Array2D< T >::data

Definition at line 120 of file Array2D.h.

◆ rows

template<typename T >
uint32_t o2::framework::Array2D< T >::rows

Definition at line 121 of file Array2D.h.


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