Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

PP_Array< T > Class Template Reference

#include <ParmParse.H>

Inheritance diagram for PP_Array< T >:

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

Collaboration graph
[legend]
List of all members.

Public Methods

 PP_Array ()
 PP_Array (long len)
 PP_Array (long len, const T &initialvalue)
 PP_Array (const T *vec, long len)
 PP_Array (const PP_Array< T > &rhs)
PP_Array< T > & operator= (const PP_Array< T > &rhs)
 ~PP_Array ()
void clear ()
bool ready () const
void reserve (long _truesize)
void shrinkWrap ()
void resize (long newlen)
void resize (long newlen, const T &initialvalue)
long length () const
long trueSize () const
T & operator[] (long K)
const T & operator[] (long K) const
T & get (long i)
const T & get (long i) const
T * dataPtr ()
const T * dataPtr () const
void set (long i, const T &elem)
void swap (long i, long j)
bool operator== (const PP_Array< T > &rhs) const
bool operator!= (const PP_Array< T > &rhs) const

Protected Attributes

long truesize
long nelem
T * vp

template<class T>
class PP_Array< T >


Constructor & Destructor Documentation

template<class T>
PP_Array< T >::PP_Array   [inline]
 

template<class T>
PP_Array< T >::PP_Array long    len [inline]
 

template<class T>
PP_Array< T >::PP_Array long    len,
const T &    initialvalue
 

template<class T>
PP_Array< T >::PP_Array const T *    vec,
long    len
 

template<class T>
PP_Array< T >::PP_Array const PP_Array< T > &    rhs
 

template<class T>
PP_Array< T >::~PP_Array   [inline]
 


Member Function Documentation

template<class T>
void PP_Array< T >::clear   [inline]
 

template<class T>
const T * PP_Array< T >::dataPtr   const [inline]
 

template<class T>
T * PP_Array< T >::dataPtr   [inline]
 

template<class T>
const T & PP_Array< T >::get long    i const [inline]
 

template<class T>
T & PP_Array< T >::get long    i [inline]
 

template<class T>
long PP_Array< T >::length   const [inline]
 

template<class T>
bool PP_Array< T >::operator!= const PP_Array< T > &    rhs const [inline]
 

template<class T>
PP_Array< T > & PP_Array< T >::operator= const PP_Array< T > &    rhs
 

template<class T>
bool PP_Array< T >::operator== const PP_Array< T > &    rhs const
 

template<class T>
const T & PP_Array< T >::operator[] long    K const [inline]
 

template<class T>
T & PP_Array< T >::operator[] long    K [inline]
 

template<class T>
bool PP_Array< T >::ready   const [inline]
 

template<class T>
void PP_Array< T >::reserve long    _truesize
 

template<class T>
void PP_Array< T >::resize long    newlen,
const T &    initialvalue
[inline]
 

template<class T>
void PP_Array< T >::resize long    newlen [inline]
 

template<class T>
void PP_Array< T >::set long    i,
const T &    elem
[inline]
 

template<class T>
void PP_Array< T >::shrinkWrap  
 

template<class T>
void PP_Array< T >::swap long    i,
long    j
[inline]
 

template<class T>
long PP_Array< T >::trueSize   const [inline]
 


Member Data Documentation

template<class T>
long PP_Array< T >::nelem [protected]
 

template<class T>
long PP_Array< T >::truesize [protected]
 

template<class T>
T* PP_Array< T >::vp [protected]
 


The documentation for this class was generated from the following file:
Generated on Thu Aug 29 11:07:48 2002 for Chombo&INS by doxygen1.2.16