Array< Type > Class Template Reference

List of all members.

Public Member Functions

 Array (const int &initSize=0)
 Array (Type *data, int numdata)
 Array (const Array< Type > &x)
Array< Type > & operator= (const Array< Type > &x)
 ~Array ()
int append (Type item)
void append (const Array< Type > &newItems)
void append (const Array< Type > *const &items)
void copyFrom (const Array< Type > &items)
bool growToSize (const int &newSize)
bool growToSize (const int &newSize, Type fill)
bool shrinkToSize (const int &newSize)
void clear ()
void clearAndCompress ()
void deleteItemsAndClear ()
void deleteItemsAndClearCompress ()
int size () const
int maxItems () const
bool empty () const
Type & item (const int &index) const
Type & operator[] (const int &index) const
Type & lastItem () const
const Type * getItems () const
int find (Type const &item) const
bool contains (Type const &item) const
bool appendUnique (Type item)
void appendUnique (Array< Type > &items)
void appendUnique (Array< Type > *items)
void removeAllNull ()
Type removeItem (const int &index)
Type removeLastItem ()
Type removeItemFastDisorder (const int &index)
void compress ()
void shuffle ()
int getMaxIndex ()
Type getMaxValue ()
void quicksort ()
void rquicksort ()
void bubbleSort ()
void rbubbleSort ()

Detailed Description

template<typename Type>
class Array< Type >

Definition at line 77 of file array.h.


The documentation for this class was generated from the following file:
Generated on Tue Jan 16 05:30:05 2007 for Alchemy by  doxygen 1.5.1