#include <vtkStringEnumerator.h>
Inheritance diagram for vtkStringEnumerator:
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 vtkStringEnumerator.h.
Public Member Functions | |
vtkTypeRevisionMacro (vtkStringEnumerator, 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 (vtkStringEnumerator *object) |
Swaps the elements of this object with those of specified object . | |
virtual const vtkUTF16ChType * | FindKey (const vtkIdType value) |
Find the first key in the map associated with a value . | |
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. | |
vtkIdType | Find (const vtkUTF16ChType *key) const |
Find the entry in the table with a given key string. | |
vtkIdType | Find (const vtkUTF8ChType *key) const |
Find the entry in the table with a given key string. | |
vtkIdType | 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, vtkIdType value) |
Insert the specified string to the table paired with an integral value. | |
int | Insert (const vtkUTF8ChType *key, vtkIdType value) |
Insert the specified string to the table paired with an integral value. | |
int | Insert (const char *key, vtkIdType value) |
Insert the specified string to the table paired with an integral value. | |
Methods for adding string-hash pair table entry. | |
int | Insert (const vtkUTF16ChType *key) |
Insert the specified string to the table paired with its hash value. | |
int | Insert (const vtkUTF8ChType *key) |
Insert the specified string to the table paired with its hash value. | |
int | Insert (const char *key) |
Insert the specified string to the table paired with its hash value. | |
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 | |
vtkStringEnumerator * | New (void) |
Protected Member Functions | |
vtkStringEnumerator (void) | |
~vtkStringEnumerator () |
|
|
|
|
|
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 427 of file vtkStringEnumerator.h. References Erase(), and LATIN1_TO_UTF16. |
|
Erase the entry matching a given key string.
Definition at line 420 of file vtkStringEnumerator.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 382 of file vtkStringEnumerator.h. References Find(), and LATIN1_TO_UTF16. |
|
Find the entry in the table with a given key string.
Definition at line 375 of file vtkStringEnumerator.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
|
|
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 its hash value.
Definition at line 412 of file vtkStringEnumerator.h. References Insert(), and LATIN1_TO_UTF16. |
|
Insert the specified string to the table paired with its hash value.
Definition at line 405 of file vtkStringEnumerator.h. References Insert(), and UTF8_TO_UTF16. |
|
Insert the specified string to the table paired with its hash value.
|
|
Insert the specified string to the table paired with an integral value.
Definition at line 397 of file vtkStringEnumerator.h. References Insert(), and LATIN1_TO_UTF16. |
|
Insert the specified string to the table paired with an integral value.
Definition at line 390 of file vtkStringEnumerator.h. References Insert(), and UTF8_TO_UTF16. |
|
Insert the specified string to the table paired with an integral value.
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
|
|
|