class CorMapPtrToPtr : public CorPersistent A simple pointer to pointer map
| | CorMapPtrToPtr ( int aSize = 10 ) |
| | CorMapPtrToPtr ( const CorMapPtrToPtr& aRef ) |
| | deleteAssoc ( CorMapAssoc* aMapAssoc ) |
| | empty () |
| | getHashTableSize () |
| | getNextAssoc ( void*& aNewPosition, void* aKey, void* aValue ) |
| | getStartPosition () |
| | hashKey ( void* aKey ) |
| | initHashTable ( unsigned int aSize, CorBool allocNow = corTRUE ) |
| | lookUp ( void* aKey, void*& aValue ) |
| | makeClone () |
| | operator= ( const CorMapPtrToPtr& aRef ) |
| | operator[] ( void* aKey ) |
| | removeAll () |
| | removeKey ( void* aKey ) |
| | setAt ( void* aKey, void* aValue ) |
| | size () |
| | stream ( CorStream& aFile ) |
| | ~CorMapPtrToPtr () |
| | CorMapAssoc Purpose Make a clone of this instance |
| | getAssocAt ( void* aKey, unsigned int& aHash ) |
| | newAssoc () |
| | Purpose Create a new map association |
| | CorMapAssoc Purpose Make a clone of this instance |
A simple pointer to pointer map
SYNOPSIS
#include <CorMapPtrToPtr.h>
CorMapPtrToPtr myObject;
DESCRIPTION
This class represents a pointer to pointer map.
CAUTIONS
<optional>
EXAMPLES
<optional>
SEE ALSO
CorPersistent
Preconditions Exceptions
Preconditions Returns Exceptions
Preconditions Returns Exceptions
Preconditions Exceptions
Preconditions Returns Exceptions
Preconditions Returns Exceptions Arguments
Preconditions Returns Exceptions
Preconditions Returns Exceptions
CorMapPtrToPtr( int aSize = 10 )
CorMapPtrToPtr( const CorMapPtrToPtr& aRef )
CorMapPtrToPtr& operator=( const CorMapPtrToPtr& aRef )
virtual ~CorMapPtrToPtr()
The d'tor. If it's not in a hierarchy it probably doesn't want to be
virtual.
unsigned int size()
Query the number of elements in the map.
This function returns the number of elements.
CorBool empty()
Query whether this map is empty.
This function returns corTRUE if this map is empty.
CorBool lookUp( void* aKey, void*& aValue )
void*& operator[]( void* aKey )
void setAt( void* aKey, void* aValue )
CorBool removeKey( void* aKey )
void removeAll()
Remove all the key value pairs.
void* getStartPosition()
Iterate all (key, value) pair.
This function returns something?
void getNextAssoc( void*& aNewPosition, void* aKey, void* aValue )
unsigned int getHashTableSize()
Query the size of the hash table.
This function returns the current (full) size of the hash table.
void initHashTable( unsigned int aSize, CorBool allocNow = corTRUE )
unsigned int hashKey( void* aKey )
void stream( CorStream& aFile )
virtual CorPersistent* makeClone()
struct CorMapAssoc
Make a clone of this instance.
This function retutns a pointer to a newly created instance that has the same
properties as this one.
CorMapAssoc* newAssoc()
Create a new map association.
This function returns a pointer to a new CorMapAssociation.
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de