22 #include <odinpara/ldrbase.h>
23 #include <tjutils/tjtypes.h>
70 operator T ()
const {
return val;}
71 T operator += (T rhsval) {val+=rhsval;
return *
this;}
72 T operator -= (T rhsval) {val-=rhsval;
return *
this;}
73 T operator *= (T rhsval) {val*=rhsval;
return *
this;}
74 T operator /= (T rhsval) {val/=rhsval;
return *
this;}
75 T operator ++ () {val=val+(T)1;
return val;}
76 T operator ++ (
int) {T tmp=val; val=val+(T)1;
return tmp;}
77 T operator -- () {val=val-(T)1;
return val;}
78 T operator -- (
int) {T tmp=val; val=val-(T)1;
return tmp;}
92 STD_string
get_typeInfo(
bool parx_equivtype=
false)
const {
return TypeTraits::type2label(val);}
94 T* cast(T*) {
return &val;}
101 double minval,maxval;
LDRbase * create_copy() const
bool parsevalstring(const STD_string &parstring, const LDRserBase *ser=0)
LDRnumber< T > & set_minmaxval(double min, double max)
STD_string printvalstring(const LDRserBase *ser=0) const
STD_string get_typeInfo(bool parx_equivtype=false) const
LDRnumber< T > & operator=(T v)
STD_string get_parx_code(parxCodeType type) const
double get_maxval() const
LDRnumber(T v, const STD_string &name="")
double get_minval() const
LDRnumber(const LDRnumber< T > &bi)
LDRnumber< float > LDRfloat
LDRnumber< STD_complex > LDRcomplex
LDRnumber< double > LDRdouble