| # Gaudi Framework, version v21r7p1 |

Home |  | Generated: 15 Feb 2010

# 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.

    00267           {
    00268             string_literal = (lexeme_d
    00269               [
    00270                ('"' >> (*( str_p("\\\"")
    00271                            |
    00272                            (anychar_p-'"') ))
    00273                 [self.val = construct_<std::string>
    00274                  (arg1,arg2)] >>
    00275                 '"')
    00276                |
    00277                ('\'' >> (*( str_p("\\'")
    00278                             |
    00279                             (anychar_p-'\'') ))
    00280                 [self.val = construct_<std::string>
    00281                  (arg1,arg2)]>>
    00282                 '\'')])[boost::bind(&StringGrammar::matchString,&self)];
    00283           }

## 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.

    00284 { 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_v21r7p1/GaudiKernel/GaudiKernel/Grammars.h