PTLib  Version 2.10.4
PUnsignedArray Class Reference

Array of unsigned integers. More...

#include <array.h>

Inheritance diagram for PUnsignedArray:
PBaseArray< T > PAbstractArray PContainer PObject

List of all members.

Public Member Functions

Construction
 PUnsignedArray (PINDEX initialSize=0)
 Construct a new dynamic array of unsigned ints.
 PUnsignedArray (unsigned const *buffer, PINDEX length, PBoolean dynamic=true)
 Construct a new dynamic array of unsigned ints.

Detailed Description

Array of unsigned integers.


Constructor & Destructor Documentation

PUnsignedArray::PUnsignedArray ( PINDEX  initialSize = 0)

Construct a new dynamic array of unsigned ints.

The array is initialised to all zeros.

Parameters:
initialSizeInitial number of elements in the array.
PUnsignedArray::PUnsignedArray ( unsigned const *  buffer,
PINDEX  length,
PBoolean  dynamic = true 
)

Construct a new dynamic array of unsigned ints.

Parameters:
bufferPointer to an array of unsigned ints.
lengthNumber of elements pointed to by buffer.
dynamicBuffer is copied and dynamically allocated.

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines