ODIN
|
#include <ldrnumbers.h>
Public Member Functions | |
LDRnumber () | |
LDRnumber (T v, const STD_string &name="") | |
LDRnumber (const LDRnumber< T > &bi) | |
LDRnumber< T > & | operator= (T v) |
LDRnumber< T > & | operator= (const LDRnumber< T > &bi) |
LDRnumber< T > & | set_minmaxval (double min, double max) |
STD_string | printvalstring (const LDRserBase *ser=0) const |
bool | parsevalstring (const STD_string &parstring, const LDRserBase *ser=0) |
STD_string | get_parx_code (parxCodeType type) const |
double | get_minval () const |
double | get_maxval () const |
STD_string | get_typeInfo (bool parx_equivtype=false) const |
LDRbase * | create_copy () const |
Public Member Functions inherited from LDRbase | |
virtual STD_string | print (const LDRserBase &serializer=LDRserJDX()) const |
virtual STD_ostream & | print2stream (STD_ostream &os, const LDRserBase &serializer) const |
virtual int | write (const STD_string &filename, const LDRserBase &serializer=LDRserJDX()) const |
virtual bool | parse (STD_string &parstring, const LDRserBase &serializer=LDRserJDX()) |
virtual int | load (const STD_string &filename, const LDRserBase &serializer=LDRserJDX()) |
bool | has_minmax () const |
const STD_string & | get_description () const |
LDRbase & | set_description (const STD_string &descr) |
virtual svector | get_alternatives () const |
const STD_string & | get_unit () const |
LDRbase & | set_unit (const STD_string &un) |
virtual parameterMode | get_parmode () const |
virtual LDRbase & | set_parmode (parameterMode parameter_mode) |
virtual fileMode | get_filemode () const |
virtual LDRbase & | set_filemode (fileMode file_mode) |
virtual GuiProps | get_gui_props () const |
virtual LDRbase & | set_gui_props (const GuiProps &) |
JcampDxProps | get_jdx_props () const |
LDRbase & | set_jdx_props (const JcampDxProps &jp) |
Public Member Functions inherited from Labeled | |
Labeled (const STD_string &label="unnamed") | |
Labeled & | set_label (const STD_string &label) |
const STD_string & | get_label () const |
Labeled & | operator= (const Labeled &l) |
Labeled Data Record (LDR) template class for representing built-in numbers
Definition at line 37 of file ldrnumbers.h.
Default constructor
Definition at line 44 of file ldrnumbers.h.
Constructor with the following arguments:
Copy constructor
Definition at line 57 of file ldrnumbers.h.
Returns a deep copy of the parameter
Implements LDRbase.
Definition at line 93 of file ldrnumbers.h.
|
inlinevirtual |
Returns the maximum allowed value of the parameter Only used when editing the parameter in a GUI
Reimplemented from LDRbase.
Definition at line 91 of file ldrnumbers.h.
|
inlinevirtual |
Returns the minimum allowed value of the parameter. Only used when editing the parameter in a GUI
Reimplemented from LDRbase.
Definition at line 90 of file ldrnumbers.h.
|
virtual |
Returns C code that can be used together with the PARX(Bruker) compiler
Reimplemented from LDRbase.
|
inlinevirtual |
Returns a string describing the type of the parameter. If 'parx_equivtype' is 'true', returns the equivalent PARX parameter type
Implements LDRbase.
Definition at line 92 of file ldrnumbers.h.
Copy assignment
Assignment operator from a built-in number
Definition at line 62 of file ldrnumbers.h.
|
virtual |
Parses and assigns the value in the given string, optionally using format 'ser'
Implements LDRbase.
|
virtual |
Returns the value of the parameter as a string, optionally using format 'ser'
Implements LDRbase.
Specifies the minimum and maximum allowed value for this number. Only useful when editing the parameter in a GUI
Definition at line 84 of file ldrnumbers.h.