#include <ArgumentsParser.hpp>
This is a parser that you construct to parse a set of arguments. It is meant to only be constructed after the objectname and methodname have been parsed. You should then assign its parser to a rule ( it is one of boost.spirit coolest features that it allows to do this during parsing ), and get the results back after the rule is done.. You are supposed to construct a new ArgumentsParser for every method call you see.
Definition at line 59 of file install/include/rtt/scripting/ArgumentsParser.hpp.
RTT::ArgumentsParser::ArgumentsParser | ( | ExpressionParser & | p, | |
TaskContext * | peer, | |||
Service::shared_ptr | tobject, | |||
const std::string & | object, | |||
const std::string & | method | |||
) |
Construct a new ArgumentsParser. The object and method parameters are for use in its error messages, and will otherwise not be used..
Definition at line 48 of file ArgumentsParser.cpp.
RTT::ArgumentsParser::~ArgumentsParser | ( | ) |
Definition at line 82 of file ArgumentsParser.cpp.
RTT::scripting::ArgumentsParser::ArgumentsParser | ( | ExpressionParser & | p, | |
TaskContext * | peer, | |||
Service::shared_ptr | tobject, | |||
const std::string & | object, | |||
const std::string & | method | |||
) |
Construct a new ArgumentsParser. The object and method parameters are for use in its error messages, and will otherwise not be used..
RTT::scripting::ArgumentsParser::~ArgumentsParser | ( | ) |
std::string RTT::scripting::ArgumentsParser::methodname | ( | ) | [inline] |
Definition at line 130 of file rtt/scripting/ArgumentsParser.hpp.
std::string RTT::scripting::ArgumentsParser::methodname | ( | ) | [inline] |
Definition at line 108 of file install/include/rtt/scripting/ArgumentsParser.hpp.
Service::shared_ptr RTT::scripting::ArgumentsParser::object | ( | ) | [inline] |
Definition at line 99 of file rtt/scripting/ArgumentsParser.hpp.
Service::shared_ptr RTT::scripting::ArgumentsParser::object | ( | ) | [inline] |
Definition at line 77 of file install/include/rtt/scripting/ArgumentsParser.hpp.
std::string RTT::scripting::ArgumentsParser::objectname | ( | ) | [inline] |
Definition at line 126 of file rtt/scripting/ArgumentsParser.hpp.
std::string RTT::scripting::ArgumentsParser::objectname | ( | ) | [inline] |
Definition at line 104 of file install/include/rtt/scripting/ArgumentsParser.hpp.
bool RTT::scripting::ArgumentsParser::parsed | ( | ) | const [inline] |
Some syntaxes allow an argument list to be left out, and then this variable is useful to find out whether an argument list was actually parsed or not..
Definition at line 121 of file rtt/scripting/ArgumentsParser.hpp.
bool RTT::scripting::ArgumentsParser::parsed | ( | ) | const [inline] |
Some syntaxes allow an argument list to be left out, and then this variable is useful to find out whether an argument list was actually parsed or not..
Definition at line 99 of file install/include/rtt/scripting/ArgumentsParser.hpp.
rule_t& RTT::scripting::ArgumentsParser::parser | ( | ) | [inline] |
Definition at line 104 of file rtt/scripting/ArgumentsParser.hpp.
rule_t& RTT::scripting::ArgumentsParser::parser | ( | ) | [inline] |
Definition at line 82 of file install/include/rtt/scripting/ArgumentsParser.hpp.
TaskContext* RTT::scripting::ArgumentsParser::peer | ( | ) | [inline] |
Definition at line 94 of file rtt/scripting/ArgumentsParser.hpp.
TaskContext* RTT::scripting::ArgumentsParser::peer | ( | ) | [inline] |
Definition at line 72 of file install/include/rtt/scripting/ArgumentsParser.hpp.
std::vector<base::DataSourceBase::shared_ptr> RTT::scripting::ArgumentsParser::result | ( | ) | [inline] |
Get the parsed internal::DataSource's.
Definition at line 112 of file rtt/scripting/ArgumentsParser.hpp.
std::vector<base::DataSourceBase::shared_ptr> RTT::scripting::ArgumentsParser::result | ( | ) | [inline] |
Get the parsed internal::DataSource's.
Definition at line 90 of file install/include/rtt/scripting/ArgumentsParser.hpp.
void RTT::scripting::ArgumentsParser::seen_arg | ( | ) | [private] |
void RTT::ArgumentsParser::seen_arg | ( | ) | [private] |
Definition at line 71 of file ArgumentsParser.cpp.
void RTT::scripting::ArgumentsParser::seenarguments | ( | ) | [private] |
void RTT::ArgumentsParser::seenarguments | ( | ) | [private] |
Definition at line 77 of file ArgumentsParser.cpp.
TaskContext * RTT::scripting::ArgumentsParser::_peer [private] |
Definition at line 59 of file install/include/rtt/scripting/ArgumentsParser.hpp.
Definition at line 50 of file install/include/rtt/scripting/ArgumentsParser.hpp.
Definition at line 50 of file install/include/rtt/scripting/ArgumentsParser.hpp.
Definition at line 52 of file install/include/rtt/scripting/ArgumentsParser.hpp.
std::vector< base::DataSourceBase::shared_ptr > RTT::scripting::ArgumentsParser::margs [private] |
Definition at line 47 of file install/include/rtt/scripting/ArgumentsParser.hpp.
std::string RTT::scripting::ArgumentsParser::mmethod [private] |
Definition at line 58 of file install/include/rtt/scripting/ArgumentsParser.hpp.
std::string RTT::scripting::ArgumentsParser::mobject [private] |
Definition at line 57 of file install/include/rtt/scripting/ArgumentsParser.hpp.
bool RTT::scripting::ArgumentsParser::mparsed [private] |
Definition at line 48 of file install/include/rtt/scripting/ArgumentsParser.hpp.
Definition at line 60 of file install/include/rtt/scripting/ArgumentsParser.hpp.