ldas-tools-frameAPI  2.5.1
Public Member Functions | List of all members
ListParser Class Reference

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...
 

Detailed Description

List parser class.

Handles comma separated string list.

Constructor & Destructor Documentation

◆ ListParser()

ListParser::ListParser ( const char *  list)

Constructor.

Parameters
[in]listList 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 ( )

Member Function Documentation

◆ 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.


The documentation for this class was generated from the following files: