ATLAS Offline Software
Public Member Functions | Public Attributes | List of all members
CxxUtils::vec_fb< T, N > Struct Template Reference

#include <vec_fb.h>

Collaboration diagram for CxxUtils::vec_fb< T, N >:

Public Member Functions

 vec_fb ()=default
 
 vec_fb (const vec_fb &)=default
 
vec_fboperator= (const vec_fb &)=default
 
 vec_fb (std::initializer_list< T > init)
 
operator[] (size_t n) const
 
T & operator[] (size_t n)
 

Public Attributes

m_arr [N]
 

Detailed Description

template<typename T, size_t N>
struct CxxUtils::vec_fb< T, N >

Definition at line 30 of file vec_fb.h.

Constructor & Destructor Documentation

◆ vec_fb() [1/3]

template<typename T , size_t N>
CxxUtils::vec_fb< T, N >::vec_fb ( )
default

◆ vec_fb() [2/3]

template<typename T , size_t N>
CxxUtils::vec_fb< T, N >::vec_fb ( const vec_fb< T, N > &  )
default

◆ vec_fb() [3/3]

template<typename T , size_t N>
CxxUtils::vec_fb< T, N >::vec_fb ( std::initializer_list< T >  init)
inline

Definition at line 38 of file vec_fb.h.

39  {
40  std::copy(init.begin(), init.end(), m_arr);
41  std::fill(m_arr + init.size(), m_arr + N, T());
42  }

Member Function Documentation

◆ operator=()

template<typename T , size_t N>
vec_fb& CxxUtils::vec_fb< T, N >::operator= ( const vec_fb< T, N > &  )
default

◆ operator[]() [1/2]

template<typename T , size_t N>
T& CxxUtils::vec_fb< T, N >::operator[] ( size_t  n)
inline

Definition at line 45 of file vec_fb.h.

45 { return m_arr[n]; }

◆ operator[]() [2/2]

template<typename T , size_t N>
T CxxUtils::vec_fb< T, N >::operator[] ( size_t  n) const
inline

Definition at line 44 of file vec_fb.h.

44 { return m_arr[n]; }

Member Data Documentation

◆ m_arr

template<typename T , size_t N>
T CxxUtils::vec_fb< T, N >::m_arr[N]

Definition at line 47 of file vec_fb.h.


The documentation for this struct was generated from the following file:
JetTiledMap::N
@ N
Definition: TiledEtaPhiMap.h:44
beamspotman.n
n
Definition: beamspotman.py:731
fill
void fill(H5::Group &out_file, size_t iterations)
Definition: test-hdf5-writer.cxx:95
python.PyKernel.init
def init(v_theApp, v_rootStream=None)
Definition: PyKernel.py:45
calibdata.copy
bool copy
Definition: calibdata.py:27
CxxUtils::vec_fb::m_arr
T m_arr[N]
Definition: vec_fb.h:47
TSU::T
unsigned long long T
Definition: L1TopoDataTypes.h:35