#include <StringMap.h>
Public Member Functions | |
| StringMap () | |
| Allocate the memory for the default initial size of the array. | |
| ~StringMap () | |
| Destructor. | |
| void | Add (int key, const char *value) |
| Add an item to the StringMap. | |
| const char * | GetValue (int key) |
| Return the value associated with a given key, or null if the key/value pair is not in the StringMap. | |
| const int * | GetKey (const char *value) |
| Return the key associated with a given value, or null if the key/value pair is not in the StringMap. | |
Private Attributes | |
| int * | _keyMem |
| const char ** | _valueMem |
| int | memSize |
| int | length |
Static Private Attributes | |
| const int | DEFAULT_INITIAL_SIZE = 16 |
Definition at line 51 of file StringMap.h.
|
|
Allocate the memory for the default initial size of the array.
Definition at line 58 of file StringMap.h. |
|
|
Destructor.
Definition at line 69 of file StringMap.h. |
|
||||||||||||
|
Add an item to the StringMap.
Definition at line 81 of file StringMap.h. Referenced by CollectASCIIInfo(). |
|
|
Return the key associated with a given value, or null if the key/value pair is not in the StringMap.
Definition at line 134 of file StringMap.h. Referenced by CollectASCIIInfo(). |
|
|
Return the value associated with a given key, or null if the key/value pair is not in the StringMap.
Definition at line 117 of file StringMap.h. Referenced by LogFileSequence(), and LogStdoutSequence(). |
|
|
Definition at line 152 of file StringMap.h. Referenced by Add(), GetKey(), GetValue(), StringMap(), and ~StringMap(). |
|
|
Definition at line 153 of file StringMap.h. Referenced by Add(), GetKey(), GetValue(), StringMap(), and ~StringMap(). |
|
|
Definition at line 149 of file StringMap.h. Referenced by StringMap(). |
|
|
Definition at line 155 of file StringMap.h. Referenced by Add(), GetKey(), GetValue(), and StringMap(). |
|
|
Definition at line 154 of file StringMap.h. Referenced by Add(), and StringMap(). |
1.3.4