ParseMaps.cpp File Reference
Implementation of the parsing functions for std::map<TYPE1,TYPE2>.
More...
#include "GaudiKernel/Parsers.icpp"
Go to the source code of this file.
|
Namespaces |
| namespace | Gaudi |
| namespace | Gaudi::Parsers |
Functions |
| GAUDI_API StatusCode | Gaudi::Parsers::parse (std::map< int, int > &result, const std::string &input) |
| | parse the std::map<int , int> value
|
| GAUDI_API StatusCode | Gaudi::Parsers::parse (std::map< int, double > &result, const std::string &input) |
| | parse the std::map<int , double> value
|
| GAUDI_API StatusCode | Gaudi::Parsers::parse (std::map< std::string, double > &result, const std::string &input) |
| | parse the std::map<std::string , double> value
|
| GAUDI_API StatusCode | Gaudi::Parsers::parse (std::map< std::string, std::string > &result, const std::string &input) |
| | parse the std::map<std::string , std::string> value
|
| GAUDI_API StatusCode | Gaudi::Parsers::parse (std::map< std::string, int > &result, const std::string &input) |
| | parse the std::map<std::string , int> value
|
| GAUDI_API StatusCode | Gaudi::Parsers::parse (std::map< std::string, std::vector< std::string > > &result, const std::string &input) |
| | parse the std::map<std::string , std::vector<std::string> > value
|
| GAUDI_API StatusCode | Gaudi::Parsers::parse (std::map< std::string, std::vector< int > > &result, const std::string &input) |
| | parse the std::map<std::string , std::vector<int> > value
|
| GAUDI_API StatusCode | Gaudi::Parsers::parse (std::map< std::string, std::vector< double > > &result, const std::string &input) |
| | parse the std::map<std::string , std::vector<double> > value
|
| GAUDI_API StatusCode | Gaudi::Parsers::parse (std::string &name, std::string &value, const std::string &input) |
| | parse the pair expression (map-component) " 'name' :value"
|
| GAUDI_API StatusCode | Gaudi::Parsers::parse (std::map< int, std::string > &result, const std::string &input) |
| | parse the std::map<int,std::string> > objects
|
| GAUDI_API StatusCode | Gaudi::Parsers::parse (std::map< unsigned int, std::string > &result, const std::string &input) |
| | parse the std::map<unsigned int,std::string> > objects
|
| GAUDI_API StatusCode | Gaudi::Parsers::parse (std::map< std::string, std::pair< double, double > > ¶ms, const std::string &input) |
| | helper function, needed for implementation of map of pairs It is very useful construction for monitoring to represent the value and error or the allowed range for some parameter
|
Detailed Description
Implementation of the parsing functions for std::map<TYPE1,TYPE2>.
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 ParseMaps.cpp.