49 DoubleRange(
double b,
bool binc,
double e,
bool einc) : begin(b), end(e), begin_inclusive(binc), end_inclusive(einc) {}
65 : range(r), value(def) {
68 operator double (
void)
const {
return value; }
69 operator double& (void) {
return value; }
86 : range(r), value(def) {}
88 operator int32_t (
void)
const {
return value; }
89 operator int32_t& (void) {
return value; }
90 IntOption& operator= (int32_t x) { value = x;
return *
this; }
107 operator bool (
void)
const {
return value; }
108 operator bool& (void) {
return value; }
BoolOption & operator=(bool b)
IntOption(const char *d, int32_t def=int32_t(), IntRange r=IntRange(INT32_MIN, INT32_MAX))
BoolOption(const char *d, bool v)
DoubleOption & operator=(double x)
DoubleOption(const char *d, double def=double(), DoubleRange r=DoubleRange(-HUGE_VAL, false, HUGE_VAL, false))
DoubleRange(double b, bool binc, double e, bool einc)