![]() |
|
|
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 ParsePairs.cpp.
#include "Parsers.icpp"

Go to the source code of this file.
Namespaces | |
| namespace | Gaudi |
| namespace | Gaudi::Parsers |
Functions | |
| StatusCode | Gaudi::Parsers::parse (pair< double, double > &result, const string &input) |
| StatusCode | Gaudi::Parsers::parse (pair< int, int > &result, const string &input) |