| # Gaudi Framework, version v20r4
Generated: 8 Jan 2009

# Parsers.h File Reference

## Detailed Description

The declaration of major parsing functions used e.g for (re)implementation of new extended properties see class Property These function also could be used in a different, much wider contex.

all of them have the semantic: `StatusCode parse ( TYPE& result , const std::string& input )` where `input` is the input string to be parsed, and `result` is the the result of parsing

      const std::string        input = ... ;
      std::vector<std::string> result ;

      // parse the input
      StatusCode sc = parse ( result , input ) ;
      if ( sc.isFailure() )
      {
        // error here ...
      }
      std::cout << "vector size " << result.size() << std::endl ;

See also:
  Gaudi::Parsers::parse

  Property

Author:
  Alexander MAZUROV Alexander.Mazurov@gmail.com

  Vanya BELYAEV ibelyaev@physics.syr.edu

Date:
  2006-05-12

Definition in file Parsers.h.

`#include <string>`
`#include <vector>`
`#include <map>`
`#include "GaudiKernel/StatusCode.h"`
`#include "GaudiKernel/HistoDef.h"`

Include dependency graph for Parsers.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Namespaces
namespace | Gaudi
namespace | Gaudi::Parsers
## Defines
#define | GAUDIPROPERTYPARSERS_PARSERS_H 1
## Functions
StatusCode | Gaudi::Parsers::parse (bool &result, const std::string &input)
| parse the `bool` value
StatusCode | Gaudi::Parsers::parse (char &result, const std::string &input)
| parse the `char` value
StatusCode | Gaudi::Parsers::parse (unsigned char &result, const std::string &input)
StatusCode | Gaudi::Parsers::parse (signed char &result, const std::string &input)
StatusCode | Gaudi::Parsers::parse (int &result, const std::string &input)
| parse the `int` value
StatusCode | Gaudi::Parsers::parse (short &result, const std::string &input)
StatusCode | Gaudi::Parsers::parse (unsigned short &result, const std::string &input)
StatusCode | Gaudi::Parsers::parse (unsigned int &result, const std::string &input)
StatusCode | Gaudi::Parsers::parse (long &result, const std::string &input)
StatusCode | Gaudi::Parsers::parse (unsigned long &result, const std::string &input)
StatusCode | Gaudi::Parsers::parse (long long &result, const std::string &input)
StatusCode | Gaudi::Parsers::parse (unsigned long long &result, const std::string &input)
StatusCode | Gaudi::Parsers::parse (double &result, const std::string &input)
| parse the `double` value
StatusCode | Gaudi::Parsers::parse (float &result, const std::string &input)
StatusCode | Gaudi::Parsers::parse (long double &result, const std::string &input)
StatusCode | Gaudi::Parsers::parse (std::string &result, const std::string &input)
| parse the `std::string` value
StatusCode | Gaudi::Parsers::parse (std::vector< bool > &result, const std::string &input)
| parse the `std::vector<bool>` value
StatusCode | Gaudi::Parsers::parse (std::vector< char > &result, const std::string &input)
| parse the `std::vector<char>` value
StatusCode | Gaudi::Parsers::parse (std::vector< unsigned char > &result, const std::string &input)
StatusCode | Gaudi::Parsers::parse (std::vector< signed char > &result, const std::string &input)
StatusCode | Gaudi::Parsers::parse (std::vector< int > &result, const std::string &input)
| parse the `std::vector<int>` value
StatusCode | Gaudi::Parsers::parse (std::vector< short > &result, const std::string &input)
StatusCode | Gaudi::Parsers::parse (std::vector< unsigned short > &result, const std::string &input)
StatusCode | Gaudi::Parsers::parse (std::vector< unsigned int > &result, const std::string &input)
StatusCode | Gaudi::Parsers::parse (std::vector< long > &result, const std::string &input)
StatusCode | Gaudi::Parsers::parse (std::vector< unsigned long > &result, const std::string &input)
StatusCode | Gaudi::Parsers::parse (std::vector< long long > &result, const std::string &input)
StatusCode | Gaudi::Parsers::parse (std::vector< unsigned long long > &result, const std::string &input)
StatusCode | Gaudi::Parsers::parse (std::vector< double > &result, const std::string &input)
| parse the `std::vector<double>` value
StatusCode | Gaudi::Parsers::parse (std::vector< float > &result, const std::string &input)
StatusCode | Gaudi::Parsers::parse (std::vector< long double > &result, const std::string &input)
StatusCode | Gaudi::Parsers::parse (std::vector< std::string > &result, const std::string &input)
| parse the `std::vector<std::string>` value
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
StatusCode | Gaudi::Parsers::parse (std::vector< std::pair< double, double > > &result, const std::string &input)
| parse the `std::vector<std::pair<double,double> >` value
StatusCode | Gaudi::Parsers::parse (std::vector< std::pair< int, int > > &result, const std::string &input)
| parse the `std::vector<std::pair<int,int> >` value
StatusCode | Gaudi::Parsers::parse (std::vector< std::vector< std::string > > &result, const std::string &input)
| parse the `std::vector<std::vector<std::string> >` value
StatusCode | Gaudi::Parsers::parse (std::vector< std::vector< double > > &result, const std::string &input)
| parse the `std::vector<std::vector<double> >` value
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, 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, double > &result, const std::string &input)
| parse the `std::map<std::string , double>` 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::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
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 (Gaudi::Histo1DDef &histo, const std::string &input)
| helper function, needed for implementation of "Histogram Property"
StatusCode | Gaudi::Parsers::parse (std::map< std::string, Gaudi::Histo1DDef > &histos, const std::string &input)
| helper function, needed for implementation of "Histogram Property"

## Define Documentation

#define GAUDIPROPERTYPARSERS_PARSERS_H 1

Definition at line 4 of file Parsers.h.