Classes | |
| class | JDXarray< A, J > |
| class | JDXtriple |
| class | JcampDx |
| struct | ArrayScale |
| struct | PixmapProps |
| struct | GuiProps |
| struct | ParxEquiv |
| class | JcampDxClass |
| class | JcampDxBlock |
| class | JDXfilter |
| struct | kspace_coord |
| class | JDXnumber< T > |
| class | JDXstring |
| class | JDXbool |
| class | JDXenum |
| class | JDXaction |
| class | JDXfileName |
| class | JDXformula |
Typedefs | |
| typedef JDXarray< sarray, JDXstring > | JDXstringArr |
| typedef JDXarray< iarray, JDXint > | JDXintArr |
| typedef JDXarray< farray, JDXfloat > | JDXfloatArr |
| typedef JDXarray< darray, JDXdouble > | JDXdoubleArr |
| typedef JDXarray< carray, JDXcomplex > | JDXcomplexArr |
| typedef JDXnumber< int > | JDXint |
| typedef JDXnumber< float > | JDXfloat |
| typedef JDXnumber< double > | JDXdouble |
| typedef JDXnumber< STD_complex > | JDXcomplex |
Enumerations | |
| enum | compatMode |
| enum | parameterMode |
| enum | fileMode |
| enum | scaleType |
| enum | parxCodeType |
| enum | funcMode |
This page describes the design guidelines of the module JCAMP-DX implementation (odinpara library)
The following framework can be used to deal with single parameters of different type (int,float,string,...) and multidimensional arrays that are build from these base types. It is possible to build blocks of parameter, i.e. parameter lists, that can be written/loaded to/from disk in an easily editable ASCII format. The file format is designed roughly according to the JCAMP-DX [1,2] standard, but its main aim was to be compatible with the PARX[3] file format.
A very simple examples on how to use this module:
JDXint mynumber(23,"mynumber"); // Create an integer parameter with initial value 23
mynumber+=42; // JDXint can be used just as a native int for arithmetics
JcampDxBlock block; // A block (list) of parameters
block.append(mynumber); // Append the parameter to the block
block.write("block.jdx"); // Write block and its parameters to file 'block.jdx'
block.load("block.jdx"); // Load block and its parameters from file 'block.jdx'
Please see the class documention for a complete reference.
References:
| typedef JDXnumber<STD_complex> JDXcomplex |
Complex number
Definition at line 137 of file jdxnumbers.h.
| typedef JDXarray<carray,JDXcomplex> JDXcomplexArr |
A JCAMP-DX array of single-precision complex numbers
Definition at line 156 of file jdxarrays.h.
An double-precision floating point number
Definition at line 132 of file jdxnumbers.h.
| typedef JDXarray<darray,JDXdouble> JDXdoubleArr |
A JCAMP-DX array of double-precision floating point numbers
Definition at line 151 of file jdxarrays.h.
An single-precision floating point number
Definition at line 127 of file jdxnumbers.h.
| typedef JDXarray<farray,JDXfloat> JDXfloatArr |
A JCAMP-DX array of single-precision floating point numbers
Definition at line 146 of file jdxarrays.h.
An integer number
Definition at line 122 of file jdxnumbers.h.
A JCAMP-DX array of integer numbers
Definition at line 141 of file jdxarrays.h.
| typedef JDXarray<sarray,JDXstring> JDXstringArr |
A JCAMP-DX array of strings
Definition at line 136 of file jdxarrays.h.
| enum compatMode |
This enum performs some fine tuning with the JcampDx classes according its value:
| enum fileMode |
This enum determines whether the parameter will be included/compressed/excluded when reading/writing a file
| enum funcMode |
Dimension Mode Enum:
Definition at line 39 of file jdxfunction.h.
| enum parameterMode |
| enum parxCodeType |
Enum for PARX code generation:
1.7.1