|
Gaudi Framework, version v23r2p1 |
| Home | Generated: Fri Jun 29 2012 |
The valid represenation of string values are: More...
#include <Grammar.h>


Classes | |
| struct | definition |
Public Types | |
| typedef std::string | ResultT |
| typedef std::string | ResultT |
| typedef std::string | ResultT |
Public Member Functions | |
| StringGrammar () | |
| void | matchString () const |
| remove CR/LF symbols form the parsed strings | |
| StringGrammar () | |
Public Attributes | |
| qi::rule< Iterator, std::string(), qi::locals < char >, Skipper > | str |
| qi::rule< Iterator, char()> | begin_quote |
| qi::rule< Iterator, void(char)> | quote |
The valid represenation of string values are:
Definition at line 46 of file Grammar.h.
| typedef std::string Gaudi::Parsers::StringGrammar< Iterator, Skipper >::ResultT |
| typedef std::string Gaudi::Parsers::StringGrammar< Iterator, Skipper >::ResultT |
Definition at line 91 of file GrammarsV2.h.
| typedef std::string Gaudi::Parsers::StringGrammar< Iterator, Skipper >::ResultT |
Definition at line 252 of file Grammars.h.
| Gaudi::Parsers::StringGrammar< Iterator, Skipper >::StringGrammar | ( | ) | [inline] |
Definition at line 51 of file Grammar.h.
: qi::grammar<Iterator, std::string(), qi::locals<char>, Skipper> { //--------------------------------------------------------------------------- typedef std::string ResultT; //---------------------------------------------------------------------
| Gaudi::Parsers::StringGrammar< Iterator, Skipper >::StringGrammar | ( | ) | [inline] |
Definition at line 93 of file GrammarsV2.h.
: StringGrammar::base_type( str ) {
begin_quote = enc::char_("\"'");
quote = enc::char_(qi::_r1);
str = qi::lexeme[begin_quote[qi::_a = qi::_1]
> *( (enc::char_('\\') >> quote(qi::_a))[qi::_val += qi::_a]
| (enc::char_[qi::_val += qi::_1] - quote(qi::_a))) >
quote(qi::_a)]
;
}
| void Gaudi::Parsers::StringGrammar< Iterator, Skipper >::matchString | ( | ) | const [inline] |
remove CR/LF symbols form the parsed strings
Definition at line 261 of file Grammars.h.
{
for ( std::string::iterator cur=this->val().begin();
cur!=this->val().end();cur++)
{ if(std::isspace(*cur) ) { *cur = ' '; } }
}
| qi::rule< Iterator, std::string(), qi::locals< char >, Skipper > Gaudi::Parsers::StringGrammar< Iterator, Skipper >::str |