#include <vtkStringStringMap.h>
Inheritance diagram for vtkStringStringMap:
Insert
, Erase
, and Find
methods as Latin-1-encoded C-strings (arrays of char), UTF-8-encoded strings (arrays of unsigned bytes), or UTF-16-encoded strings (arrays of 16-bit unsigned integers). Transcoding to UTF-16 is performed as necessary.
Definition at line 40 of file vtkStringStringMap.h.
Public Member Functions | |
vtkTypeRevisionMacro (vtkStringStringMap, vtkExtensionsObject) | |
void | PrintSelf (ostream &, vtkIndent) |
vtkIdType | GetSize (void) const |
Returns number of slots occupied, including those of removed items. | |
int | IsEmpty (void) const |
Returns whether the map is empty or not. | |
void | Clear (void) |
Erase all entries from the map. | |
vtkIdType | GetCapacity (void) const |
Returns how many items the map can currently hold. | |
virtual void | Swap (vtkStringStringMap *object) |
Swaps the elements of this object with those of specified object . | |
virtual const vtkUTF16ChType * | FindKey (const vtkUTF16ChType *other) |
Find the first key in the map associated with a second string. | |
const vtkUTF16ChType * | FindNextKey (void) |
Find the next key in the map associated with the value specified in a previous call to FindKey . | |
virtual int | GetCheckUnique () |
Toggle enforcement of uniqueness among string entries (default: true). | |
virtual void | SetCheckUnique (int) |
Toggle enforcement of uniqueness among string entries (default: true). | |
virtual void | CheckUniqueOn () |
Toggle enforcement of uniqueness among string entries (default: true). | |
virtual void | CheckUniqueOff () |
Toggle enforcement of uniqueness among string entries (default: true). | |
virtual int | GetCheckCase () |
Toggle matching of upper/lower case characters in keys (default: true). | |
virtual void | SetCheckCase (int) |
Toggle matching of upper/lower case characters in keys (default: true). | |
virtual void | CheckCaseOn () |
Toggle matching of upper/lower case characters in keys (default: true). | |
virtual void | CheckCaseOff () |
Toggle matching of upper/lower case characters in keys (default: true). | |
Methods for finding a table entry. | |
const vtkUTF16ChType * | Find (const vtkUTF16ChType *key) const |
Find the entry in the table with a given key string. | |
const vtkUTF16ChType * | Find (const vtkUTF8ChType *key) const |
Find the entry in the table with a given key string. | |
const vtkUTF16ChType * | Find (const char *key) const |
Find the entry in the table with a given key string. | |
Methods for adding a string-value pair table entry. | |
int | Insert (const vtkUTF16ChType *key, const vtkUTF16ChType *value) |
Insert the specified string to the table paired with a second string. | |
int | Insert (const vtkUTF8ChType *key, const vtkUTF8ChType *value) |
Insert the specified string to the table paired with a second string. | |
int | Insert (const char *key, const char *value) |
Insert the specified string to the table paired with a second string. | |
Methods for removing a table entry. | |
int | Erase (const vtkUTF16ChType *key) |
Erase the entry matching a given key string. | |
int | Erase (const vtkUTF8ChType *key) |
Erase the entry matching a given key string. | |
int | Erase (const char *key) |
Erase the entry matching a given key string. | |
Static Public Member Functions | |
vtkStringStringMap * | New (void) |
Protected Member Functions | |
vtkStringStringMap (void) | |
~vtkStringStringMap () |
|
|
|
|
|
Toggle matching of upper/lower case characters in keys (default: true).
|
|
Toggle matching of upper/lower case characters in keys (default: true).
|
|
Toggle enforcement of uniqueness among string entries (default: true).
|
|
Toggle enforcement of uniqueness among string entries (default: true).
|
|
Erase all entries from the map.
|
|
Erase the entry matching a given key string.
Definition at line 382 of file vtkStringStringMap.h. References Erase(), and LATIN1_TO_UTF16. |
|
Erase the entry matching a given key string.
Definition at line 375 of file vtkStringStringMap.h. References Erase(), and UTF8_TO_UTF16. |
|
Erase the entry matching a given key string.
Referenced by Erase(). |
|
Find the entry in the table with a given key string.
Definition at line 350 of file vtkStringStringMap.h. References Find(), and LATIN1_TO_UTF16. |
|
Find the entry in the table with a given key string.
Definition at line 343 of file vtkStringStringMap.h. References Find(), and UTF8_TO_UTF16. |
|
Find the entry in the table with a given key string.
Referenced by Find(). |
|
Find the first key in the map associated with a second string.
|
|
Find the next
|
|
Returns how many items the map can currently hold.
|
|
Toggle matching of upper/lower case characters in keys (default: true).
|
|
Toggle enforcement of uniqueness among string entries (default: true).
|
|
Returns number of slots occupied, including those of removed items.
|
|
Insert the specified string to the table paired with a second string.
Definition at line 366 of file vtkStringStringMap.h. References Insert(), and LATIN1_TO_UTF16. |
|
Insert the specified string to the table paired with a second string.
Definition at line 358 of file vtkStringStringMap.h. References Insert(), and UTF8_TO_UTF16. |
|
Insert the specified string to the table paired with a second string.
Referenced by Insert(). |
|
Returns whether the map is empty or not.
|
|
Reimplemented from vtkExtensionsObject. |
|
Reimplemented from vtkExtensionsObject. |
|
Toggle matching of upper/lower case characters in keys (default: true).
|
|
Toggle enforcement of uniqueness among string entries (default: true).
|
|
Swaps the elements of this object with those of specified
|
|
|