Array of integers
Inheritance:
Public Methods
| Construction
|
Public Methods
-
Overrides from class PObject
-
Overrides from class PContainer
-
New functions for class
Protected Fields
-
PINDEX elementSize
-
char* theArray
-
BOOL allocatedDynamically
Public Methods
-
Common functions for containers
Protected Methods
-
virtual void DestroyContents()
-
virtual void AssignContents(const PContainer & c)
-
void CopyContents(const PContainer & c)
-
void CloneContents(const PContainer* src)
-
void Destruct()
Inherited from PObject:
Public Methods
-
Run Time Type functions
-
I/O functions
-
Miscellaneous functions
Public Members
-
Comparison functions
Documentation
Array of integers
Construction
PIntArray( PINDEX initialSize = 0 )
- Construct a new dynamic array of ints.
The array is initialised to all zeros.
- Parameters:
- initialSize - Initial number of elements in the array.
PIntArray( int const* buffer, PINDEX length, BOOL dynamic = TRUE )
- Construct a new dynamic array of ints.
- Parameters:
- - buffer Pointer to an array of ints.
length - Number of elements pointed to by buffer.
dynamic - Buffer is copied and dynamically allocated.
- This class has no child classes.
Alphabetic index HTML hierarchy of classes or Java
This page was generated with the help of DOC++.