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

InstArray Class Reference

#include <InstArray.h>

Inheritance diagram for InstArray:

NArray NBaseArray

Collaboration diagram for InstArray:

List of all members.


Public Members

 InstArray ()
 InstArray (Int size, Int alloc = kFirstNAllocation)
T& operator[] (Int i)
indexing operator.

const T& operator[] (Int i) const
indexing operator.

Void Append (const T &t)
Append single item to array.

T& Last ()
Return last item in array.

const T& Last () const
Return last item in array.

T& Top ()
Return top of stack.

const T& Top () const
Return top of stack.

Void Push (const T &t)
Push item onto stack.

const T& Item (Int i) const
T& Item (Int i)
InstArrayStats stats


Detailed Description

template<class T> class InstArray

Definition at line 61 of file InstArray.h.


Constructor & Destructor Documentation

template<class T>
InstArray<T>::InstArray<T> ()

Definition at line 64 of file InstArray.h.

template<class T>
InstArray<T>::InstArray<T> (Int size, Int alloc = kFirstNAllocation)

Definition at line 65 of file InstArray.h.


Member Function Documentation

template<class T>
TMPLArray Void InstArray<T>::Append (const T & t) [inline]

Append single item to array.

Reimplemented from NArray.

Definition at line 153 of file InstArray.h.

template<class T>
T & InstArray<T>::Item (Int i) [inline]

Reimplemented from NArray.

Definition at line 85 of file InstArray.h.

template<class T>
const T & InstArray<T>::Item (Int i) const [inline]

Reimplemented from NArray.

Definition at line 83 of file InstArray.h.

template<class T>
TMPLArray const T & InstArray<T>::Last () const [inline]

Return last item in array.

Definition at line 138 of file InstArray.h.

template<class T>
TMPLArray T & InstArray<T>::Last () [inline]

Return last item in array.

Reimplemented from NArray.

Definition at line 126 of file InstArray.h.

template<class T>
TMPLArray Void InstArray<T>::Push (const T & t) [inline]

Push item onto stack.

Reimplemented from NArray.

Definition at line 144 of file InstArray.h.

template<class T>
TMPLArray const T & InstArray<T>::Top () const [inline]

Return top of stack.

Definition at line 132 of file InstArray.h.

template<class T>
TMPLArray T & InstArray<T>::Top () [inline]

Return top of stack.

Reimplemented from NArray.

Definition at line 120 of file InstArray.h.

template<class T>
TMPLArray const T & InstArray<T>::operator[] (Int i) const [inline]

indexing operator.

Reimplemented from NArray.

Definition at line 112 of file InstArray.h.

template<class T>
TMPLArray T & InstArray<T>::operator[] (Int i) [inline]

indexing operator.

Reimplemented from NArray.

Definition at line 103 of file InstArray.h.


Member Data Documentation

template<class T>
InstArrayStats InstArray<T>::stats

Definition at line 88 of file InstArray.h.


The documentation for this class was generated from the following file:
Generated at Sat Aug 5 00:16:34 2000 for Class Library by doxygen 1.1.0 written by Dimitri van Heesch, © 1997-2000