#include <array.h>
Inheritance diagram for PWORDArray:
Public Member Functions | |
Construction | |
PWORDArray (PINDEX initialSize=0) | |
PWORDArray (WORD const *buffer, PINDEX length, PBoolean dynamic=PTrue) |
PWORDArray::PWORDArray | ( | PINDEX | initialSize = 0 |
) |
Construct a new dynamic array of unsigned shorts. The array is initialised to all zeros.
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.
buffer | Pointer to an array of WORDs. |
length |
Number of elements pointed to by buffer . |
dynamic | Buffer is copied and dynamically allocated. |