xyzzy::PTArray< T > Class Template Reference

Type-specific array with bounds checking. More...

#include <array.hxx>

Inheritance diagram for xyzzy::PTArray< T >:

xyzzy::TArray List of all members.

Public Member Functions

 PTArray ()
 PTArray (len_t len)
 PTArray (const PTArray &r)
 PTArray (const T *const p, const T stopAt)
PTArrayoperator= (const PTArray &r)
void resize (len_t len)
T & operator[] (len_t ix)
const T & operator[] (len_t ix) const
 ~PTArray ()

Static Public Member Functions

static void copy (const PTArray &from, PTArray &to)

Private Member Functions

void copy (const PTArray &from)

Private Attributes

T * mp_ar

Detailed Description

template<class T>
class xyzzy::PTArray< T >

Type-specific array with bounds checking.


Constructor & Destructor Documentation

template<class T>
xyzzy::PTArray< T >::PTArray (  )  [inline, explicit]

template<class T>
xyzzy::PTArray< T >::PTArray ( len_t  len  )  [inline, explicit]

template<class T>
xyzzy::PTArray< T >::PTArray ( const PTArray< T > &  r  )  [inline]

template<class T>
xyzzy::PTArray< T >::PTArray ( const T *const  p,
const T  stopAt 
) [inline, explicit]

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


Member Function Documentation

template<class T>
PTArray& xyzzy::PTArray< T >::operator= ( const PTArray< T > &  r  )  [inline]

template<class T>
void xyzzy::PTArray< T >::resize ( len_t  len  )  [inline]

template<class T>
T& xyzzy::PTArray< T >::operator[] ( len_t  ix  )  [inline]

template<class T>
const T& xyzzy::PTArray< T >::operator[] ( len_t  ix  )  const [inline]

template<class T>
static void xyzzy::PTArray< T >::copy ( const PTArray< T > &  from,
PTArray< T > &  to 
) [inline, static]

template<class T>
void xyzzy::PTArray< T >::copy ( const PTArray< T > &  from  )  [inline, private]


Member Data Documentation

template<class T>
T* xyzzy::PTArray< T >::mp_ar [private]


The documentation for this class was generated from the following file:
Generated on Thu Mar 22 13:51:08 2007 for anvil by  doxygen 1.5.1