#include <ParmParse.H>
Inheritance diagram for PP_Array< T >:
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 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|