autoarray< T > Class Template Reference

#include <autoarray.h>

Inheritance diagram for autoarray< T >:

Inheritance graph
[legend]
Collaboration diagram for autoarray< T >:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 autoarray ()
 autoarray (std::size_t n)
T & operator[] (sint32 i) throw (range_error)
 ~autoarray ()
 autoarray (const autoarray &a)
autoarrayoperator= (const autoarray &a)
void set_size (std::size_t new_size)

Private Attributes

std::size_t size_
T * data_

Classes

class  range_error

Detailed Description

template<class T>
class autoarray< T >

Definition at line 25 of file autoarray.h.


Constructor & Destructor Documentation

template<class T>
autoarray< T >::autoarray (  )  [inline]

Definition at line 50 of file autoarray.h.

template<class T>
autoarray< T >::autoarray ( std::size_t  n  )  [inline]

Definition at line 52 of file autoarray.h.

template<class T>
autoarray< T >::~autoarray (  )  [inline]

Definition at line 66 of file autoarray.h.

template<class T>
autoarray< T >::autoarray ( const autoarray< T > &  a  )  [inline]

Definition at line 71 of file autoarray.h.


Member Function Documentation

template<class T>
T& autoarray< T >::operator[] ( sint32  i  )  throw (range_error) [inline]

Definition at line 57 of file autoarray.h.

template<class T>
autoarray& autoarray< T >::operator= ( const autoarray< T > &  a  )  [inline]

Definition at line 80 of file autoarray.h.

template<class T>
void autoarray< T >::set_size ( std::size_t  new_size  )  [inline]

Definition at line 95 of file autoarray.h.

Referenced by Shapes_vga_file::init().


Member Data Documentation

template<class T>
std::size_t autoarray< T >::size_ [private]

Definition at line 28 of file autoarray.h.

Referenced by autoarray< Shape_info >::autoarray(), autoarray< Shape_info >::operator=(), autoarray< Shape_info >::operator[](), and autoarray< Shape_info >::set_size().

template<class T>
T* autoarray< T >::data_ [private]

Definition at line 29 of file autoarray.h.

Referenced by autoarray< Shape_info >::autoarray(), autoarray< Shape_info >::operator=(), autoarray< Shape_info >::operator[](), autoarray< Shape_info >::set_size(), and autoarray< Shape_info >::~autoarray().


The documentation for this class was generated from the following file:
Generated on Mon Jul 9 14:47:10 2007 for ExultEngine by  doxygen 1.5.1