The Gaudi Framework  v30r3 (a5ef0a68)
ParsersStandardMisc5.cpp
Go to the documentation of this file.
2 
4 {
5  return Gaudi::Parsers::parse_( result, input );
6 }
7 
9 {
10  Skipper skipper;
13  auto iter = input.begin();
14  bool parse_result = qi::phrase_parse( iter, input.end(), g, skipper, result ) && ( iter == input.end() );
15  if ( parse_result ) {
16  name = result.first;
17  value = result.second;
18  return StatusCode::SUCCESS;
19  }
20  return StatusCode::FAILURE;
21 }
22 
24 {
25  return Gaudi::Parsers::parse_( result, input );
26 }
constexpr static const auto FAILURE
Definition: StatusCode.h:88
StatusCode parse_(ResultT &result, const std::string &input)
StatusCode parse(GaudiUtils::HashMap< K, V > &result, const std::string &input)
Basic parser for the types of HashMap used in DODBasicMapper.
T end(T...args)
STL class.
STL class.
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:51
constexpr static const auto SUCCESS
Definition: StatusCode.h:87
T begin(T...args)
dictionary g
Definition: gaudirun.py:439