#include <jdxnumbers.h>

Public Member Functions | |
| JDXnumber () | |
| JDXnumber (T v, const STD_string &name="", bool userParameter=true, compatMode mode=notBroken, parameterMode parameter_mode=edit, const STD_string &parx_equivalent="", float parx_assign_factor=1.0, float parx_assign_offset=0.0) | |
| JDXnumber (const JDXnumber< T > &bi) | |
| JDXnumber< T > & | operator= (T v) |
| JDXnumber< T > & | operator= (const JDXnumber< T > &bi) |
| JDXnumber< T > & | set_minmaxval (double min, double max) |
| STD_string | printvalstring () const |
| bool | parsevalstring (const STD_string &parstring) |
| STD_string | get_parx_code (parxCodeType type, const ParxEquiv &equiv) const |
| ParxEquiv | get_parx_equiv () const |
| double | get_minval () const |
| double | get_maxval () const |
| const char * | get_typeInfo () const |
| JcampDxClass * | create_copy () const |
Definition at line 37 of file jdxnumbers.h.
Default constructor
Definition at line 44 of file jdxnumbers.h.
| JDXnumber< T >::JDXnumber | ( | T | v, | |
| const STD_string & | name = "", |
|||
| bool | userParameter = true, |
|||
| compatMode | mode = notBroken, |
|||
| parameterMode | parameter_mode = edit, |
|||
| const STD_string & | parx_equivalent = "", |
|||
| float | parx_assign_factor = 1.0, |
|||
| float | parx_assign_offset = 0.0 | |||
| ) |
Constructor with the following arguments:
Copy constructor
Definition at line 66 of file jdxnumbers.h.
Assignment operator from a built-in number
Definition at line 71 of file jdxnumbers.h.
Copy assignment
Specifies the minimum and maximum allowed value for this number. Only useful when editing the parameter in a GUI
Definition at line 93 of file jdxnumbers.h.
| STD_string JDXnumber< T >::printvalstring | ( | ) | const [virtual] |
Returns the value of the parameter as a string
Implements JcampDxClass.
| bool JDXnumber< T >::parsevalstring | ( | const STD_string & | ) | [virtual] |
Parses and assigns the value in the given string
Implements JcampDxClass.
| STD_string JDXnumber< T >::get_parx_code | ( | parxCodeType | type, | |
| const ParxEquiv & | equiv | |||
| ) | const [virtual] |
Returns C code that can be used together with the PARX(Bruker) compiler.
Reimplemented from JcampDxClass.
Returns the name and scaling of an equivalent parameter in PARX. Code for automatic mapping to the PARX parameter space can be generated using the function get_parx_code().
Reimplemented from JcampDxClass.
Definition at line 99 of file jdxnumbers.h.
| double JDXnumber< T >::get_minval | ( | ) | const [inline, virtual] |
Returns the minimum allowed value of the parameter. Only used when editing the parameter in a GUI
Reimplemented from JcampDxClass.
Definition at line 100 of file jdxnumbers.h.
| double JDXnumber< T >::get_maxval | ( | ) | const [inline, virtual] |
Returns the maximum allowed value of the parameter Only used when editing the parameter in a GUI
Reimplemented from JcampDxClass.
Definition at line 101 of file jdxnumbers.h.
| const char* JDXnumber< T >::get_typeInfo | ( | ) | const [inline, virtual] |
Returns a string describing the type of the parameter
Implements JcampDxClass.
Definition at line 102 of file jdxnumbers.h.
| JcampDxClass* JDXnumber< T >::create_copy | ( | ) | const [inline, virtual] |
Returns a deep copy of the parameter
Implements JcampDxClass.
Definition at line 103 of file jdxnumbers.h.
1.5.6