Sundance::FixedArray< N, T > Class Template Reference

List of all members.

Public Member Functions

 FixedArray ()
const T & operator[] (int i) const
T & operator[] (int i)
int size () const
const T * begin () const
const T * end () const
T * begin ()
T * end ()
bool operator< (const FixedArray< N, T > &other) const

Private Attributes

data_ [N]


Detailed Description

template<int N, class T>
class Sundance::FixedArray< N, T >

A simple fixed-size array

Definition at line 45 of file SundanceFixedArray.hpp.


Constructor & Destructor Documentation

template<int N, class T>
Sundance::FixedArray< N, T >::FixedArray (  )  [inline]

Definition at line 49 of file SundanceFixedArray.hpp.


Member Function Documentation

template<int N, class T>
T* Sundance::FixedArray< N, T >::begin (  )  [inline]

Definition at line 77 of file SundanceFixedArray.hpp.

References Sundance::FixedArray< N, T >::data_.

template<int N, class T>
const T* Sundance::FixedArray< N, T >::begin (  )  const [inline]

template<int N, class T>
T* Sundance::FixedArray< N, T >::end (  )  [inline]

Definition at line 80 of file SundanceFixedArray.hpp.

References Sundance::FixedArray< N, T >::data_.

template<int N, class T>
const T* Sundance::FixedArray< N, T >::end (  )  const [inline]

template<int N, class T>
bool Sundance::FixedArray< N, T >::operator< ( const FixedArray< N, T > &  other  )  const [inline]

template<int N, class T>
T& Sundance::FixedArray< N, T >::operator[] ( int  i  )  [inline]

Definition at line 60 of file SundanceFixedArray.hpp.

References Sundance::FixedArray< N, T >::data_.

template<int N, class T>
const T& Sundance::FixedArray< N, T >::operator[] ( int  i  )  const [inline]

Definition at line 52 of file SundanceFixedArray.hpp.

References Sundance::FixedArray< N, T >::data_.

template<int N, class T>
int Sundance::FixedArray< N, T >::size (  )  const [inline]

Definition at line 68 of file SundanceFixedArray.hpp.


Member Data Documentation

template<int N, class T>
T Sundance::FixedArray< N, T >::data_[N] [private]

Site Contact