class bufferArray

An array of bufferStores More...

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

Public Methods


Detailed Description

An array of bufferStores

 bufferArray ()

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

 bufferArray (const bufferArray &a)

Constructs a new bufferArray.

Parameters:
aThe initial contents for this array.

bufferArray ()

Destroys the bufferArray.

bufferArrayoperator = (const bufferArray &a)

Copys the bufferArray.

bool  empty ()

[const]

Checks if this bufferArray is empty.

Returns: true if the bufferArray is empty.

bufferStoreoperator [] (const unsigned long index)

Retrieves the bufferStore at given index.

Returns: The bufferStore at index.

bufferArray  operator + (const bufferStore &s)

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)

Concatenates two bufferArrays.

Parameters:
aThe bufferArray to be appended.

Returns: A new bufferArray consisting with a appended.

bufferArrayoperator += (const bufferStore &s)

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)

Appends a bufferArray to current instance.

Parameters:
aThe bufferArray to append.

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

bufferStore  pop (void)

Removes the first bufferStore.

Returns: The removed bufferStore.

void  push (const bufferStore& b)

Inserts a bufferStore at index 0.

Parameters:
bThe bufferStore to be inserted.

void  append (const bufferStore& b)

Appends a bufferStore.

Parameters:
bThe bufferStore to be appended.

long  length (void)

Evaluates the current length.

Returns: The current number of bufferStores

void  clear (void)

Empties the bufferArray.


Generated by: felfert@usw-pr-shell1.sourceforge.net on Sat Aug 10 18:46:04 2002, using kdoc 2.0a36.