33 #ifndef CXUTILHELPERS_H_
34 #define CXUTILHELPERS_H_
36 #include "cxResourceExport.h"
58 std::ostringstream ss;
59 ss << std::setprecision(3) << std::fixed;
61 ss << std::setw(10) << *
begin;
64 ss << separator << std::setw(10) << *
begin;
72 cxResource_EXPORT
double constrainValue(
double val,
double min,
double max);
73 cxResource_EXPORT
int sign(
double x);
75 cxResource_EXPORT
void sleep_ms(
int ms);
std::ostream & stream_range(std::ostream &s, ITER begin, ITER end, char separator=' ')
double constrainValue(double val, double min, double max)
QString changeExtension(QString name, QString ext)