Loading [MathJax]/extensions/tex2jax.js
The Gaudi Framework  v31r0 (aeb156f0)
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
ParsersStandardMisc5.cpp
Go to the documentation of this file.
2 
4  return Gaudi::Parsers::parse_( result, input );
5 }
6 
8  Skipper skipper;
11  auto iter = input.begin();
12  bool parse_result = qi::phrase_parse( iter, input.end(), g, skipper, result ) && ( iter == input.end() );
13  if ( parse_result ) {
14  name = result.first;
15  value = result.second;
16  return StatusCode::SUCCESS;
17  }
18  return StatusCode::FAILURE;
19 }
20 
22  return Gaudi::Parsers::parse_( result, input );
23 }
StatusCode parse_(ResultT &result, const std::string &input)
Definition: Factory.h:29
constexpr static const auto SUCCESS
Definition: StatusCode.h:85
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:50
T begin(T...args)
dictionary g
Definition: gaudirun.py:516
constexpr static const auto FAILURE
Definition: StatusCode.h:86