PLongArray Class Reference

Array of long integers. More...

#include <array.h>

Inheritance diagram for PLongArray:

PBaseArray< T > PAbstractArray PContainer PObject List of all members.

Public Member Functions

Construction
 PLongArray (PINDEX initialSize=0)
 PLongArray (long const *buffer, PINDEX length, PBoolean dynamic=PTrue)

Detailed Description

Array of long integers.


Constructor & Destructor Documentation

PLongArray::PLongArray ( PINDEX  initialSize = 0  ) 

Construct a new dynamic array of longs. The array is initialised to all zeros.

Parameters:
initialSize  Initial number of elements in the array.

PLongArray::PLongArray ( long const *  buffer,
PINDEX  length,
PBoolean  dynamic = PTrue 
)

Construct a new dynamic array of longs.

Parameters:
buffer  Pointer to an array of longs.
length  Number of elements pointed to by buffer.
dynamic  Buffer is copied and dynamically allocated.


The documentation for this class was generated from the following file:
Generated on Thu May 27 01:36:49 2010 for PTLib by  doxygen 1.4.7