Public Member Functions | Private Member Functions | Private Attributes
RTT::scripting::ValueParser Class Reference

A class for parsing const values. More...

#include <ValueParser.hpp>

List of all members.

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

CommonParsercommonparser
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
TaskContextcontext
std::string mcurstring
rule_t named_constant
PeerParser peerparser
PropertyParser propparser
base::DataSourceBase::shared_ptr ret

Detailed Description

A class for parsing const values.

It recognizes types and stores them in a TaskVariableBase.

Definition at line 58 of file ValueParser.hpp.


Constructor & Destructor Documentation

Definition at line 48 of file ValueParser.cpp.

Definition at line 207 of file ValueParser.cpp.


Member Function Documentation

Clears this parser, not the repository where it stores its results.

Definition at line 212 of file ValueParser.cpp.

Definition at line 109 of file ValueParser.hpp.

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.

void RTT::ValueParser::seenboolconstant ( iter_t  begin,
iter_t  end 
) [private]

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.

void RTT::ValueParser::seennamedconstant ( iter_t  begin,
iter_t  end 
) [private]

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.


Member Data Documentation

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.

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.

Definition at line 60 of file ValueParser.hpp.

Definition at line 97 of file ValueParser.hpp.

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.


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


rtt
Author(s): RTT Developers
autogenerated on Wed Aug 26 2015 16:16:26