List of unique strings. More...
#include <decUniqueStringList.h>
Public Member Functions | |
Constructors and Destructors | |
| decUniqueStringList () | |
| Creates an unique string list. | |
| ~decUniqueStringList () | |
| Cleans up the list. | |
Management | |
| int | GetStringCount () const |
| Retrieves the number of strings. | |
| const char * | GetStringAt (int index) const |
| Retrieves the string at the given index. | |
| int | IndexOfString (const char *string) const |
| Retrieves the index of the string or -1 if not found. | |
| bool | HasString (const char *string) const |
| Determines if the given string exists. | |
| void | AddString (const char *string) |
| Adds a string to the list. | |
| void | RemoveString (const char *string) |
| Removes a string from the list. | |
| void | RemoveAllStrings () |
| Removes all strings. | |
List of unique strings.
| decUniqueStringList::decUniqueStringList | ( | ) |
Creates an unique string list.
| decUniqueStringList::~decUniqueStringList | ( | ) |
Cleans up the list.
| void decUniqueStringList::AddString | ( | const char * | string ) |
Adds a string to the list.
| const char* decUniqueStringList::GetStringAt | ( | int | index ) | const |
Retrieves the string at the given index.
| int decUniqueStringList::GetStringCount | ( | ) | const [inline] |
Retrieves the number of strings.
| bool decUniqueStringList::HasString | ( | const char * | string ) | const |
Determines if the given string exists.
| int decUniqueStringList::IndexOfString | ( | const char * | string ) | const |
Retrieves the index of the string or -1 if not found.
| void decUniqueStringList::RemoveAllStrings | ( | ) |
Removes all strings.
| void decUniqueStringList::RemoveString | ( | const char * | string ) |
Removes a string from the list.
1.7.2