ldas-tools-frameAPI
2.5.1
|
List parser class. More...
#include <rdsutil.hh>
Public Member Functions | |
ListParser (const char *list) | |
Constructor. More... | |
~ListParser () | |
bool | getNextToken () |
return: const bool - True if token was parsed out, false otherwise (end of More... | |
const std::vector< std::string > | getTokenList () |
return: const std::vector< std::string > - Vector of tokens. More... | |
List parser class.
Handles comma separated string list.
ListParser::ListParser | ( | const char * | list | ) |
Constructor.
[in] | list | List of comma separated strings. |
This constructor initializes the instance to be ready to parse the supplied string.
ListParser::~ListParser | ( | ) |
bool ListParser::getNextToken | ( | ) |
return: const bool - True if token was parsed out, false otherwise (end of
const std::vector< std::string > ListParser::getTokenList | ( | ) |
return: const std::vector< std::string > - Vector of tokens.