| # Gaudi Framework, version v22r2 |

Home |  | Generated: Tue May 10 2011

Public Member Functions | Public Attributes

# Gaudi::Parsers::StringGrammar::definition< ScannerT > Struct Template Reference

`#include <Grammars.h>`

List of all members.

## Public Member Functions
| definition (StringGrammar const &self)
rule< ScannerT > const & | start () const
## Public Attributes
rule< ScannerT > | string_literal

## Detailed Description

### template<typename ScannerT>
struct Gaudi::Parsers::StringGrammar::definition< ScannerT >

Definition at line 264 of file Grammars.h.

## Constructor & Destructor Documentation

template<typename ScannerT >

Gaudi::Parsers::StringGrammar::definition< ScannerT >::definition | ( | StringGrammar const & | self ) | `[inline]`

Definition at line 266 of file Grammars.h.

              {
                string_literal = (lexeme_d
                  [
                   ('"' >> (*( str_p("\\\"")
                               |
                               (anychar_p-'"') ))
                    [self.val = construct_<std::string>
                     (arg1,arg2)] >>
                    '"')
                   |
                   ('\'' >> (*( str_p("\\'")
                                |
                                (anychar_p-'\'') ))
                    [self.val = construct_<std::string>
                     (arg1,arg2)]>>
                    '\'')])[boost::bind(&StringGrammar::matchString,&self)];
              }

## Member Function Documentation

template<typename ScannerT >

rule<ScannerT> const& Gaudi::Parsers::StringGrammar::definition< ScannerT >::start | ( | ) | const`[inline]`

Definition at line 284 of file Grammars.h.

    { return string_literal; }

## Member Data Documentation

template<typename ScannerT >

rule<ScannerT> Gaudi::Parsers::StringGrammar::definition< ScannerT >::string_literal

Definition at line 285 of file Grammars.h.

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

- /afs/.cern.ch/sw/Gaudi/releases/GAUDI/GAUDI_v22r2/GaudiKernel/GaudiKernel/Grammars.h

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines