REALTYPE XMLwrapper::getparreal(const char *name,REALTYPE defaultpar,REALTYPE min,REALTYPE max){ REALTYPE result=getparreal(name,defaultpar); if (result<min) result=min; else if (result>max) result=max; return(result); };
float QtXmlWrapper::getparreal(const char *name, float defaultpar, float min, float max) const { float result = getparreal(name, defaultpar); if(result < min) result = min; else if(result > max) result = max; return result; }