Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

PShortArray Class Reference

Array of short integers. More...

#include <array.h>

List of all members.

Public Member Functions

Construction
 PShortArray (PINDEX initialSize=0)
 PShortArray (short const *buffer, PINDEX length, BOOL dynamic=TRUE)


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:
length  Pointer to an array of shorts.
dynamic  Number of elements pointed to by #buffer#. Buffer is copied and dynamically allocated.


The documentation for this class was generated from the following file:
Generated on Sat Jul 24 15:35:59 2004 for PWLib by doxygen 1.3.7