15#include <boost/mpl/assert.hpp>
16#include <boost/type_traits.hpp>
25 template <
typename ResultT>
29 IteratorT iter = input.begin(), end = input.end();
30 return ( qi::phrase_parse( iter, end, g, skipper, result ) && ( iter == end ) ?
StatusCode::SUCCESS
37 IteratorT iter = input.begin(), end = input.end();
38 if ( !( qi::phrase_parse( iter, end, g, skipper, result ) && ( iter == end ) ) ) { result = input; }
42 template <
typename ResultT>
44 return parse_( result, input );
This class is used for returning status codes from appropriate routines.
constexpr static const auto SUCCESS
constexpr static const auto FAILURE
SkipperGrammar< IteratorT > Skipper
StatusCode parse(GaudiUtils::HashMap< K, V > &result, std::string_view input)
Basic parser for the types of HashMap used in DODBasicMapper.
std::string_view::const_iterator IteratorT
StatusCode parse_(ResultT &result, std::string_view input)
This file provides a Grammar for the type Gaudi::Accumulators::Axis It allows to use that type from p...