Gaudi Framework, version v20r4

Generated: 8 Jan 2009

ParseAtomic.cpp File Reference


Detailed Description

Implementation of the parsing function for atomic primitive types.

For adding new type you should have only grammar class which recognize this type. Then by combining this grammar with such already implemented grammars like VectorGrammar, MapGrammar, PairGrammar you can very simply implement container types which will work with your type.

If you want your type can be handled in property file - see ValueGrammar in JobOptionsSvc which lays in GaudiSvc.

Author:
Alexander MAZUROV Alexander.Mazurov@gmail.com

Vanya BELYAEV ibelyaev@physics.syr.edu

Date:
2006-05-12

Definition in file ParseAtomic.cpp.

#include "Parsers.icpp"

Include dependency graph for ParseAtomic.cpp:

Go to the source code of this file.

Namespaces

namespace  Gaudi
namespace  Gaudi::Parsers

Functions

StatusCode Gaudi::Parsers::parse (char &result, const std::string &input)
 parse the char value
StatusCode Gaudi::Parsers::parse (unsigned char &result, const std::string &input)
StatusCode Gaudi::Parsers::parse (signed char &result, const std::string &input)
StatusCode Gaudi::Parsers::parse (short &result, const std::string &input)
StatusCode Gaudi::Parsers::parse (unsigned short &result, const std::string &input)
StatusCode Gaudi::Parsers::parse (int &result, const std::string &input)
 parse the int value
StatusCode Gaudi::Parsers::parse (unsigned int &result, const std::string &input)
StatusCode Gaudi::Parsers::parse (long &result, const std::string &input)
StatusCode Gaudi::Parsers::parse (unsigned long &result, const std::string &input)
StatusCode Gaudi::Parsers::parse (long long &result, const std::string &input)
StatusCode Gaudi::Parsers::parse (unsigned long long &result, const std::string &input)
StatusCode Gaudi::Parsers::parse (bool &result, const std::string &input)
 parse the bool value
StatusCode Gaudi::Parsers::parse (float &result, const std::string &input)
StatusCode Gaudi::Parsers::parse (double &result, const std::string &input)
 parse the double value
StatusCode Gaudi::Parsers::parse (long double &result, const std::string &input)
StatusCode Gaudi::Parsers::parse (std::string &result, const std::string &input)
 parse the std::string value


Generated at Thu Jan 8 17:48:25 2009 for Gaudi Framework, version v20r4 by Doxygen version 1.5.6 written by Dimitri van Heesch, © 1997-2004