1 #ifndef ExprAlgo_AlgoCheck_h
2 #define ExprAlgo_AlgoCheck_h
61 constraintsE_type::iterator cit,
65 constraintsS_type::iterator cit,
base class for generated checking code for algorithm parameters.
bool checkBounds(parE_type::iterator pit, constraintsE_type::iterator cit, std::string &err)
ConstraintS(int minOccurs, int maxOccurs, bool use, bool deflt, std::string defltVal)
static std::string d2s(double x)
ahh, converts a double into a std::string ... yet another one of this kind!
std::map< std::string, std::vector< std::string > > parS_type
constraints as defined for algorithm-parameters in the XML schema Algorithm.xsd, strings ...
bool check(parS_type &ps, parE_type &pe, std::string &err)
returns true if the check was successfull (parameters conform to XML specification) ...
constraints as defined for algorithm-parameters in the XML schema Algorithm.xsd, expressions ...
ConstraintE(int minOccurs, int maxOccurs, double min, double max, bool use, bool deflt, double defltVal)
std::map< std::string, ConstraintS > constraintsS_type
constraintsS_type constraintsS_
format: "ParameterName" -> ConstraintS
std::map< std::string, ConstraintE > constraintsE_type
std::map< std::string, std::vector< double > > parE_type
constraintsE_type constraintsE_
format: "ParameterName" -> ConstraintE
bool checkStrings(parS_type::iterator sit, constraintsS_type::iterator cit, std::string &err)
AlgoCheck()
the ctor of the derived class has to fill the members constraintsE_,S_