PWLib  1.10.10
PWORDArray Class Reference

Array of unsigned short integers. More...

#include <array.h>

List of all members.

Public Member Functions

Construction
 PWORDArray (PINDEX initialSize=0)
 PWORDArray (WORD const *buffer, PINDEX length, BOOL dynamic=TRUE)

Detailed Description

Array of unsigned short integers.


Constructor & Destructor Documentation

PWORDArray::PWORDArray ( PINDEX  initialSize = 0)

Construct a new dynamic array of unsigned shorts. The array is initialised to all zeros.

Parameters:
initialSizeInitial number of elements in the array.
PWORDArray::PWORDArray ( WORD const *  buffer,
PINDEX  length,
BOOL  dynamic = TRUE 
)

Construct a new dynamic array of unsigned shorts.

Parameters:
bufferPointer to an array of WORDs.
lengthNumber of elements pointed to by #buffer#.
dynamicBuffer is copied and dynamically allocated.

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