DD4hep  1.30.0
Detector Description Toolkit for High Energy Physics
ParsersStandardMisc1.cpp
Go to the documentation of this file.
1 //==========================================================================
2 // AIDA Detector description implementation
3 //--------------------------------------------------------------------------
4 // Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN)
5 // All rights reserved.
6 //
7 // For the licensing terms see $DD4hepINSTALL/LICENSE.
8 // For the list of contributors see $DD4hepINSTALL/doc/CREDITS.
9 //
10 //==========================================================================
11 #include "Parsers/spirit/ParsersStandardMiscCommon.h"
12 
13 PARSERS_DEF_FOR_PAIR(bool,bool)
14 PARSERS_DEF_FOR_PAIR(float,float)
15 PARSERS_DEF_FOR_PAIR(double,double)
16 PARSERS_DEF_FOR_PAIR(double,int)
17 PARSERS_DEF_FOR_PAIR(double,long)
18 PARSERS_DEF_FOR_PAIR(double,size_t)
19 
20 namespace dd4hep {
22 
24  namespace Parsers {
25 
26  template <> int parse(std::vector<std::pair<double, double> >& result, const std::string& input) {
27  return parse_(result, input);
28  }
29 
30  template <> int parse(std::vector<std::pair<int, int> >& result, const std::string& input) {
31  return parse_(result, input);
32  }
33 
34  template <> int parse(std::vector<std::vector<std::string> >& result, const std::string& input) {
35  return parse_(result, input);
36  }
37  }
38 }
dd4hep::Parsers::parse
int parse(Property &result, const std::string &input)
Definition: ComponentProperties.cpp:187
dd4hep
Namespace for the AIDA detector description toolkit.
Definition: AlignmentsCalib.h:28