#include <jdxtypes.h>

Public Member Functions | |
| JDXaction () | |
| JDXaction (bool init_state, const STD_string &name="", bool userParameter=true, compatMode mode=notBroken, parameterMode parameter_mode=edit) | |
| JDXaction (const JDXaction &ja) | |
| JDXaction & | operator= (const JDXaction &ja) |
| operator bool () const | |
| JDXaction & | trigger_action () |
| bool | parsevalstring (const STD_string &parstring) |
| STD_string | printvalstring () const |
| const char * | get_typeInfo () const |
| JcampDxClass * | create_copy () const |
Public Member Functions inherited from JcampDxClass | |
| virtual STD_string | print () const |
| virtual STD_ostream & | print2stream (STD_ostream &os) const |
| virtual bool | parse (STD_string &parstring) |
| virtual int | load (const STD_string &filename) |
| virtual int | write (const STD_string &filename) const |
| virtual JcampDxClass & | set_compatmode (compatMode compat_mode) |
| virtual compatMode | get_compatmode () const |
| virtual double | get_minval () const |
| virtual double | get_maxval () const |
| bool | has_minmax () const |
| JcampDxClass & | set_userDefParameter (bool userDef) |
| bool | isUserDefParameter () const |
| const STD_string & | get_description () const |
| JcampDxClass & | set_description (const STD_string &descr) |
| virtual svector | get_alternatives () const |
| const STD_string & | get_unit () const |
| JcampDxClass & | set_unit (const STD_string &un) |
| virtual parameterMode | get_parmode () const |
| virtual JcampDxClass & | set_parmode (parameterMode parameter_mode) |
| virtual fileMode | get_filemode () const |
| virtual JcampDxClass & | set_filemode (fileMode file_mode) |
| virtual GuiProps | get_gui_props () const |
| virtual JcampDxClass & | set_gui_props (const GuiProps &) |
| virtual STD_string | get_parx_code (parxCodeType type, const ParxEquiv &equiv=ParxEquiv()) const |
| virtual ParxEquiv | get_parx_equiv () const |
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) |
JCAMP-DX class to trigger actions from the GUI
Definition at line 344 of file jdxtypes.h.
|
inline |
Default constructor
Definition at line 351 of file jdxtypes.h.
| JDXaction::JDXaction | ( | bool | init_state, |
| const STD_string & | name = "", |
||
| bool | userParameter = true, |
||
| compatMode | mode = notBroken, |
||
| parameterMode | parameter_mode = edit |
||
| ) |
Constructor with the following arguments:
|
inline |
Copy constructor
Definition at line 368 of file jdxtypes.h.
|
inlinevirtual |
Returns a deep copy of the parameter
Implements JcampDxClass.
Definition at line 389 of file jdxtypes.h.
|
inlinevirtual |
Returns a string describing the type of the parameter
Implements JcampDxClass.
Definition at line 388 of file jdxtypes.h.
| JDXaction::operator bool | ( | ) | const |
Returns whether an action should be triggered and resets the action flag
|
virtual |
Parses and assigns the value in the given string
Implements JcampDxClass.
|
virtual |
Returns the value of the parameter as a string
Implements JcampDxClass.
|
inline |
After calling this function, the next type conversion to bool will return true
Definition at line 383 of file jdxtypes.h.
1.8.1.2