![]() |
|
|
Generated: 24 Nov 2008 |
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 ParseVectorsInteger.cpp.
#include "Parsers.icpp"

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