2 #ifndef GAUDIPROPERTYPARSERS_PARSERSGENERATOR_H 3 #define GAUDIPROPERTYPARSERS_PARSERSGENERATOR_H 1 15 #include <boost/mpl/assert.hpp> 16 #include <boost/type_traits.hpp> 32 template <
typename ResultT>
48 if ( !( qi::phrase_parse( iter,
end, g, skipper, result ) && ( iter ==
end ) ) ) {
55 template <
typename ResultT>
58 return parse_( result, input );
64 #endif // GAUDIPROPERTYPARSERS_PARSERSGENERATOR_H constexpr static const auto FAILURE
StatusCode parse_(ResultT &result, const std::string &input)
SkipperGrammar< IteratorT > Skipper
StatusCode parse(GaudiUtils::HashMap< K, V > &result, const std::string &input)
Basic parser for the types of HashMap used in DODBasicMapper.
std::string::const_iterator IteratorT
This class is used for returning status codes from appropriate routines.
constexpr static const auto SUCCESS
Helper functions to set/get the application return code.