class PShortArray: public PBaseArray

Array of short integers.

Inheritance:


Public

[more] Construction
[more] Overrides from class PObject


Inherited from PBaseArray:

Public

Overrides from class PContainer

New functions for class


Inherited from PAbstractArray:

Protected Fields

oPINDEX elementSize
ochar* theArray
oBOOL allocatedDynamically


Inherited from PContainer:

Public

Common functions for containers

Protected Methods

ovirtual void DestroyContents()
ovirtual void AssignContents(const PContainer & c)
ovoid CopyContents(const PContainer & c)
ovoid CloneContents(const PContainer * src)
ovoid Destruct()


Inherited from PObject:

Public

Run Time Type functions

Comparison functions

I/O functions

Miscellaneous functions


Documentation

Array of short integers.
o Construction

o PBaseArray( 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.

o PBaseArray( 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.

o Overrides from class PObject

ovirtual void PrintOn( ostream & strm Stream to output to. ) const
Print the array


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.