File indexing completed on 2025-01-18 09:14:31
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011 #include "Parsers/spirit/ParsersStandardMiscCommon.h"
0012
0013 PARSERS_DEF_FOR_PAIR(bool,bool)
0014 PARSERS_DEF_FOR_PAIR(float,float)
0015 PARSERS_DEF_FOR_PAIR(double,double)
0016 PARSERS_DEF_FOR_PAIR(double,int)
0017 PARSERS_DEF_FOR_PAIR(double,long)
0018 PARSERS_DEF_FOR_PAIR(double,size_t)
0019
0020
0021 namespace dd4hep {
0022
0023
0024 namespace Parsers {
0025
0026 template <> int parse(std::vector<std::pair<double, double> >& result, const std::string& input) {
0027 return parse_(result, input);
0028 }
0029
0030 template <> int parse(std::vector<std::pair<int, int> >& result, const std::string& input) {
0031 return parse_(result, input);
0032 }
0033
0034 template <> int parse(std::vector<std::vector<std::string> >& result, const std::string& input) {
0035 return parse_(result, input);
0036 }
0037 }
0038 }