class PBYTEArray

Array of unsigned characters

Inheritance:


Public Methods

[more] Construction
[more] Overrides from class PObject


Inherited from PBaseArray:

Public Methods

Overrides from class PContainer

New functions for class


Inherited from PAbstractArray:

Protected Fields

oPINDEX elementSize
ochar* theArray
oBOOL allocatedDynamically


Inherited from PContainer:

Public Methods

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 Methods

Run Time Type functions

I/O functions

Miscellaneous functions

Public Members

Comparison functions


Documentation

Array of unsigned characters
o Construction

o PBYTEArray( PINDEX initialSize = 0 )
Construct a new dynamic array of unsigned chars. The array is initialised to all zeros.
Parameters:
initialSize - Initial number of elements in the array.

o PBYTEArray( BYTE const* buffer, PINDEX length, BOOL dynamic = TRUE )
Construct a new dynamic array of unsigned chars.
Parameters:
- buffer Pointer to an array of BYTEs.
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 ) const
Print the array
Parameters:
- strm Stream to output to.

ovirtual void ReadFrom( istream &strm )
Read the array


Direct child classes:
PASN_Stream
PSound
PBitArray

Alphabetic index HTML hierarchy of classes or Java



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