#include <vtkObjectBaseHashMap.h>
Inheritance diagram for vtkObjectBaseHashMap:
Definition at line 33 of file vtkObjectBaseHashMap.h.
Public Member Functions | |
vtkTypeRevisionMacro (vtkObjectBaseHashMap, vtkAbstractMap) | |
vtkIdType | GetSize (void) const |
Returns the number of elements in the map. | |
int | IsEmpty (void) const |
Returns true if the map is empty. | |
vtkIdType | GetMaxSize (void) const |
Returns the maximum size of the map. | |
void | Clear (void) |
Remove ALL mapped elements. | |
virtual int | Swap (vtkObjectBaseHashMap *container) |
Swaps elements of this object with those of the specified container. | |
vtkIdType | GetCapacity (void) const |
Returns the total number of elements that the map can hold before needing to allocate more memory. | |
vtkObjectBase * | Find (const char *key) const |
Find the entry in the map with a given key string. | |
int | Insert (const char *key, vtkObjectBase *object) |
Insert the specified key string into the map paired with an object. | |
int | Erase (const char *key) |
Erase the entry matching a given key string. | |
virtual const char * | FindKey (const vtkObjectBase *object) |
Find the first key in the map associated with an object. | |
const char * | FindNextKey (void) |
Find the next key in the map associated with the object pointer specified in a previous call to FindKey . | |
vtkObjectBaseHashMapIterator * | CreateIterator (void) |
Create an iterator. | |
int | GetCheckUnique (void) const |
Toggle enforcement of uniqueness among string entries (default: true). | |
void | SetCheckUnique (int a) |
Toggle enforcement of uniqueness among string entries (default: true). | |
int | GetCheckCase (void) const |
Toggle matching of upper/lower case characters in keys (default: true). | |
void | SetCheckCase (int a) |
Toggle matching of upper/lower case characters in keys (default: true). | |
Data Access Methods | |
vtkObjectBase * | Front (void) const |
Get a read/write pointer to the first object in the container. | |
int | Front (const char *&key, vtkObjectBase *&object) const |
Gets the first key - object association in the map. | |
vtkObjectBase * | Back (void) const |
Get a read/write pointer to the last object in the container. | |
int | Back (const char *&key, vtkObjectBase *&object) const |
Gets the last key - object association in the map. | |
Static Public Member Functions | |
vtkObjectBaseHashMap * | New (void) |
Protected Member Functions | |
vtkObjectBaseHashMap (void) | |
~vtkObjectBaseHashMap () |
|
|
|
|
|
Gets the last key - object association in the map.
Reimplemented from vtkAbstractMap. |
|
Get a read/write pointer to the last object in the container.
Reimplemented from vtkContainer. Reimplemented in vtkExtensionsObjectHashMap, vtkObjectHashMap, vtkPaletteElementHashMap, and vtkPaletteHashMap. |
|
Remove ALL mapped elements.
Implements vtkContainer. |
|
Create an iterator.
Implements vtkAbstractMap. Reimplemented in vtkExtensionsObjectHashMap, vtkObjectHashMap, vtkPaletteElementHashMap, and vtkPaletteHashMap. |
|
Erase the entry matching a given key string.
Implements vtkAbstractMap. |
|
Find the entry in the map with a given key string.
Reimplemented from vtkAbstractMap. Reimplemented in vtkExtensionsObjectHashMap, vtkObjectHashMap, vtkPaletteElementHashMap, and vtkPaletteHashMap. |
|
Find the first key in the map associated with an object.
Implements vtkAbstractMap. |
|
Find the next key in the map associated with the object pointer specified in a previous call to
Implements vtkAbstractMap. |
|
Gets the first key - object association in the map.
Reimplemented from vtkAbstractMap. |
|
Get a read/write pointer to the first object in the container.
Reimplemented from vtkContainer. Reimplemented in vtkExtensionsObjectHashMap, vtkObjectHashMap, vtkPaletteElementHashMap, and vtkPaletteHashMap. |
|
Returns the total number of elements that the map can hold before needing to allocate more memory.
Reimplemented from vtkAbstractMap. |
|
Toggle matching of upper/lower case characters in keys (default: true).
Reimplemented from vtkAbstractMap. |
|
Toggle enforcement of uniqueness among string entries (default: true).
Reimplemented from vtkAbstractMap. |
|
Returns the maximum size of the map.
Reimplemented from vtkContainer. |
|
Returns the number of elements in the map.
Reimplemented from vtkContainer. |
|
Insert the specified key string into the map paired with an object.
Implements vtkAbstractMap. |
|
Returns
Reimplemented from vtkContainer. |
|
Reimplemented from vtkExtensionsObject. Reimplemented in vtkExtensionsObjectHashMap, vtkObjectHashMap, vtkPaletteElementHashMap, and vtkPaletteHashMap. |
|
Toggle matching of upper/lower case characters in keys (default: true).
Reimplemented from vtkAbstractMap. |
|
Toggle enforcement of uniqueness among string entries (default: true).
Reimplemented from vtkAbstractMap. |
|
Swaps elements of this object with those of the specified container.
|
|
|