43 val_type val_unset =
"unset";
44 val_type val_int =
"int";
45 val_type val_float =
"float";
46 val_type val_string =
"string";
50 if (c.t == val_string)
52 else if (c.t == val_int)
54 else if (c.t == val_float)
56 else if (c.t != val_unset)
68 v.pval->set_contents(p,f);
89 if (c.t == val_string)
91 else if (c.t == val_int)
93 else if (c.t == val_float)
95 else if (c.t != val_unset)
104 const int EST_Val::to_int(
void)
const
109 else if (t==val_string)
115 const float EST_Val::to_flt(
void)
const
119 return (
float)v.ival;
120 else if (t==val_string)
138 else if (t==val_float)
145 else if (t != val_string)
EST_String itoString(int n)
Make a EST_String object from an integer.
EST_String ftoString(float n, int pres=3, int width=0, int l=0)
Make a EST_String object from an float, with variable precision.
const val_type type(void) const
EST_Val & operator=(const int i)
Utility EST_String Functions header file.