HashTableKey_String Class Reference
[Containers]
Hash table key implementation for string keys.
More...

Public Member Functions | |
| HashTableKey_String () | |
| HashTableKey_String (const HashTableKey_String &string) | |
| const HashTableKey_String & | operator= (const HashTableKey_String &string) |
| HashTableKey_String (const char *string) | |
| ~HashTableKey_String () | |
| virtual StringId | GetType () const |
| unsigned int | GetHash () const |
| bool | Compare (const HashTableKey *key) const |
| const char * | GetString () const |
Detailed Description
Hash table key implementation for string keys.Hash table key implementation for string keys
Definition at line 20 of file HashTableKey_String.h.
Constructor & Destructor Documentation
| HashTableKey_String::HashTableKey_String | ( | ) |
Definition at line 8 of file HashTableKey_String.cpp.
| HashTableKey_String::HashTableKey_String | ( | const HashTableKey_String & | string | ) |
- Parameters:
-
string String value that this key should represent
Definition at line 14 of file HashTableKey_String.cpp.
| HashTableKey_String::HashTableKey_String | ( | const char * | string | ) |
Constructor
- Parameters:
-
string String value that this key should represent
Definition at line 44 of file HashTableKey_String.cpp.
| HashTableKey_String::~HashTableKey_String | ( | ) |
Destructor
Definition at line 62 of file HashTableKey_String.cpp.
Member Function Documentation
| const HashTableKey_String & HashTableKey_String::operator= | ( | const HashTableKey_String & | string | ) |
- Parameters:
-
string String value that this key should represent
Definition at line 25 of file HashTableKey_String.cpp.
| StringId HashTableKey_String::GetType | ( | ) | const [virtual] |
Used to find out the specific type of HashTableKey that this class implements
- Returns:
- A string id ("HashTableKey_String") uniquely identifying this key type
Implements HashTableKey.
Definition at line 135 of file HashTableKey_String.cpp.
| unsigned int HashTableKey_String::GetHash | ( | ) | const [virtual] |
Gets the hash number for this key
- Returns:
- The hash number for this key
Implements HashTableKey.
Definition at line 75 of file HashTableKey_String.cpp.
| bool HashTableKey_String::Compare | ( | const HashTableKey * | key | ) | const [virtual] |
Compares this key with the specified key.
- Returns:
- True if the two keys are identical, false if they are not
Implements HashTableKey.
Definition at line 90 of file HashTableKey_String.cpp.
| const char * HashTableKey_String::GetString | ( | ) | const |
Gets the actual string used for this key
- Returns:
- The string used for this key
Definition at line 83 of file HashTableKey_String.cpp.
Reproduction/republishing of any material on this site without permission is strictly prohibited.
