JDXformula Class Reference
[JCAMP-DX implementation (odinpara library)]

#include <jdxtypes.h>

Inheritance diagram for JDXformula:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 JDXformula ()
 JDXformula (const STD_string &formula, const STD_string &name="", bool userParameter=true, compatMode mode=notBroken, parameterMode parameter_mode=edit)
 JDXformula (const JDXformula &jf)
JDXformulaoperator= (const STD_string &formula)
JDXformulaoperator= (const JDXformula &jf)
JDXformulaset_syntax (const STD_string &syn)
STD_string get_syntax () const
const char * get_typeInfo () const
JcampDxClasscreate_copy () const


Detailed Description

JCAMP-DX class for representing mathematic formulas

Definition at line 537 of file jdxtypes.h.


Constructor & Destructor Documentation

JDXformula::JDXformula (  )  [inline]

Default constructor

Definition at line 544 of file jdxtypes.h.

JDXformula::JDXformula ( const STD_string &  formula,
const STD_string &  name = "",
bool  userParameter = true,
compatMode  mode = notBroken,
parameterMode  parameter_mode = edit 
)

Constructor with the following arguments:

  • formula: Initial value for the formula
  • name: The label of the JCAMP-DX parameter
  • userParameter: Whether this is a user defined JCAMP-DX parameter
  • mode: Mode for ASCII representation of strings or arrays of strings
  • parameter_mode: Mode for GUI accesibility of the parameter

JDXformula::JDXformula ( const JDXformula jf  )  [inline]

Copy constructor

Definition at line 561 of file jdxtypes.h.


Member Function Documentation

JDXformula& JDXformula::operator= ( const STD_string &  formula  )  [inline]

Assignment from a formula string

Reimplemented from JDXstring.

Definition at line 566 of file jdxtypes.h.

JDXformula& JDXformula::operator= ( const JDXformula jf  ) 

Copy assignment

JDXformula& JDXformula::set_syntax ( const STD_string &  syn  )  [inline]

Sets a string describing the formulas syntax

Definition at line 576 of file jdxtypes.h.

STD_string JDXformula::get_syntax (  )  const [inline]

Returns a string describing the formulas syntax

Definition at line 581 of file jdxtypes.h.

const char* JDXformula::get_typeInfo (  )  const [inline, virtual]

Returns a string describing the type of the parameter

Reimplemented from JDXstring.

Definition at line 584 of file jdxtypes.h.

JcampDxClass* JDXformula::create_copy (  )  const [inline, virtual]

Returns a deep copy of the parameter

Reimplemented from JDXstring.

Definition at line 585 of file jdxtypes.h.


The documentation for this class was generated from the following file:

Generated on Wed Sep 30 15:33:07 2009 by  doxygen 1.5.6