class CorPtrArray : public CorPersistent A array of pointers
| | add ( void* anElement ) |
| | CorPtrArray ( const CorPtrArray& aRef ) |
| | CorPtrArray () |
| | elementAt ( unsigned int aPosition ) |
| | freeExtra () |
| | getAt ( unsigned int aPosition ) |
| | getSize () |
| | getUpperBound () |
| | insertAt ( unsigned int aPostion, CorPtrArray* anArray ) |
| | insertAt ( unsigned int aPosition, void* anElement, unsigned int aCount = 1 ) |
| | makeClone () |
| | operator= ( const CorPtrArray& aRef ) |
| | operator[] ( unsigned int aPosition ) |
| | operator[] ( unsigned int aPosition ) |
| | removeAll () |
| | removeAt ( unsigned int aPosition, unsigned int aCount = 1 ) |
| | setAt ( unsigned int aPosition, void* anElement ) |
| | setAtGrow ( unsigned int aPosition, void* anElement ) |
| | setSize ( unsigned int aNewSize, int aGrwothRate = -1 ) |
| | stream (CorStream& aFile) Purpose Make a clone of this instance |
| | ~CorPtrArray () |
A array of pointers
SYNOPSIS
#include <CorPtrArray.h>
CorPtrArray myObject;
DESCRIPTION
This text serves as an example for the documentation of a class definition
CAUTIONS
<optional>
EXAMPLES
<optional>
SEE ALSO
<optional>
CorBase
Preconditions Exceptions
Preconditions Exceptions
Preconditions Returns Exceptions
Preconditions Returns Exceptions
Preconditions Exceptions
Preconditions Exceptions
Preconditions Returns Exceptions
CorPtrArray()
The default c'tor.
CorPtrArray( const CorPtrArray& aRef )
CorPtrArray& operator=( const CorPtrArray& aRef )
virtual ~CorPtrArray()
The d'tor. If it's not in a hierarchy it probably doesn't want to be
virtual.
unsigned int getUpperBound()
Query the upper bound of this array (next free position).
This function returns the position of the next available slot.
unsigned int getSize()
Query the size of the array.
This function returns the nuber of elements in the array.
void setSize( unsigned int aNewSize, int aGrwothRate = -1 )
void freeExtra()
Clear extra memory.
void removeAll()
Clean up the array.
void* getAt( unsigned int aPosition )
void setAt( unsigned int aPosition, void* anElement )
void*& elementAt( unsigned int aPosition )
void setAtGrow( unsigned int aPosition, void* anElement )
unsigned int add( void* anElement )
void* operator[]( unsigned int aPosition )
void*& operator[]( unsigned int aPosition )
void insertAt( unsigned int aPosition, void* anElement, unsigned int aCount = 1 )
void removeAt( unsigned int aPosition, unsigned int aCount = 1 )
void insertAt( unsigned int aPostion, CorPtrArray* anArray )
virtual CorPersistent* makeClone()
virtual void stream(CorStream& aFile)
Make a clone of this instance.
This function retutns a pointer to a newly created instance that has the same
properties as this one.
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de