18 #define PARSERS_DECL_FOR_SINGLE( Type ) GAUDI_API StatusCode parse( Type& result, const std::string& input ); 20 #define PARSERS_DECL_FOR_PAIR( FirstType, SecondType ) \ 21 GAUDI_API StatusCode parse( std::pair<FirstType, SecondType>& result, const std::string& input ); 23 #define PARSERS_DECL_FOR_LIST( InnerType ) \ 24 GAUDI_API StatusCode parse( std::vector<InnerType>& result, const std::string& input ); 415 template <
typename K,
typename V,
typename M>
417 return parse( (M&)result, input );
488 template <
class T,
unsigned int N>
497 std::copy( tmp.begin(), tmp.end(), result );
509 template <
unsigned int N>
517 if ( N == tmp.
size() ) {
519 }
else if ( N + 2 == tmp.
size() && (
'\'' == tmp[0] ||
'\"' == tmp[0] ) && ( tmp[0] == tmp[tmp.
size() - 1] ) ) {
Extension of the STL map.
constexpr static const auto SUCCESS
StatusCode parse(GaudiUtils::HashMap< K, V > &result, const std::string &input)
Basic parser for the types of HashMap used in DODBasicMapper.
#define PARSERS_DECL_FOR_PAIR(FirstType, SecondType)
This class is used for returning status codes from appropriate routines.
Simple helper class for description of 1D-histogram The class is targeted to act as the primary "hist...
#define PARSERS_DECL_FOR_SINGLE(Type)
constexpr static const auto FAILURE
Helper functions to set/get the application return code.
#define PARSERS_DECL_FOR_LIST(InnerType)