Array of unsigned short integers. More...
#include <array.h>
Public Member Functions | |
Construction | |
| PWORDArray (PINDEX initialSize=0) | |
| PWORDArray (WORD const *buffer, PINDEX length, PBoolean dynamic=PTrue) | |
Array of unsigned short integers.
| 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. |
1.6.3