|
PWLib 1.10.10
|
Array of long integers. More...
#include <array.h>
Public Member Functions | |
Construction | |
| PLongArray (PINDEX initialSize=0) | |
| PLongArray (long const *buffer, PINDEX length, BOOL dynamic=TRUE) | |
Array of long integers.
| PLongArray::PLongArray | ( | PINDEX | initialSize = 0 | ) |
Construct a new dynamic array of longs. The array is initialised to all zeros.
| initialSize | Initial number of elements in the array. |
| PLongArray::PLongArray | ( | long const * | buffer, |
| PINDEX | length, | ||
| BOOL | dynamic = TRUE |
||
| ) |
Construct a new dynamic array of longs.
| buffer | Pointer to an array of longs. |
| length | Number of elements pointed to by #buffer#. |
| dynamic | Buffer is copied and dynamically allocated. |
1.7.4