class bufferArray

An array of bufferStores More...

Definition#include <bufferarray.h>
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods


Detailed Description

An array of bufferStores

 bufferArray ()

bufferArray

constructs a new bufferArray. A minimum of ALLOC_MIN elements is allocated.

 bufferArray (const bufferArray &a)

bufferArray

Constructs a new bufferArray.

Parameters:
aThe initial contents for this array.

 ~bufferArray ()

~bufferArray

Destroys the bufferArray.

bufferArrayoperator = (const bufferArray &a)

operator =

Copys the bufferArray.

bool  empty ()

empty

[const]

Checks if this bufferArray is empty.

Returns: true if the bufferArray is empty.

bufferStoreoperator [] (const unsigned long index)

operator []

Retrieves the bufferStore at given index.

Returns: The bufferStore at index.

bufferArray  operator + (const bufferStore &s)

operator +

Appends a bufferStore to a bufferArray.

Parameters:
sThe bufferStore to be appended.

Returns: A new bufferArray with bufferStore appended to.

bufferArray  operator + (const bufferArray &a)

operator +

Concatenates two bufferArrays.

Parameters:
aThe bufferArray to be appended.

Returns: A new bufferArray consisting with a appended.

bufferArrayoperator += (const bufferStore &s)

operator +=

Appends a bufferStore to current instance.

Parameters:
sThe bufferStore to append.

Returns: A reference to the current instance with s appended.

bufferArrayoperator += (const bufferArray &a)

operator +=

Appends a bufferArray to current instance.

Parameters:
aThe bufferArray to append.

Returns: A reference to the current instance with a appended.

bufferStore  pop (void)

pop

Removes the first bufferStore.

Returns: The removed bufferStore.

void  push (const bufferStore& b)

push

Inserts a bufferStore at index 0.

Parameters:
bThe bufferStore to be inserted.

void  append (const bufferStore& b)

append

Appends a bufferStore.

Parameters:
bThe bufferStore to be appended.

long  length (void)

length

Evaluates the current length.

Returns: The current number of bufferStores

void  clear (void)

clear

Empties the bufferArray.


Generated by: rrt on drom on Mon Nov 26 16:06:15 2007, using kdoc 2.0a54.