base class for generated checking code for algorithm parameters. More...
#include <AlgoCheck.h>
Classes | |
struct | ConstraintE |
constraints as defined for algorithm-parameters in the XML schema Algorithm.xsd, expressions More... | |
struct | ConstraintS |
constraints as defined for algorithm-parameters in the XML schema Algorithm.xsd, strings More... | |
Public Types | |
typedef std::map< std::string, ConstraintE > | constraintsE_type |
typedef std::map< std::string, ConstraintS > | constraintsS_type |
Public Member Functions | |
AlgoCheck () | |
the ctor of the derived class has to fill the members constraintsE_,S_ More... | |
bool | check (parS_type &ps, parE_type &pe, std::string &err) |
returns true if the check was successfull (parameters conform to XML specification) More... | |
virtual | ~AlgoCheck () |
Protected Member Functions | |
bool | checkBounds (parE_type::iterator pit, constraintsE_type::iterator cit, std::string &err) |
bool | checkStrings (parS_type::iterator sit, constraintsS_type::iterator cit, std::string &err) |
Static Protected Member Functions | |
static std::string | d2s (double x) |
ahh, converts a double into a std::string ... yet another one of this kind! More... | |
Protected Attributes | |
constraintsE_type | constraintsE_ |
format: "ParameterName" -> ConstraintE More... | |
constraintsS_type | constraintsS_ |
format: "ParameterName" -> ConstraintS More... | |
base class for generated checking code for algorithm parameters.
Definition at line 10 of file AlgoCheck.h.
typedef std::map<std::string,ConstraintE> AlgoCheck::constraintsE_type |
Definition at line 56 of file AlgoCheck.h.
typedef std::map<std::string,ConstraintS> AlgoCheck::constraintsS_type |
Definition at line 57 of file AlgoCheck.h.
|
inline |
the ctor of the derived class has to fill the members constraintsE_,S_
Definition at line 14 of file AlgoCheck.h.
|
inlinevirtual |
Definition at line 16 of file AlgoCheck.h.
returns true if the check was successfull (parameters conform to XML specification)
Definition at line 5 of file AlgoCheck.cc.
References checkBounds(), checkStrings(), constraintsE_, constraintsS_, DCOUT, j, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by AlgoPos::select().
|
protected |
Definition at line 78 of file AlgoCheck.cc.
References EnergyCorrector::c, d2s(), DCOUT, i, m, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by check().
|
protected |
Definition at line 149 of file AlgoCheck.cc.
References d2s(), DCOUT, i, j, m, alignCSCRings::s, contentValuesCheck::ss, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by check().
|
staticprotected |
ahh, converts a double into a std::string ... yet another one of this kind!
Definition at line 139 of file AlgoCheck.cc.
References AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by checkBounds(), and checkStrings().
|
protected |
format: "ParameterName" -> ConstraintE
Definition at line 73 of file AlgoCheck.h.
Referenced by check().
|
protected |
format: "ParameterName" -> ConstraintS
Definition at line 76 of file AlgoCheck.h.
Referenced by check().