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

jhl_Array Class Reference

#include <jhl_array_templ.h>

Inheritance diagram for jhl_Array:

jhl_GrowableArray List of all members.

Public Methods

 jhl_Array ( int length )
 jhl_Array ( jhl_Array<T>* arr )
 ~jhl_Array ()
int length () const
T* at ( int index ) const
void at_put ( int index, T* obj )
int index ( T* obj )
void add_elem ( T* obj )
T* shrink_array ( int index )
jhl_Array<T>* append_elem (T* elem)
jhl_Array<T>* append_array (jhl_Array<T>* arr)

Protected Attributes

int _length
T** _array


Detailed Description

template<class T> class jhl_Array


Constructor & Destructor Documentation

template<class T>
jhl_Array<T>::jhl_Array<T> (
int length) [inline]

template<class T>
jhl_Array<T>::jhl_Array<T> (
jhl_Array<T>* arr) [inline]

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


Member Function Documentation

template<class T>
void jhl_Array<T>::add_elem (
T * obj) [inline]

template<class T>
jhl_Array<T>* jhl_Array<T>::append_array<T> (
jhl_Array<T>* arr) [inline]

template<class T>
jhl_Array<T>* jhl_Array<T>::append_elem<T> (
T * elem) [inline]

template<class T>
T * jhl_Array<T>::at (
int index) const [inline]

template<class T>
void jhl_Array<T>::at_put (
int index,
T * obj) [inline]

template<class T>
int jhl_Array<T>::index (
T * obj) [inline]

template<class T>
int jhl_Array<T>::length () const [inline]

template<class T>
T * jhl_Array<T>::shrink_array (
int index) [inline]


Member Data Documentation

template<class T>
T ** jhl_Array<T>::_array [protected]

template<class T>
int jhl_Array<T>::_length [protected]


The documentation for this class was generated from the following file:
Generated at Mon Jul 31 13:43:36 2000 for NCI SUIF by doxygen 1.1.2 written by Dimitri van Heesch, © 1997-2000