#include <vtkObjectBaseMap.h>
Inheritance diagram for vtkObjectBaseMap:
Calls Register
when objects are inserted into the map and UnRegister
when the object is removed.
Definition at line 38 of file vtkObjectBaseMap.h.
Public Member Functions | |
vtkTypeRevisionMacro (vtkObjectBaseMap, 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 (vtkObjectBaseMap *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. | |
virtual vtkObjectBase * | Find (const char *key) const |
Get a pointer to an object associated with a key. | |
virtual int | Insert (const char *key, vtkObjectBase *object) |
Insert a pointer to an object associated with a key. | |
int | Erase (const char *key) |
Removes an association with the specified key. | |
virtual const char * | FindKey (const vtkObjectBase *object) |
Find the first key in the map associated with an object pointer. | |
const char * | FindNextKey (void) |
Find the next key in the map associated with the object pointer specified in a previous call to FindKey . | |
vtkObjectBaseMapIterator * | CreateIterator (void) |
Create an iterator. | |
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 | |
vtkObjectBaseMap * | New (void) |
Protected Member Functions | |
vtkObjectBaseMap (void) | |
~vtkObjectBaseMap () |
|
|
|
|
|
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 vtkDataSetMap, vtkExtensionsObjectMap, vtkObjectMap, vtkPolyDataMap, vtkPaletteElementMap, and vtkPaletteMap. |
|
Remove ALL mapped elements.
Implements vtkContainer. |
|
Create an iterator.
Implements vtkAbstractMap. Reimplemented in vtkExtensionsObjectMap, vtkObjectMap, vtkPaletteElementMap, and vtkPaletteMap. |
|
Removes an association with the specified key.
Implements vtkAbstractMap. |
|
Get a pointer to an object associated with a key.
Reimplemented from vtkAbstractMap. Reimplemented in vtkDataSetMap, vtkExtensionsObjectMap, vtkObjectMap, vtkPolyDataMap, vtkPaletteElementMap, and vtkPaletteMap. |
|
Find the first key in the map associated with an object pointer.
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 vtkDataSetMap, vtkExtensionsObjectMap, vtkObjectMap, vtkPolyDataMap, vtkPaletteElementMap, and vtkPaletteMap. |
|
Returns the total number of elements that the map can hold before needing to allocate more memory.
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 a pointer to an object associated with a key.
Implements vtkAbstractMap. |
|
Returns
Reimplemented from vtkContainer. |
|
Reimplemented from vtkExtensionsObject. Reimplemented in vtkDataSetMap, vtkExtensionsObjectMap, vtkObjectMap, vtkPolyDataMap, vtkPaletteElementMap, and vtkPaletteMap. |
|
Swaps elements of this object with those of the specified container.
|
|
|