| # Gaudi Framework, version v20r2
Generated: 18 Jul 2008

- Main Page
- Namespaces
- Classes
- Files
- Directories
- Related Pages

- Search for |

- File List
- File Members

# ParsePairs.cpp File Reference

## Detailed Description

Implementation of the parser function for std::pair<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 ParsePairs.cpp.

`#include "Parsers.icpp"`

Include dependency graph for ParsePairs.cpp:

Go to the source code of this file.

## Namespaces
namespace | Gaudi
namespace | Gaudi::Parsers
## Functions
StatusCode | Gaudi::Parsers::parse (std::pair< double, double > &result, const std::string &input)
| parse the `std::pair<double,double>` value
StatusCode | Gaudi::Parsers::parse (std::pair< int, int > &result, const std::string &input)
| parse the `std::pair<int,int>` value