#include <ConstList.h>
Inheritance diagram for ConstList:
Public Methods | |
ConstList () | |
~ConstList () | |
bool | parse (AIDA_STD::string a_string) |
Parse the string and return true if parsing is successful. More... | |
bool | parseTerm (AIDA_STD::string a_string, size_t whichTerm) |
Parse one term of the list and return true if parsing is successful. More... |
<id> = <number>
Terms are separated by semicolons. If parsing is successful, the lists of identifiers and associated values are stored in the corresponding member variables of the base class.
Definition at line 20 of file ConstList.h.
|
Definition at line 23 of file ConstList.h. |
|
Definition at line 6 of file ConstList.cpp. References BasicListParser::clear. |
|
Implements BasicListParser. Definition at line 29 of file ConstList.cpp. References BasicListParser::clear, BasicListParser::pair_count, parseTerm, BasicListParser::parsing_successful, and SimpleTokenizer::tokenize. |
|
Definition at line 8 of file ConstList.cpp. References TokenMatch::isId, TokenMatch::isNum, BasicListParser::pair_names_os, BasicListParser::pair_values_os, and SimpleTokenizer::tokenize. Referenced by parse. |