Gaudi Framework, version v22r2

Home   Generated: Tue May 10 2011
Classes | Public Types | Public Member Functions

Gaudi::Parsers::StringGrammar Class Reference

The valid represenation of string values are: More...

#include <Grammars.h>

Inheritance diagram for Gaudi::Parsers::StringGrammar:
Inheritance graph
[legend]
Collaboration diagram for Gaudi::Parsers::StringGrammar:
Collaboration graph
[legend]

List of all members.

Classes

struct  definition

Public Types

typedef std::string ResultT

Public Member Functions

void matchString () const
 remove CR/LF symbols form the parsed strings

Detailed Description

The valid represenation of string values are:

Todo:
implement not ASCII chars in strings
Author:
Alexander MAZUROV Alexander.Mazurov@gmail.com
Vanya BELYAEV ibelyaev@physics.syr.edu
Date:
2006-05-14

Definition at line 241 of file Grammars.h.


Member Typedef Documentation

typedef std::string Gaudi::Parsers::StringGrammar::ResultT

Definition at line 247 of file Grammars.h.


Member Function Documentation

void Gaudi::Parsers::StringGrammar::matchString (  ) const [inline]

remove CR/LF symbols form the parsed strings

Attention:
it is a bit dangerous operation The operation allows to write "very long" input strings for opts-files (it is actual e.g. for DataOnDemandSvc configuration) by splitting the strings into few lines All new-line symbols (as well as '
', '', CR/LF etc are substituted by ordinary blanks.

Definition at line 256 of file Grammars.h.

      {
        for ( std::string::iterator cur=this->val().begin();
              cur!=this->val().end();cur++)
        { if(std::isspace(*cur) ) { *cur = ' '; } }
      }

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines

Generated at Tue May 10 2011 18:55:27 for Gaudi Framework, version v22r2 by Doxygen version 1.7.2 written by Dimitri van Heesch, © 1997-2004