![]() |
|
|
Generated: 8 Jan 2009 |
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.
Definition in file ParseMaps.cpp.
#include "Parsers.icpp"

Go to the source code of this file.
Namespaces | |
| namespace | Gaudi |
| namespace | Gaudi::Parsers |
Functions | |
| StatusCode | Gaudi::Parsers::parse (std::map< int, int > &result, const std::string &input) |
parse the std::map<int , int> value | |
| StatusCode | Gaudi::Parsers::parse (std::map< int, double > &result, const std::string &input) |
parse the std::map<int , double> value | |
| StatusCode | Gaudi::Parsers::parse (std::map< std::string, double > &result, const std::string &input) |
parse the std::map<std::string , double> value | |
| StatusCode | Gaudi::Parsers::parse (std::map< std::string, std::string > &result, const std::string &input) |
parse the std::map<std::string , std::string> value | |
| StatusCode | Gaudi::Parsers::parse (std::map< std::string, int > &result, const std::string &input) |
parse the std::map<std::string , int> value | |
| 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 | |
| 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 | |
| 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 | |
| StatusCode | Gaudi::Parsers::parse (std::string &name, std::string &value, const std::string &input) |
| parse the pair expression (map-component) " 'name' :value" | |
| StatusCode | Gaudi::Parsers::parse (std::map< int, std::string > &result, const std::string &input) |
parse the std::map<int,std::string> > objects | |
| StatusCode | Gaudi::Parsers::parse (std::map< unsigned int, std::string > &result, const std::string &input) |
parse the std::map<unsigned int,std::string> > objects | |