◆ Add()
void TokenList::Add |
( |
const std::string & |
token | ) |
|
Adds a single token to the token list.
- Parameters
-
◆ AddList()
void TokenList::AddList |
( |
const std::string & |
tokenlist | ) |
|
Adds a space-delimited list of tokens to the token list.
- Parameters
-
tokenlist | The list of space-delimited tokens to add. |
◆ Clear()
void TokenList::Clear |
( |
| ) |
|
Removes all tokens from the token list.
◆ Contains()
bool TokenList::Contains |
( |
const std::string & |
token | ) |
const |
Determines whether the specified token exists in the token list.
- Parameters
-
token | The token to search for. |
◆ operator==()
bool TokenList::operator== |
( |
const TokenList & |
other | ) |
const |
Determines whether the specified token list contains the same tokens as this instance.
- Parameters
-
other | The tokenlist to compare against. |
- Returns
- True if the token lists are equal; otherwise, false.
◆ Remove()
void TokenList::Remove |
( |
const std::string & |
token | ) |
|
Removes the specified token from the token list.
- Parameters
-
token | The token to remove. |
◆ ToString()
std::string TokenList::ToString |
( |
| ) |
const |
Retrieves a string which represents the contents of this token list.
The documentation for this class was generated from the following files: