xarray< T > Class Template Reference

TEMPLATE CLASS FOR ARRAYS OF ANY DATA TYPE. More...

#include <Zclassut.h>

List of all members.

Public Member Functions

long Grow (int how_may_items=1)
long Delete (long item)
long Last (void)
void Reset (void)
bool isEmpty (void)
bool isNotEmpty (void)
long Size (void)
long Shrink (void)

Public Attributes

bool verbose

Detailed Description

template<class T>
class xarray< T >

TEMPLATE CLASS FOR ARRAYS OF ANY DATA TYPE.


Member Function Documentation

template<class T >
long xarray< T >::Delete ( long  item  )  [inline]

Erases an item(zero based indexed)

Returns:
the number of the items in the array
template<class T >
long xarray< T >::Grow ( int  how_may_items = 1  )  [inline]

Adds an item

Returns:
the index of the added item in the array
template<class T >
bool xarray< T >::isEmpty ( void   )  [inline]
Returns:
true if there are no items
template<class T >
bool xarray< T >::isNotEmpty ( void   )  [inline]
Returns:
true if there are items
template<class T >
long xarray< T >::Last ( void   )  [inline]
Returns:
the last index(the array is always zero based)
template<class T >
void xarray< T >::Reset ( void   )  [inline]

Erases all items

template<class T >
long xarray< T >::Shrink ( void   )  [inline]

Erases the last item

Returns:
the number of the items in the array
template<class T >
long xarray< T >::Size ( void   )  [inline]
Returns:
the number of the items

Member Data Documentation

template<class T >
bool xarray< T >::verbose

In case of errors, the function members will show a message box with detailed information. This member may be one of following values:

  • __talk - show details.
  • __silent - don't show details.

The documentation for this class was generated from the following file:

Generated on Sun Nov 29 07:22:16 2009 for Rad.on++ by  doxygen 1.6.1