$search
A class for parsing const values. More...
#include <ValueParser.hpp>
Public Member Functions | |
void | clear () |
const base::DataSourceBase::shared_ptr | lastParsed () const |
rule_t & | parser () |
ValueParser (TaskContext *tc, CommonParser &cp) | |
~ValueParser () | |
Private Member Functions | |
void | push_str_char (char c) |
void | seenboolconstant (iter_t begin, iter_t end) |
void | seencharconstant (iter_t c) |
void | seendoubleconstant (double c) |
void | seenfloatconstant (double c) |
void | seenhexconstant (unsigned int c) |
void | seenintconstant (int c) |
void | seennamedconstant (iter_t begin, iter_t end) |
void | seennull () |
void | seenpeer () |
void | seenstring () |
void | seenuintconstant (unsigned int c) |
Private Attributes | |
CommonParser & | commonparser |
rule_t | const_bool |
rule_t | const_char |
rule_t | const_double |
rule_t | const_float |
rule_t | const_hex |
rule_t | const_int |
rule_t | const_string |
rule_t | const_uint |
rule_t | constant |
TaskContext * | context |
std::string | mcurstring |
rule_t | named_constant |
PeerParser | peerparser |
PropertyParser | propparser |
base::DataSourceBase::shared_ptr | ret |
A class for parsing const values.
It recognizes types and stores them in a TaskVariableBase.
Definition at line 58 of file ValueParser.hpp.
RTT::ValueParser::ValueParser | ( | TaskContext * | tc, | |
CommonParser & | cp | |||
) |
Definition at line 48 of file ValueParser.cpp.
RTT::ValueParser::~ValueParser | ( | ) |
Definition at line 207 of file ValueParser.cpp.
void RTT::ValueParser::clear | ( | ) |
Clears this parser, not the repository where it stores its results.
Definition at line 212 of file ValueParser.cpp.
const base::DataSourceBase::shared_ptr RTT::scripting::ValueParser::lastParsed | ( | ) | const [inline] |
Definition at line 109 of file ValueParser.hpp.
rule_t & RTT::ValueParser::parser | ( | ) |
Definition at line 217 of file ValueParser.cpp.
void RTT::ValueParser::push_str_char | ( | char | c | ) | [private] |
Definition at line 222 of file ValueParser.cpp.
Definition at line 122 of file ValueParser.cpp.
void RTT::ValueParser::seencharconstant | ( | iter_t | c | ) | [private] |
Definition at line 177 of file ValueParser.cpp.
void RTT::ValueParser::seendoubleconstant | ( | double | c | ) | [private] |
Definition at line 202 of file ValueParser.cpp.
void RTT::ValueParser::seenfloatconstant | ( | double | c | ) | [private] |
Definition at line 197 of file ValueParser.cpp.
void RTT::ValueParser::seenhexconstant | ( | unsigned int | c | ) | [private] |
Definition at line 182 of file ValueParser.cpp.
void RTT::ValueParser::seenintconstant | ( | int | c | ) | [private] |
Definition at line 187 of file ValueParser.cpp.
Definition at line 134 of file ValueParser.cpp.
void RTT::ValueParser::seennull | ( | ) | [private] |
Definition at line 172 of file ValueParser.cpp.
void RTT::ValueParser::seenpeer | ( | ) | [private] |
Definition at line 115 of file ValueParser.cpp.
void RTT::ValueParser::seenstring | ( | ) | [private] |
Definition at line 227 of file ValueParser.cpp.
void RTT::ValueParser::seenuintconstant | ( | unsigned int | c | ) | [private] |
Definition at line 192 of file ValueParser.cpp.
Definition at line 62 of file ValueParser.hpp.
Definition at line 60 of file ValueParser.hpp.
Definition at line 60 of file ValueParser.hpp.
Definition at line 60 of file ValueParser.hpp.
Definition at line 60 of file ValueParser.hpp.
rule_t RTT::scripting::ValueParser::const_hex [private] |
Definition at line 60 of file ValueParser.hpp.
rule_t RTT::scripting::ValueParser::const_int [private] |
Definition at line 60 of file ValueParser.hpp.
Definition at line 60 of file ValueParser.hpp.
Definition at line 60 of file ValueParser.hpp.
rule_t RTT::scripting::ValueParser::constant [private] |
Definition at line 60 of file ValueParser.hpp.
TaskContext* RTT::scripting::ValueParser::context [private] |
Definition at line 97 of file ValueParser.hpp.
std::string RTT::scripting::ValueParser::mcurstring [private] |
Definition at line 82 of file ValueParser.hpp.
Definition at line 60 of file ValueParser.hpp.
Definition at line 63 of file ValueParser.hpp.
Definition at line 64 of file ValueParser.hpp.
Definition at line 78 of file ValueParser.hpp.