Public Types | Public Member Functions | Private Attributes

stack_array< T, N > Class Template Reference
[Utility Library]

#include <stack_array.h>

Inheritance diagram for stack_array< T, N >:
Inheritance graph
[legend]
Collaboration diagram for stack_array< T, N >:
Collaboration graph
[legend]

List of all members.

Public Types

typedef stack_array< T, N > stack_t

Public Member Functions

 stack_array (void) throw ()
const T & operator[] (int i) const throw ()
T & operator[] (int i) throw ()
int size (void) const throw ()
void clear (void) throw ()
const T * getDataPointer (void) const throw ()
T * getDataPointer (void) throw ()
void push_back (T t) throw ()

Private Attributes

m_array [N::eMaxArraySize]
int m_size

Detailed Description

template<class T, class N>
class stack_array< T, N >

Definition at line 51 of file stack_array.h.


Member Typedef Documentation

template<class T , class N >
typedef stack_array<T,N> stack_array< T, N >::stack_t

Definition at line 53 of file stack_array.h.


Constructor & Destructor Documentation

template<class T , class N >
stack_array< T, N >::stack_array ( void   )  throw () [inline]

Definition at line 55 of file stack_array.h.


Member Function Documentation

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

Definition at line 57 of file stack_array.h.

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

Definition at line 63 of file stack_array.h.

template<class T , class N >
int stack_array< T, N >::size ( void   )  const throw () [inline]

Definition at line 69 of file stack_array.h.

template<class T , class N >
void stack_array< T, N >::clear ( void   )  throw () [inline]

Definition at line 73 of file stack_array.h.

template<class T , class N >
const T* stack_array< T, N >::getDataPointer ( void   )  const throw () [inline]

Definition at line 77 of file stack_array.h.

template<class T , class N >
T* stack_array< T, N >::getDataPointer ( void   )  throw () [inline]

Definition at line 81 of file stack_array.h.

template<class T , class N >
void stack_array< T, N >::push_back ( t  )  throw () [inline]

Definition at line 85 of file stack_array.h.


Member Data Documentation

template<class T , class N >
T stack_array< T, N >::m_array[N::eMaxArraySize] [private]

Definition at line 93 of file stack_array.h.

template<class T , class N >
int stack_array< T, N >::m_size [private]

Definition at line 94 of file stack_array.h.


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