List parser class.
More...
#include <rdsutil.hh>
List parser class.
Handles comma separated string list.
◆ ListParser()
ListParser::ListParser |
( |
const char * |
list | ) |
|
Constructor.
- Parameters
-
[in] | list | List of comma separated strings. |
- Returns
- A new instance of this object.
This constructor initializes the instance to be ready to parse the supplied string.
◆ ~ListParser()
ListParser::~ListParser |
( |
| ) |
|
◆ getNextToken()
bool ListParser::getNextToken |
( |
| ) |
|
return: const bool - True if token was parsed out, false otherwise (end of
◆ getTokenList()
const std::vector< std::string > ListParser::getTokenList |
( |
| ) |
|
return: const std::vector< std::string > - Vector of tokens.
◆ mBuffer
char* ListParser::mBuffer |
|
private |
◆ mClose
const char ListParser::mClose |
|
staticprivate |
◆ mCurrPos
const char* ListParser::mCurrPos |
|
private |
◆ mName
std::string ListParser::mName |
|
private |
◆ mOpen
const char ListParser::mOpen |
|
staticprivate |
◆ mSeparator
const char ListParser::mSeparator |
|
staticprivate |
◆ mStart
const char* ListParser::mStart |
|
private |
The documentation for this class was generated from the following files: