#include <array.h>
Inheritance diagram for PIntArray:
PIntArray::PIntArray | ( | PINDEX | initialSize = 0 |
) |
Construct a new dynamic array of ints. The array is initialised to all zeros.
initialSize | Initial number of elements in the array. |
PIntArray::PIntArray | ( | int const * | buffer, | |
PINDEX | length, | |||
PBoolean | dynamic = PTrue | |||
) |
Construct a new dynamic array of ints.
buffer | Pointer to an array of ints. |
length |
Number of elements pointed to by buffer . |
dynamic | Buffer is copied and dynamically allocated. |
PIntArray::PIntArray | ( | PINDEX | initialSize = 0 |
) |
Construct a new dynamic array of ints. The array is initialised to all zeros.
initialSize | Initial number of elements in the array. |
PIntArray::PIntArray | ( | int const * | buffer, | |
PINDEX | length, | |||
PBoolean | dynamic = PTrue | |||
) |
Construct a new dynamic array of ints.
buffer | Pointer to an array of ints. |
length |
Number of elements pointed to by buffer . |
dynamic | Buffer is copied and dynamically allocated. |