PWORDArray Class Reference

Array of unsigned short integers. More...

#include <array.h>

List of all members.


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:
initialSize  Initial number of elements in the array.

PWORDArray::PWORDArray ( WORD const *  buffer,
PINDEX  length,
PBoolean  dynamic = PTrue 
)

Construct a new dynamic array of unsigned shorts.

Parameters:
buffer  Pointer to an array of WORDs.
length  Number of elements pointed to by buffer#.
dynamic  Buffer is copied and dynamically allocated.

PWORDArray::PWORDArray ( PINDEX  initialSize = 0  ) 

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

Parameters:
initialSize  Initial number of elements in the array.

PWORDArray::PWORDArray ( WORD const *  buffer,
PINDEX  length,
PBoolean  dynamic = PTrue 
)

Construct a new dynamic array of unsigned shorts.

Parameters:
buffer  Pointer to an array of WORDs.
length  Number of elements pointed to by buffer#.
dynamic  Buffer is copied and dynamically allocated.


The documentation for this class was generated from the following file:
Generated on Mon Dec 10 11:19:01 2007 for PTLib by  doxygen 1.5.1