16 s << std::quoted( in );
26 template <
typename Iterator,
typename Skipper>
30 template <
typename ClassID>
33 dest = {arg.first, arg.second};
45 qi::rule<Iterator, DataObjID(), Skipper>
result;
46 ph::function<Operations>
op;
67 if ( !p_clidSvc || p_clidSvc->getIDOfTypeName( m_className, m_clid ).isFailure() ) {
69 m_className =
"UNKNOWN_CLASS:" + m_className;
77 if ( !p_clidSvc || p_clidSvc->getTypeNameOfID( m_clid, m_className ).isFailure() ) {
101 return ( m_clid == 0 && m_className.empty() ) ? m_key : ( m_className +
'/' + m_key );
TYPE fromString(const TYPE &ref_value, const std::string &s) final override
std::ostream & toStream(ITERATOR first, ITERATOR last, std::ostream &s, const std::string &open, const std::string &close, const std::string &delim)
the helper function to print the sequence
StatusCode parse_(ResultT &result, const std::string &input)
qi::rule< Iterator, DataObjID(), Skipper > result
std::string toString(const TYPE &obj)
the generic implementation of the type conversion to the string
static IClassIDSvc * p_clidSvc
StatusCode parse(GaudiUtils::HashMap< K, V > &result, const std::string &input)
Basic parser for the types of HashMap used in DODBasicMapper.
std::string toString(const TYPE &v)
static std::once_flag m_ip
interface to the CLID database
ph::function< Operations > op
StatusCode service(const Gaudi::Utils::TypeNameString &name, T *&svc, bool createIf=true)
Templated method to access a service by name.
GAUDI_API ISvcLocator * svcLocator()
This class is used for returning status codes from appropriate routines.
Grammar_< Iterator, std::pair< std::string, std::string >, Skipper >::Grammar atlas2_style
std::ostream & toStream(const DataObjID &d, std::ostream &os)
Grammar_< Iterator, std::string, Skipper >::Grammar gaudi_style
void operator()(DataObjID &dest, const std::string &arg) const
Grammar_< Iterator, std::pair< unsigned int, std::string >, Skipper >::Grammar atlas1_style
implementation of various functions for streaming.
std::string fullKey() const
void operator()(DataObjID &dest, const std::pair< ClassID, std::string > &arg) const
Helper functions to set/get the application return code.
REGISTER_GRAMMAR(GaudiMath::Interpolation::Type, InterpolGrammar)