| The Gaudi Framework v30r0 (c919700c)

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Types | Public Member Functions | Public Attributes | List of all members
Gaudi::Parsers::StringGrammar< Iterator, Skipper > Struct Template Reference

`#include <src/JobOptionsSvc/Grammar.h>`

Inheritance diagram for Gaudi::Parsers::StringGrammar< Iterator, Skipper >:
[legend]
Collaboration diagram for Gaudi::Parsers::StringGrammar< Iterator, Skipper >:
[legend]

## Public Types
typedef std::string | ResultT
typedef std::string | ResultT

## Public Member Functions
| StringGrammar ()
| 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

## Detailed Description

### template<typename Iterator, typename Skipper>
struct Gaudi::Parsers::StringGrammar< Iterator, Skipper >

Definition at line 53 of file Grammar.h.

## Member Typedef Documentation

template<typename Iterator, typename Skipper>

typedef std::string Gaudi::Parsers::StringGrammar< Iterator, Skipper >::ResultT

Definition at line 55 of file Grammar.h.

template<typename Iterator, typename Skipper>

typedef std::string Gaudi::Parsers::StringGrammar< Iterator, Skipper >::ResultT

Definition at line 90 of file GrammarsV2.h.

## Constructor & Destructor Documentation

template<typename Iterator, typename Skipper>

Gaudi::Parsers::StringGrammar< Iterator, Skipper >::StringGrammar | ( |  | ) |
| inline

Definition at line 57 of file Grammar.h.

57 : StringGrammar::base_type( str )
58 {
59 begin_quote = enc::char_( "\"'" );
60 quote = enc::char_( qi::_r1 );
61
62 str = qi::lexeme[begin_quote[qi::_a = qi::_1] >>
63 *( ( enc::char_( '\\' ) >> quote( qi::_a ) )[qi::_val += qi::_a] |
64 ( enc::char_[qi::_val += qi::_1] - quote( qi::_a ) ) ) >>
65 quote( qi::_a )];
66 }
Gaudi::Parsers::StringGrammar::quote
qi::rule< Iterator, void(char)> quote
Definition: Grammar.h:70
Gaudi::Parsers::StringGrammar::str
qi::rule< Iterator, std::string(), qi::locals< char >, Skipper > str
Definition: Grammar.h:68
Gaudi::Parsers::StringGrammar::begin_quote
qi::rule< Iterator, char()> begin_quote
Definition: Grammar.h:69
template<typename Iterator, typename Skipper>

Gaudi::Parsers::StringGrammar< Iterator, Skipper >::StringGrammar | ( |  | ) |
| inline

Definition at line 92 of file GrammarsV2.h.

92 : StringGrammar::base_type( str )
93 {
94 begin_quote = enc::char_( "\"'" );
95 quote = enc::char_( qi::_r1 );
96
97 str = qi::lexeme[begin_quote[qi::_a = qi::_1] >
98 *( ( enc::char_( '\\' ) >> quote( qi::_a ) )[qi::_val += qi::_a] |
99 ( enc::char_[qi::_val += qi::_1] - quote( qi::_a ) ) ) > quote( qi::_a )];
100 }
Gaudi::Parsers::StringGrammar::quote
qi::rule< Iterator, void(char)> quote
Definition: Grammar.h:70
Gaudi::Parsers::StringGrammar::str
qi::rule< Iterator, std::string(), qi::locals< char >, Skipper > str
Definition: Grammar.h:68
Gaudi::Parsers::StringGrammar::begin_quote
qi::rule< Iterator, char()> begin_quote
Definition: Grammar.h:69

## Member Data Documentation

template<typename Iterator, typename Skipper>

qi::rule< Iterator, char()> Gaudi::Parsers::StringGrammar< Iterator, Skipper >::begin_quote

Definition at line 69 of file Grammar.h.

template<typename Iterator, typename Skipper>

qi::rule< Iterator, void(char)> Gaudi::Parsers::StringGrammar< Iterator, Skipper >::quote

Definition at line 70 of file Grammar.h.

template<typename Iterator, typename Skipper>

qi::rule< Iterator, std::string(), qi::locals< char >, Skipper > Gaudi::Parsers::StringGrammar< Iterator, Skipper >::str

Definition at line 68 of file Grammar.h.

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

- GaudiCoreSvc/src/JobOptionsSvc/Grammar.h
- GaudiKernel/GaudiKernel/GrammarsV2.h