#include <Array.h>
Collaboration diagram for hxa7241_general::Array< TYPE >:
Public Member Functions | |
Array () | |
standard object services --------------------------------------------------- | |
Array (dword length) | |
~Array () | |
Array (const Array &) | |
Array & | operator= (const Array &) |
void | setLength (dword length) |
commands ------------------------------------------------------------------- | |
void | swap (Array &) |
void | append (const TYPE &) |
void | remove (int index) |
void | zeroStorage () |
TYPE * | getStorage () |
TYPE & | operator[] (int index) |
dword | getLength () const |
queries -------------------------------------------------------------------- | |
bool | isEmpty () const |
const TYPE * | getStorage () const |
const TYPE & | operator[] (int index) const |
Static Public Member Functions | |
static dword | getMaxLength () |
Protected Member Functions | |
void | assign (const Array< TYPE > &) |
implementation ------------------------------------------------------------- | |
void | acquireStorage (dword length, bool isCopied) |
Static Protected Member Functions | |
static void | copyObjects (TYPE *lValStart, const TYPE *rValStart, dword length) |
Length is explicit - there is no hidden reserve.
* pStorage_m is 0 or a valid address
* length_m is >= 0 and <= getMaxLength() (DWORD_MAX)
hxa7241_general::Array< TYPE >::Array | ( | ) |
standard object services ---------------------------------------------------
hxa7241_general::Array< TYPE >::Array | ( | dword | length | ) | [explicit] |
hxa7241_general::Array< TYPE >::~Array | ( | ) |
hxa7241_general::Array< TYPE >::Array | ( | const Array< TYPE > & | ) |
Array< TYPE > & hxa7241_general::Array< TYPE >::operator= | ( | const Array< TYPE > & | ) |
void hxa7241_general::Array< TYPE >::setLength | ( | dword | length | ) |
commands -------------------------------------------------------------------
void hxa7241_general::Array< TYPE >::swap | ( | Array< TYPE > & | ) |
void hxa7241_general::Array< TYPE >::append | ( | const TYPE & | ) |
void hxa7241_general::Array< TYPE >::remove | ( | int | index | ) |
void hxa7241_general::Array< TYPE >::zeroStorage | ( | ) |
TYPE * hxa7241_general::Array< TYPE >::getStorage | ( | ) | [inline] |
TYPE & hxa7241_general::Array< TYPE >::operator[] | ( | int | index | ) | [inline] |
dword hxa7241_general::Array< TYPE >::getLength | ( | ) | const [inline] |
queries --------------------------------------------------------------------
bool hxa7241_general::Array< TYPE >::isEmpty | ( | ) | const [inline] |
dword hxa7241_general::Array< TYPE >::getMaxLength | ( | ) | [inline, static] |
const TYPE * hxa7241_general::Array< TYPE >::getStorage | ( | ) | const [inline] |
const TYPE & hxa7241_general::Array< TYPE >::operator[] | ( | int | index | ) | const [inline] |
void hxa7241_general::Array< TYPE >::assign | ( | const Array< TYPE > & | ) | [protected] |
implementation -------------------------------------------------------------
void hxa7241_general::Array< TYPE >::acquireStorage | ( | dword | length, | |
bool | isCopied | |||
) | [protected] |
void hxa7241_general::Array< TYPE >::copyObjects | ( | TYPE * | lValStart, | |
const TYPE * | rValStart, | |||
dword | length | |||
) | [static, protected] |