Gaudi Framework, version v21r8

Home   Generated: 17 Mar 2010

ParseVectorsReal.cpp File Reference

Implementation of the parsing functions for std::vetctor<TYPE>. More...

#include "GaudiKernel/Parsers.icpp"

Include dependency graph for ParseVectorsReal.cpp:

Go to the source code of this file.

Namespaces

namespace  Gaudi
namespace  Gaudi::Parsers

Functions

GAUDI_API StatusCode Gaudi::Parsers::parse (std::vector< float > &result, const std::string &input)
GAUDI_API StatusCode Gaudi::Parsers::parse (std::vector< double > &result, const std::string &input)
 parse the std::vector<double> value
GAUDI_API StatusCode Gaudi::Parsers::parse (std::vector< long double > &result, const std::string &input)


Detailed Description

Implementation of the parsing functions for std::vetctor<TYPE>.

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 ParseVectorsReal.cpp.


Generated at Wed Mar 17 18:11:12 2010 for Gaudi Framework, version v21r8 by Doxygen version 1.5.6 written by Dimitri van Heesch, © 1997-2004