PShortArray Class Reference

Array of short integers. More...

#include <array.h>

Inheritance diagram for PShortArray:

PTones PDTMFEncoder List of all members.

Detailed Description

Array of short integers.


Constructor & Destructor Documentation

PShortArray::PShortArray ( PINDEX  initialSize = 0  ) 

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

Parameters:
initialSize  Initial number of elements in the array.

PShortArray::PShortArray ( short const *  buffer,
PINDEX  length,
BOOL  dynamic = TRUE 
)

Construct a new dynamic array of shorts.

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

PShortArray::PShortArray ( PINDEX  initialSize = 0  ) 

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

Parameters:
initialSize  Initial number of elements in the array.

PShortArray::PShortArray ( short const *  buffer,
PINDEX  length,
BOOL  dynamic = TRUE 
)

Construct a new dynamic array of shorts.

Parameters:
buffer  Pointer to an array of shorts.
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 Fri Mar 7 06:25:07 2008 for PTLib by  doxygen 1.5.1