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

BoundedListTemplate Class Reference

#include <blist.h>

Class diagram for BoundedListTemplate:

ResourceObj VMObj

List of all members.

Public Members

 BoundedListTemplate (int32 maxLen)
 BoundedListTemplate (int32 maxLen, bool on_c_heap)
 ~BoundedListTemplate ()
void clear ()
int32 length ()
int32 capacity ()
bool isEmpty ()
bool nonEmpty ()
bool isFull ()
void append (data_type elem)
void appendList (BoundedListTemplate* l)
void push (data_type elem)
data_type nth (int32 i)
data_type first ()
data_type last ()
data_type pop ()
data_type top ()
void nthPut (int32 i, data_type elem, bool okGrow = true)
bool contains (data_type elem)
fint find (data_type elem)
fint find (data_type elem, bool (* f)(data_type, data_type))
void remove (data_type elem)
void removeFast (data_type elem)
void apply (void f(data_type))
data_type* data_addr ()
void print_short ()
virtual void print ()

Protected Members

void grow ()
int32 len
int32 max
data_type* data
bool on_C_heap

Detailed Description

template<class data_type> class BoundedListTemplate


Member Function Documentation

template<class data_type>
BoundedListTemplate<data_type>::BoundedListTemplate<data_type> (int32 maxLen)

template<class data_type>
BoundedListTemplate<data_type>::BoundedListTemplate<data_type> (int32 maxLen, bool c_heap)

template<class data_type>
BoundedListTemplate<data_type>::~BoundedListTemplate<data_type> () [inline]

template<class data_type>
void BoundedListTemplate<data_type>::clear () [inline]

template<class data_type>
int32 BoundedListTemplate<data_type>::length () [inline]

template<class data_type>
int32 BoundedListTemplate<data_type>::capacity () [inline]

template<class data_type>
bool BoundedListTemplate<data_type>::isEmpty () [inline]

template<class data_type>
bool BoundedListTemplate<data_type>::nonEmpty () [inline]

template<class data_type>
bool BoundedListTemplate<data_type>::isFull () [inline]

template<class data_type>
void BoundedListTemplate<data_type>::append (data_type elem) [inline]

template<class data_type>
void BoundedListTemplate<data_type>::appendList (BoundedListTemplate<data_type> * l) [inline]

template<class data_type>
void BoundedListTemplate<data_type>::push (data_type elem) [inline]

template<class data_type>
data_type BoundedListTemplate<data_type>::nth (int32 i) [inline]

template<class data_type>
data_type BoundedListTemplate<data_type>::first () [inline]

template<class data_type>
data_type BoundedListTemplate<data_type>::last () [inline]

template<class data_type>
data_type BoundedListTemplate<data_type>::pop () [inline]

template<class data_type>
data_type BoundedListTemplate<data_type>::top () [inline]

template<class data_type>
void BoundedListTemplate<data_type>::nthPut (int32 i, data_type elem, bool okGrow = true) [inline]

template<class data_type>
bool BoundedListTemplate<data_type>::contains (data_type elem)

template<class data_type>
fint BoundedListTemplate<data_type>::find (data_type elem)

template<class data_type>
fint BoundedListTemplate<data_type>::find (data_type token, bool(* f)(data_type,data_type))

template<class data_type>
void BoundedListTemplate<data_type>::remove (data_type elem)

template<class data_type>
void BoundedListTemplate<data_type>::removeFast (data_type elem)

template<class data_type>
void BoundedListTemplate<data_type>::apply (void f(data_type))

template<class data_type>
data_type * BoundedListTemplate<data_type>::data_addr () [inline]

template<class data_type>
void BoundedListTemplate<data_type>::print_short () [inline, virtual]

Reimplemented from VMObj.

template<class data_type>
void BoundedListTemplate<data_type>::print () [virtual]

Reimplemented from VMObj.

template<class data_type>
void BoundedListTemplate<data_type>::grow () [protected]


Member Data Documentation

template<class data_type>
int32 BoundedListTemplate<data_type>::len [protected]

template<class data_type>
int32 BoundedListTemplate<data_type>::max [protected]

template<class data_type>
data_type* BoundedListTemplate<data_type>::data [protected]

template<class data_type>
bool BoundedListTemplate<data_type>::on_C_heap [protected]


The documentation for this class was generated from the following file:
Generated at Tue Jun 27 12:07:09 2000 for SelfVM by doxygen 1.0.0 written by Dimitri van Heesch, © 1997-1999