Geant4 Cross Reference

Cross-Referencing   Geant4
Geant4/processes/hadronic/models/lend/include/xDataTOM.h

Version: [ ReleaseNotes ] [ 1.0 ] [ 1.1 ] [ 2.0 ] [ 3.0 ] [ 3.1 ] [ 3.2 ] [ 4.0 ] [ 4.0.p1 ] [ 4.0.p2 ] [ 4.1 ] [ 4.1.p1 ] [ 5.0 ] [ 5.0.p1 ] [ 5.1 ] [ 5.1.p1 ] [ 5.2 ] [ 5.2.p1 ] [ 5.2.p2 ] [ 6.0 ] [ 6.0.p1 ] [ 6.1 ] [ 6.2 ] [ 6.2.p1 ] [ 6.2.p2 ] [ 7.0 ] [ 7.0.p1 ] [ 7.1 ] [ 7.1.p1 ] [ 8.0 ] [ 8.0.p1 ] [ 8.1 ] [ 8.1.p1 ] [ 8.1.p2 ] [ 8.2 ] [ 8.2.p1 ] [ 8.3 ] [ 8.3.p1 ] [ 8.3.p2 ] [ 9.0 ] [ 9.0.p1 ] [ 9.0.p2 ] [ 9.1 ] [ 9.1.p1 ] [ 9.1.p2 ] [ 9.1.p3 ] [ 9.2 ] [ 9.2.p1 ] [ 9.2.p2 ] [ 9.2.p3 ] [ 9.2.p4 ] [ 9.3 ] [ 9.3.p1 ] [ 9.3.p2 ] [ 9.4 ] [ 9.4.p1 ] [ 9.4.p2 ] [ 9.4.p3 ] [ 9.4.p4 ] [ 9.5 ] [ 9.5.p1 ] [ 9.5.p2 ] [ 9.6 ] [ 9.6.p1 ] [ 9.6.p2 ] [ 9.6.p3 ] [ 9.6.p4 ] [ 10.0 ] [ 10.0.p1 ] [ 10.0.p2 ] [ 10.0.p3 ] [ 10.0.p4 ] [ 10.1 ] [ 10.1.p1 ] [ 10.1.p2 ] [ 10.1.p3 ] [ 10.2 ] [ 10.2.p1 ] [ 10.2.p2 ] [ 10.2.p3 ] [ 10.3 ] [ 10.3.p1 ] [ 10.3.p2 ] [ 10.3.p3 ] [ 10.4 ] [ 10.4.p1 ] [ 10.4.p2 ] [ 10.4.p3 ] [ 10.5 ] [ 10.5.p1 ] [ 10.6 ] [ 10.6.p1 ] [ 10.6.p2 ] [ 10.6.p3 ] [ 10.7 ] [ 10.7.p1 ] [ 10.7.p2 ] [ 10.7.p3 ] [ 10.7.p4 ] [ 11.0 ] [ 11.0.p1 ] [ 11.0.p2 ] [ 11.0.p3, ] [ 11.0.p4 ] [ 11.1 ] [ 11.1.1 ] [ 11.1.2 ] [ 11.1.3 ] [ 11.2 ] [ 11.2.1 ] [ 11.2.2 ] [ 11.3.0 ]

Diff markup

Differences between /processes/hadronic/models/lend/include/xDataTOM.h (Version 11.3.0) and /processes/hadronic/models/lend/include/xDataTOM.h (Version 10.2.p3)


  1 /*                                                  1 /*
  2 # <<BEGIN-copyright>>                               2 # <<BEGIN-copyright>>
  3 # <<END-copyright>>                                 3 # <<END-copyright>>
  4 */                                                  4 */
  5                                                     5 
  6 #ifndef xDataTOM_h_included                         6 #ifndef xDataTOM_h_included
  7 #define xDataTOM_h_included                         7 #define xDataTOM_h_included
  8                                                     8 
  9 #include <statusMessageReporting.h>                 9 #include <statusMessageReporting.h>
 10                                                    10 
 11 #if defined __cplusplus                            11 #if defined __cplusplus
 12     extern "C" {                                   12     extern "C" {
 13     namespace GIDI {                               13     namespace GIDI {
 14 #endif                                             14 #endif
 15                                                    15 
 16 typedef int xDataTOM_Int;                          16 typedef int xDataTOM_Int;
 17                                                    17 
 18 /* Note: xDataTOM_interpolationFlag_flat must      18 /* Note: xDataTOM_interpolationFlag_flat must be last for current logic in xDataTOM_interpolation.c to work. */
 19 enum xDataTOM_interpolationFlag { xDataTOM_int     19 enum xDataTOM_interpolationFlag { xDataTOM_interpolationFlag_invalid, xDataTOM_interpolationFlag_linear, xDataTOM_interpolationFlag_log, 
 20     xDataTOM_interpolationFlag_byRegion, xData     20     xDataTOM_interpolationFlag_byRegion, xDataTOM_interpolationFlag_flat };
 21 enum xDataTOM_interpolationQualifier { xDataTO     21 enum xDataTOM_interpolationQualifier { xDataTOM_interpolationQualifier_invalid, xDataTOM_interpolationQualifier_dependent,
 22     xDataTOM_interpolationQualifier_none, xDat     22     xDataTOM_interpolationQualifier_none, xDataTOM_interpolationQualifier_unitBase, xDataTOM_interpolationQualifier_correspondingPoints };
 23 enum xDataTOM_frame { xDataTOM_frame_invalid,      23 enum xDataTOM_frame { xDataTOM_frame_invalid, xDataTOM_frame_lab, xDataTOM_frame_centerOfMass };
 24 enum xDataTOM_subAxesType { xDataTOM_subAxesTy     24 enum xDataTOM_subAxesType { xDataTOM_subAxesType_proxy, xDataTOM_subAxesType_intepolationAxes };
 25 enum xDataTOM_KalbachMannType { xDataTOM_Kalba     25 enum xDataTOM_KalbachMannType { xDataTOM_KalbachMannType_fr, xDataTOM_KalbachMannType_fra };
 26                                                    26 
 27 typedef struct xDataTOM_interpolation_s xDataT     27 typedef struct xDataTOM_interpolation_s xDataTOM_interpolation;
 28 typedef struct xDataTOM_axis_s xDataTOM_axis;      28 typedef struct xDataTOM_axis_s xDataTOM_axis;
 29 typedef struct xDataTOM_axes_s xDataTOM_axes;      29 typedef struct xDataTOM_axes_s xDataTOM_axes;
 30 typedef struct xDataTOM_subAxes_s xDataTOM_sub     30 typedef struct xDataTOM_subAxes_s xDataTOM_subAxes;
 31                                                    31 
 32 typedef struct xDataTOM_XYs_s xDataTOM_XYs;        32 typedef struct xDataTOM_XYs_s xDataTOM_XYs;
 33 typedef struct xDataTOM_regionsXYs_s xDataTOM_     33 typedef struct xDataTOM_regionsXYs_s xDataTOM_regionsXYs;
 34 typedef struct xDataTOM_W_XYs_s xDataTOM_W_XYs     34 typedef struct xDataTOM_W_XYs_s xDataTOM_W_XYs;
 35 typedef struct xDataTOM_V_W_XYs_s xDataTOM_V_W     35 typedef struct xDataTOM_V_W_XYs_s xDataTOM_V_W_XYs;
 36                                                    36 
 37 typedef struct xDataTOM_LegendreSeries_s xData     37 typedef struct xDataTOM_LegendreSeries_s xDataTOM_LegendreSeries;
 38 typedef struct xDataTOM_W_XYs_LegendreSeries_s     38 typedef struct xDataTOM_W_XYs_LegendreSeries_s xDataTOM_W_XYs_LegendreSeries;
 39 typedef struct xDataTOM_regionsW_XYs_LegendreS     39 typedef struct xDataTOM_regionsW_XYs_LegendreSeries_s xDataTOM_regionsW_XYs_LegendreSeries;
 40 typedef struct xDataTOM_V_W_XYs_LegendreSeries     40 typedef struct xDataTOM_V_W_XYs_LegendreSeries_s xDataTOM_V_W_XYs_LegendreSeries;
 41 typedef struct xDataTOM_KalbachMannCoefficient     41 typedef struct xDataTOM_KalbachMannCoefficients_s xDataTOM_KalbachMannCoefficients;
 42 typedef struct xDataTOM_KalbachMann_s xDataTOM     42 typedef struct xDataTOM_KalbachMann_s xDataTOM_KalbachMann;
 43 typedef struct xDataTOM_polynomial_s xDataTOM_     43 typedef struct xDataTOM_polynomial_s xDataTOM_polynomial;
 44                                                    44 
 45 typedef struct xDataTOM_xDataInfo_s xDataTOM_x     45 typedef struct xDataTOM_xDataInfo_s xDataTOM_xDataInfo;
 46                                                    46 
 47 typedef struct xDataTOM_attribute_s xDataTOM_a     47 typedef struct xDataTOM_attribute_s xDataTOM_attribute;
 48 typedef struct xDataTOM_attributionList_s xDat     48 typedef struct xDataTOM_attributionList_s xDataTOM_attributionList;
 49 typedef struct xDataTOM_elementListItem_s xDat     49 typedef struct xDataTOM_elementListItem_s xDataTOM_elementListItem;
 50 typedef struct xDataTOM_elementList_s xDataTOM     50 typedef struct xDataTOM_elementList_s xDataTOM_elementList;
 51 typedef struct xDataTOM_element_s xDataTOM_ele     51 typedef struct xDataTOM_element_s xDataTOM_element;
 52 typedef struct xDataTOM_TOM_s xDataTOM_TOM;        52 typedef struct xDataTOM_TOM_s xDataTOM_TOM;
 53                                                    53 
 54 typedef int (*xDataTOM_sortElementFunc)( const     54 typedef int (*xDataTOM_sortElementFunc)( const void *, const void * );
 55                                                    55 
 56 struct xDataTOM_interpolation_s {                  56 struct xDataTOM_interpolation_s {
 57     enum xDataTOM_interpolationFlag independen     57     enum xDataTOM_interpolationFlag independent, dependent;
 58     enum xDataTOM_interpolationQualifier quali     58     enum xDataTOM_interpolationQualifier qualifier;
 59 };                                                 59 };
 60                                                    60 
 61 struct xDataTOM_axis_s {                           61 struct xDataTOM_axis_s {
 62     int index;                                     62     int index;
 63     char *label;                                   63     char *label;
 64     char *unit;                                    64     char *unit;
 65     xDataTOM_interpolation interpolation;          65     xDataTOM_interpolation interpolation;
 66 };                                                 66 };
 67                                                    67 
 68 struct xDataTOM_axes_s {                           68 struct xDataTOM_axes_s {
 69     int numberOfAxes;                              69     int numberOfAxes;
 70     xDataTOM_axis *axis;                           70     xDataTOM_axis *axis;
 71 };                                                 71 };
 72                                                    72 
 73 struct xDataTOM_subAxes_s {                        73 struct xDataTOM_subAxes_s {
 74     enum xDataTOM_subAxesType type;                74     enum xDataTOM_subAxesType type;
 75     int offset;                                    75     int offset;
 76     xDataTOM_axes *axes;                           76     xDataTOM_axes *axes;
 77     xDataTOM_interpolation interpolation;          77     xDataTOM_interpolation interpolation;
 78 };                                                 78 };
 79                                                    79 
 80 struct xDataTOM_XYs_s {                            80 struct xDataTOM_XYs_s {
 81     int index, length;                             81     int index, length;
 82     double value, accuracy;                        82     double value, accuracy;
 83     xDataTOM_subAxes subAxes;                      83     xDataTOM_subAxes subAxes;
 84     double *data;                                  84     double *data;
 85 };                                                 85 };
 86                                                    86 
 87 struct xDataTOM_regionsXYs_s {                     87 struct xDataTOM_regionsXYs_s {
 88     int length;                                    88     int length;
 89     xDataTOM_axes *axes;                           89     xDataTOM_axes *axes;
 90     xDataTOM_XYs *XYs;                             90     xDataTOM_XYs *XYs;
 91 };                                                 91 };
 92                                                    92 
 93 struct xDataTOM_W_XYs_s {                          93 struct xDataTOM_W_XYs_s {
 94     int index, length;                             94     int index, length;
 95     double value;                                  95     double value;
 96     xDataTOM_subAxes subAxes;                      96     xDataTOM_subAxes subAxes;
 97     xDataTOM_XYs *XYs;                             97     xDataTOM_XYs *XYs;
 98 };                                                 98 };
 99                                                    99 
100 struct xDataTOM_V_W_XYs_s {                       100 struct xDataTOM_V_W_XYs_s {
101     int length;                                   101     int length;
102     xDataTOM_subAxes subAxes;                     102     xDataTOM_subAxes subAxes;
103     xDataTOM_W_XYs *W_XYs;                        103     xDataTOM_W_XYs *W_XYs;
104 };                                                104 };
105                                                   105 
106 struct xDataTOM_LegendreSeries_s {                106 struct xDataTOM_LegendreSeries_s {
107     int index, length;                            107     int index, length;
108     double value;                                 108     double value;
109     double *LegendreSeries;                       109     double *LegendreSeries;
110 };                                                110 };
111                                                   111 
112 struct xDataTOM_W_XYs_LegendreSeries_s {          112 struct xDataTOM_W_XYs_LegendreSeries_s {
113     int index, length;                            113     int index, length;
114     double value;                                 114     double value;
115     xDataTOM_subAxes subAxes;                     115     xDataTOM_subAxes subAxes;
116     xDataTOM_LegendreSeries *LegendreSeries;      116     xDataTOM_LegendreSeries *LegendreSeries;
117 };                                                117 };
118                                                   118 
119 struct xDataTOM_regionsW_XYs_LegendreSeries_s     119 struct xDataTOM_regionsW_XYs_LegendreSeries_s {
120     int length;                                   120     int length;
121     xDataTOM_axes *axes;                          121     xDataTOM_axes *axes;
122     xDataTOM_W_XYs_LegendreSeries *W_XYs_Legen    122     xDataTOM_W_XYs_LegendreSeries *W_XYs_LegendreSeries;
123 };                                                123 };
124                                                   124 
125 struct xDataTOM_V_W_XYs_LegendreSeries_s {        125 struct xDataTOM_V_W_XYs_LegendreSeries_s {
126     int length;                                   126     int length;
127     xDataTOM_subAxes subAxes;                     127     xDataTOM_subAxes subAxes;
128     xDataTOM_W_XYs_LegendreSeries *W_XYs_Legen    128     xDataTOM_W_XYs_LegendreSeries *W_XYs_LegendreSeries;
129 };                                                129 };
130                                                   130 
131 struct xDataTOM_KalbachMannCoefficients_s {       131 struct xDataTOM_KalbachMannCoefficients_s {
132     int index, length;                            132     int index, length;
133     double value;                                 133     double value;
134     double *coefficients;                         134     double *coefficients;
135 };                                                135 };
136                                                   136 
137 struct xDataTOM_KalbachMann_s {                   137 struct xDataTOM_KalbachMann_s {
138     enum xDataTOM_KalbachMannType type;           138     enum xDataTOM_KalbachMannType type;
139     int numberOfEnergies;                         139     int numberOfEnergies;
140     xDataTOM_subAxes subAxes;                     140     xDataTOM_subAxes subAxes;
141     xDataTOM_KalbachMannCoefficients *coeffici    141     xDataTOM_KalbachMannCoefficients *coefficients;
142 };                                                142 };
143                                                   143 
144 struct xDataTOM_polynomial_s {                    144 struct xDataTOM_polynomial_s {
145     int length;                                   145     int length;
146     xDataTOM_subAxes subAxes;                     146     xDataTOM_subAxes subAxes;
147     double *coefficients;                         147     double *coefficients;
148 };                                                148 };
149                                                   149 
150 struct xDataTOM_xDataInfo_s {                     150 struct xDataTOM_xDataInfo_s {
151     const char *ID;                               151     const char *ID;
152     xDataTOM_element *element;                    152     xDataTOM_element *element;
153     xDataTOM_axes axes;                           153     xDataTOM_axes axes;
154     void *data;                                   154     void *data;
155 };                                                155 };
156                                                   156 
157 struct xDataTOM_attribute_s {                     157 struct xDataTOM_attribute_s {
158     xDataTOM_attribute *next;                     158     xDataTOM_attribute *next;
159     char *name;                                   159     char *name;
160     char *value;                                  160     char *value;
161 };                                                161 };
162                                                   162 
163 struct xDataTOM_attributionList_s {               163 struct xDataTOM_attributionList_s {
164     int number;                                   164     int number;
165     xDataTOM_attribute *attributes;               165     xDataTOM_attribute *attributes;
166 };                                                166 };
167                                                   167 
168 struct xDataTOM_elementListItem_s {               168 struct xDataTOM_elementListItem_s {
169     xDataTOM_element *element;                    169     xDataTOM_element *element;
170     const char *sortString;                       170     const char *sortString;
171 };                                                171 };
172                                                   172 
173 struct xDataTOM_elementList_s {                   173 struct xDataTOM_elementList_s {
174     int n;                                        174     int n;
175     xDataTOM_elementListItem *items;              175     xDataTOM_elementListItem *items;
176 };                                                176 };
177                                                   177 
178 struct xDataTOM_element_s {                       178 struct xDataTOM_element_s {
179     int ordinal;                                  179     int ordinal;                                    /* Counting from 0. */
180     int index;                                    180     int index;                                      /* Value from "index" attribute if present or -1. */
181     xDataTOM_element *parent;                     181     xDataTOM_element *parent;
182     xDataTOM_element *next;                       182     xDataTOM_element *next;
183     char *name;                                   183     char *name;
184     xDataTOM_attributionList attributes;          184     xDataTOM_attributionList attributes;
185     int numberOfChildren;                         185     int numberOfChildren;
186     xDataTOM_element *children;                   186     xDataTOM_element *children;
187     xDataTOM_xDataInfo xDataInfo;                 187     xDataTOM_xDataInfo xDataInfo;
188 };                                                188 };
189                                                   189 
190 struct xDataTOM_TOM_s {                           190 struct xDataTOM_TOM_s {
191     char *fileName;                               191     char *fileName;
192     char *realFileName;                           192     char *realFileName;
193     xDataTOM_element root;                        193     xDataTOM_element root;
194 };                                                194 };
195                                                   195 
196 /*                                                196 /*
197 * Stuff in common/xDataTOM.c                      197 * Stuff in common/xDataTOM.c
198 */                                                198 */
199 xDataTOM_TOM *xDataTOM_importFile( statusMessa    199 xDataTOM_TOM *xDataTOM_importFile( statusMessageReporting *smr, const char *fileName );
200 xDataTOM_TOM *xDataTOM_mallocTOM( statusMessag    200 xDataTOM_TOM *xDataTOM_mallocTOM( statusMessageReporting *smr );
201 int xDataTOM_initializeTOM( statusMessageRepor    201 int xDataTOM_initializeTOM( statusMessageReporting *smr, xDataTOM_TOM *doc );
202 void *xDataTOM_freeTOM( statusMessageReporting    202 void *xDataTOM_freeTOM( statusMessageReporting *smr, xDataTOM_TOM **TOM );
203 int xDataTOM_setFileNameTOM( statusMessageRepo    203 int xDataTOM_setFileNameTOM( statusMessageReporting *smr, xDataTOM_TOM *doc, const char *fileName );
204 void xDataTOM_displayTree( statusMessageReport    204 void xDataTOM_displayTree( statusMessageReporting *smr, xDataTOM_TOM *TOM, int printAttributes );
205                                                   205 
206 xDataTOM_element *xDataTOM_mallocElement( stat    206 xDataTOM_element *xDataTOM_mallocElement( statusMessageReporting *smr, xDataTOM_element *parent, int ordinal, int index, char const *name );
207 void xDataTOM_freeElement( xDataTOM_element **    207 void xDataTOM_freeElement( xDataTOM_element **element );
208 void xDataTOM_releaseElement( xDataTOM_element    208 void xDataTOM_releaseElement( xDataTOM_element *element );
209 xDataTOM_element *xDataTOM_addElementInElement    209 xDataTOM_element *xDataTOM_addElementInElement( statusMessageReporting *smr, xDataTOM_element *parent, int index, char const *name );
210 xDataTOM_element *xDataTOM_getDocumentsElement    210 xDataTOM_element *xDataTOM_getDocumentsElement( xDataTOM_TOM *TOM );
211 xDataTOM_element *xDataTOME_getFirstElement( x    211 xDataTOM_element *xDataTOME_getFirstElement( xDataTOM_element *element );
212 xDataTOM_element *xDataTOME_getNextElement( xD    212 xDataTOM_element *xDataTOME_getNextElement( xDataTOM_element *element );
213 xDataTOM_element *xDataTOME_getOneElementByNam    213 xDataTOM_element *xDataTOME_getOneElementByName( statusMessageReporting *smr, xDataTOM_element *element, char const *name, int required );
214 int xDataTOM_numberOfElementsByName( statusMes    214 int xDataTOM_numberOfElementsByName( statusMessageReporting *smr, xDataTOM_element *element, char const *name );
215 int xDataTOME_addAttribute( statusMessageRepor    215 int xDataTOME_addAttribute( statusMessageReporting *smr, xDataTOM_element *element, char const *name, char const *value );
216 char const *xDataTOM_getAttributesValueInEleme    216 char const *xDataTOM_getAttributesValueInElement( xDataTOM_element *element, char const *name );
217 int xDataTOME_copyAttributionList( statusMessa    217 int xDataTOME_copyAttributionList( statusMessageReporting *smr, xDataTOM_attributionList *desc, xDataTOM_element *element );
218 int xDataTOME_convertAttributeToInteger( statu    218 int xDataTOME_convertAttributeToInteger( statusMessageReporting *smr, xDataTOM_element *element, char const *name, int *n );
219 int xDataTOME_convertAttributeToDouble( status    219 int xDataTOME_convertAttributeToDouble( statusMessageReporting *smr, xDataTOM_element *element, char const *name, double *d );
220 int xDataTOME_convertAttributeToDoubleWithUnit    220 int xDataTOME_convertAttributeToDoubleWithUnit( statusMessageReporting *smr, xDataTOM_element *element, char const *name, double *d, char *unit );
221 int xDataTOME_getInterpolation( statusMessageR    221 int xDataTOME_getInterpolation( statusMessageReporting *smr, xDataTOM_element *element, int index, 
222     enum xDataTOM_interpolationFlag *independe    222     enum xDataTOM_interpolationFlag *independent, enum xDataTOM_interpolationFlag *dependent, enum xDataTOM_interpolationQualifier *qualifier );
223                                                   223 
224 void xDataTOMAL_initial( statusMessageReportin    224 void xDataTOMAL_initial( statusMessageReporting *smr, xDataTOM_attributionList *attributes );
225 void xDataTOMAL_release( xDataTOM_attributionL    225 void xDataTOMAL_release( xDataTOM_attributionList *attributes );
226 int xDataTOMAL_addAttribute( statusMessageRepo    226 int xDataTOMAL_addAttribute( statusMessageReporting *smr, xDataTOM_attributionList *attributes, char const *name, char const *value );
227 char const *xDataTOMAL_getAttributesValue( xDa    227 char const *xDataTOMAL_getAttributesValue( xDataTOM_attributionList *attributes, char const *name );
228 int xDataTOMAL_copyAttributionList( statusMess    228 int xDataTOMAL_copyAttributionList( statusMessageReporting *smr, xDataTOM_attributionList *desc, xDataTOM_attributionList *src );
229 int xDataTOMAL_convertAttributeToInteger( stat    229 int xDataTOMAL_convertAttributeToInteger( statusMessageReporting *smr, xDataTOM_attributionList *attributes, char const *name, int *n );
230 int xDataTOMAL_convertAttributeToDouble( statu    230 int xDataTOMAL_convertAttributeToDouble( statusMessageReporting *smr, xDataTOM_attributionList *attributes, char const *name, double *d );
231                                                   231 
232 void *xData_initializeData( statusMessageRepor    232 void *xData_initializeData( statusMessageReporting *smr, xDataTOM_element *TE, char const *ID, size_t size );
233 int xDataTOM_isXDataID( xDataTOM_element *TE,     233 int xDataTOM_isXDataID( xDataTOM_element *TE, char const *ID );
234                                                   234 
235 /*                                                235 /*
236 * Stuff in common/xDataTOMMisc.c                  236 * Stuff in common/xDataTOMMisc.c
237 */                                                237 */
238 char *xDataTOMMisc_getAbsPath( statusMessageRe    238 char *xDataTOMMisc_getAbsPath( statusMessageReporting *smr, const char *fileName );
239 int xDataTOM_setMessageError_ReturnInt( int va    239 int xDataTOM_setMessageError_ReturnInt( int value, statusMessageReporting *smr, void *userData, const char *file, int line, int code, const char *fmt, ... );
240 xDataTOM_element *xDataTOM_getLinksElement( st    240 xDataTOM_element *xDataTOM_getLinksElement( statusMessageReporting *smr, xDataTOM_element *element, char const *link );
241                                                   241 
242 #define xDataTOMMisc_allocateCopyString2( smr,    242 #define xDataTOMMisc_allocateCopyString2( smr, s, forItem ) xDataTOMMisc_allocateCopyString( smr, s, forItem, __FILE__, __LINE__ )
243                                                   243 
244 /*                                                244 /*
245 * Stuff in common/xDataTOM_interpolation.c        245 * Stuff in common/xDataTOM_interpolation.c
246 */                                                246 */
247 int xDataTOM_interpolation_set( statusMessageR    247 int xDataTOM_interpolation_set( statusMessageReporting *smr, xDataTOM_interpolation *interpolation, enum xDataTOM_interpolationFlag independent, 
248     enum xDataTOM_interpolationFlag dependent,    248     enum xDataTOM_interpolationFlag dependent, enum xDataTOM_interpolationQualifier qualifier );
249 int xDataTOM_interpolation_setFromString( stat    249 int xDataTOM_interpolation_setFromString( statusMessageReporting *smr, xDataTOM_interpolation *interpolation, char const *str );
250 int xDataTOM_interpolation_copy( statusMessage    250 int xDataTOM_interpolation_copy( statusMessageReporting *smr, xDataTOM_interpolation *desc, xDataTOM_interpolation *src );
251                                                   251 
252 /*                                                252 /*
253 * Stuff in common/xDataTOM_axes.c                 253 * Stuff in common/xDataTOM_axes.c
254 */                                                254 */
255 int xDataTOM_axes_initialize( statusMessageRep    255 int xDataTOM_axes_initialize( statusMessageReporting *smr, xDataTOM_axes *axes, int numberOfAxes );
256 int xDataTOM_axes_release( xDataTOM_axes *axes    256 int xDataTOM_axes_release( xDataTOM_axes *axes );
257 char const *xDataTOM_axes_getLabel( statusMess    257 char const *xDataTOM_axes_getLabel( statusMessageReporting *smr, xDataTOM_axes *axes, int index );
258 char const *xDataTOM_axes_getUnit( statusMessa    258 char const *xDataTOM_axes_getUnit( statusMessageReporting *smr, xDataTOM_axes *axes, int index );
259 int xDataTOM_axes_getInterpolation( statusMess    259 int xDataTOM_axes_getInterpolation( statusMessageReporting *smr, xDataTOM_axes *axes, int index, enum xDataTOM_interpolationFlag *independent,
260         enum xDataTOM_interpolationFlag *depen    260         enum xDataTOM_interpolationFlag *dependent, enum xDataTOM_interpolationQualifier *qualifier );
261                                                   261 
262 int xDataTOM_subAxes_initialize( statusMessage    262 int xDataTOM_subAxes_initialize( statusMessageReporting *smr, xDataTOM_subAxes *subAxes, enum xDataTOM_subAxesType type, int offset, 
263     xDataTOM_axes *axes, xDataTOM_interpolatio    263     xDataTOM_axes *axes, xDataTOM_interpolation *interpolation );
264 int xDataTOM_subAxes_release( xDataTOM_subAxes    264 int xDataTOM_subAxes_release( xDataTOM_subAxes *subAxes );
265 char const *xDataTOM_subAxes_getLabel( statusM    265 char const *xDataTOM_subAxes_getLabel( statusMessageReporting *smr, xDataTOM_subAxes *subAxes, int index );
266 char const *xDataTOM_subAxes_getUnit( statusMe    266 char const *xDataTOM_subAxes_getUnit( statusMessageReporting *smr, xDataTOM_subAxes *subAxes, int index );
267                                                   267 
268 xDataTOM_axis *xDataTOM_axis_new( statusMessag    268 xDataTOM_axis *xDataTOM_axis_new( statusMessageReporting *smr, int index, char const *label, char const *unit, xDataTOM_interpolation *interpolation );
269 int xDataTOM_axis_initialize( statusMessageRep    269 int xDataTOM_axis_initialize( statusMessageReporting *smr, xDataTOM_axis *axis, int index, char const *label, char const *unit, 
270     xDataTOM_interpolation *interpolation );      270     xDataTOM_interpolation *interpolation );
271 xDataTOM_axis *xDataTOM_axis_release( statusMe    271 xDataTOM_axis *xDataTOM_axis_release( statusMessageReporting *smr, xDataTOM_axis *axis );
272 enum xDataTOM_frame xDataTOM_axis_stringToFram    272 enum xDataTOM_frame xDataTOM_axis_stringToFrame( statusMessageReporting *smr, char const *frame );
273 char const *xDataTOM_axis_frameToString( statu    273 char const *xDataTOM_axis_frameToString( statusMessageReporting *smr, enum xDataTOM_frame frame );
274                                                   274 
275 /*                                                275 /*
276 * Stuff in common/xDataTOM_XYs.c                  276 * Stuff in common/xDataTOM_XYs.c
277 */                                                277 */
278 int xDataTOM_XYs_free( xDataTOM_xDataInfo *xDI    278 int xDataTOM_XYs_free( xDataTOM_xDataInfo *xDI );
279 int xDataTOM_XYs_release( xDataTOM_XYs *XYs );    279 int xDataTOM_XYs_release( xDataTOM_XYs *XYs );
280 int xDataTOM_XYs_getData( xDataTOM_XYs *XYs, d    280 int xDataTOM_XYs_getData( xDataTOM_XYs *XYs, double **data );
281 int xDataTOM_XYs_getDataFromXDataInfo( xDataTO    281 int xDataTOM_XYs_getDataFromXDataInfo( xDataTOM_xDataInfo *xDI, double **data );
282                                                   282 
283 /*                                                283 /*
284 * Stuff in common/xDataTOM_regionsXYs.c           284 * Stuff in common/xDataTOM_regionsXYs.c
285 */                                                285 */
286 int xDataTOM_regionsXYs_free( xDataTOM_xDataIn    286 int xDataTOM_regionsXYs_free( xDataTOM_xDataInfo *xDI );
287                                                   287 
288 /*                                                288 /*
289 * Stuff in common/xDataTOM_W_XYs.c                289 * Stuff in common/xDataTOM_W_XYs.c
290 */                                                290 */
291 xDataTOM_W_XYs *xDataTOM_W_XYs_new( statusMess    291 xDataTOM_W_XYs *xDataTOM_W_XYs_new( statusMessageReporting *smr, int index, int length, double value, xDataTOM_axes *axes, int axesOffset );
292 int xDataTOM_W_XYs_initialize( statusMessageRe    292 int xDataTOM_W_XYs_initialize( statusMessageReporting *smr, xDataTOM_W_XYs *W_XYs, int index, int length, double value, xDataTOM_axes *axes,
293     int axesOffset );                             293     int axesOffset );
294 xDataTOM_W_XYs *xDataTOM_W_XYs_free( xDataTOM_    294 xDataTOM_W_XYs *xDataTOM_W_XYs_free( xDataTOM_W_XYs *W_XYs );
295 int xDataTOM_W_XYs_freeFrom_xDataInfo( xDataTO    295 int xDataTOM_W_XYs_freeFrom_xDataInfo( xDataTOM_xDataInfo *xDI );
296 int xDataTOM_W_XYs_release( xDataTOM_W_XYs *W_    296 int xDataTOM_W_XYs_release( xDataTOM_W_XYs *W_XYs );
297 xDataTOM_xDataInfo *xDataTOME_getXData( xDataT    297 xDataTOM_xDataInfo *xDataTOME_getXData( xDataTOM_element *TE );
298 void *xDataTOME_getXDataIfID( statusMessageRep    298 void *xDataTOME_getXDataIfID( statusMessageReporting *smr, xDataTOM_element *TE, char const *ID );
299                                                   299 
300 /*                                                300 /*
301 * Stuff in common/xDataTOM_V_W_XYs.c              301 * Stuff in common/xDataTOM_V_W_XYs.c
302 */                                                302 */
303 int xDataTOM_V_W_XYs_initialize( statusMessage    303 int xDataTOM_V_W_XYs_initialize( statusMessageReporting *smr, xDataTOM_V_W_XYs *V_W_XYs, int length, xDataTOM_axes *axes );
304 int xDataTOM_V_W_XYs_free( xDataTOM_xDataInfo     304 int xDataTOM_V_W_XYs_free( xDataTOM_xDataInfo *xDI );
305                                                   305 
306 /*                                                306 /*
307 * Stuff in common/xDataTOM_LegendreSeries.c       307 * Stuff in common/xDataTOM_LegendreSeries.c
308 */                                                308 */
309 int xDataTOM_LegendreSeries_initialize( status    309 int xDataTOM_LegendreSeries_initialize( statusMessageReporting *smr, xDataTOM_LegendreSeries *LegendreSeries, int index, int length, double value );
310 int xDataTOM_LegendreSeries_release( xDataTOM_    310 int xDataTOM_LegendreSeries_release( xDataTOM_LegendreSeries *LegendreSeries );
311                                                   311 
312 /*                                                312 /*
313 * Stuff in common/xDataTOM_W_XYs_LegendreSerie    313 * Stuff in common/xDataTOM_W_XYs_LegendreSeries.c
314 */                                                314 */
315 int xDataTOM_W_XYs_LegendreSeries_initialize(     315 int xDataTOM_W_XYs_LegendreSeries_initialize( statusMessageReporting *smr, xDataTOM_W_XYs_LegendreSeries *W_XYs_LegendreSeries, int index, 
316         int length, double value, enum xDataTO    316         int length, double value, enum xDataTOM_subAxesType subAxesType, xDataTOM_axes *axes, xDataTOM_interpolation *interpolation );
317 int xDataTOM_W_XYs_LegendreSeries_free( xDataT    317 int xDataTOM_W_XYs_LegendreSeries_free( xDataTOM_xDataInfo *xDI );
318 int xDataTOM_W_XYs_LegendreSeries_release( xDa    318 int xDataTOM_W_XYs_LegendreSeries_release( xDataTOM_W_XYs_LegendreSeries *W_XYs_LegendreSeries );
319                                                   319 
320 /*                                                320 /*
321 * Stuff in common/xDataTOM_regionsW_XYs_Legend    321 * Stuff in common/xDataTOM_regionsW_XYs_LegendreSeries.c
322 */                                                322 */
323 int xDataTOM_regionsW_XYs_LegendreSeries_initi    323 int xDataTOM_regionsW_XYs_LegendreSeries_initialize( statusMessageReporting *smr, xDataTOM_regionsW_XYs_LegendreSeries *regionsW_XYs_LegendreSeries,
324         int length, xDataTOM_axes *axes );        324         int length, xDataTOM_axes *axes );
325 int xDataTOM_regionsW_XYs_LegendreSeries_free(    325 int xDataTOM_regionsW_XYs_LegendreSeries_free( xDataTOM_xDataInfo *xDI );
326 int xDataTOM_regionsW_XYs_LegendreSeries_relea    326 int xDataTOM_regionsW_XYs_LegendreSeries_release( xDataTOM_regionsW_XYs_LegendreSeries *regionsW_XYs_LegendreSeries );
327                                                   327 
328 /*                                                328 /*
329 * Stuff in common/xDataTOM_V_W_XYs_LegendreSer    329 * Stuff in common/xDataTOM_V_W_XYs_LegendreSeries.c
330 */                                                330 */
331 int xDataTOM_V_W_XYs_LegendreSeries_initialize    331 int xDataTOM_V_W_XYs_LegendreSeries_initialize( statusMessageReporting *smr, xDataTOM_V_W_XYs_LegendreSeries *V_W_XYs_LegendreSeries, 
332         int length, xDataTOM_axes *axes );        332         int length, xDataTOM_axes *axes );
333 int xDataTOM_V_W_XYs_LegendreSeries_free( xDat    333 int xDataTOM_V_W_XYs_LegendreSeries_free( xDataTOM_xDataInfo *xDI );
334                                                   334 
335 /*                                                335 /*
336 * Stuff in common/xDataTOM_KalbachMann.c          336 * Stuff in common/xDataTOM_KalbachMann.c
337 */                                                337 */
338 int xDataTOM_KalbachMann_initialize( statusMes    338 int xDataTOM_KalbachMann_initialize( statusMessageReporting *smr, xDataTOM_KalbachMann *KalbachMann, int length, xDataTOM_axes *axes );
339 int xDataTOM_KalbachMann_free( xDataTOM_xDataI    339 int xDataTOM_KalbachMann_free( xDataTOM_xDataInfo *xDI );
340 int xDataTOM_KalbachMann_release( xDataTOM_Kal    340 int xDataTOM_KalbachMann_release( xDataTOM_KalbachMann *KalbachMann );
341                                                   341 
342 /*                                                342 /*
343 * Stuff in common/xDataTOM_polynomial.c           343 * Stuff in common/xDataTOM_polynomial.c
344 */                                                344 */
345 int xDataTOM_polynomial_initialize( statusMess    345 int xDataTOM_polynomial_initialize( statusMessageReporting *smr, xDataTOM_polynomial *polynomial, int length, xDataTOM_axes *axes );
346 int xDataTOM_polynomial_free( xDataTOM_xDataIn    346 int xDataTOM_polynomial_free( xDataTOM_xDataInfo *xDI );
347 int xDataTOM_polynomial_release( xDataTOM_poly    347 int xDataTOM_polynomial_release( xDataTOM_polynomial *polynomial );
348 int xDataTOM_polynomial_getData( xDataTOM_poly    348 int xDataTOM_polynomial_getData( xDataTOM_polynomial *polynomial, double **data );
349 int xDataTOM_polynomial_getDataFromXDataInfo(     349 int xDataTOM_polynomial_getDataFromXDataInfo( xDataTOM_xDataInfo *xDI, double **data );
350                                                   350 
351 #if defined __cplusplus                           351 #if defined __cplusplus
352     }                                             352     }
353     }                                             353     }
354 #endif                                            354 #endif
355                                                   355 
356 #endif              /* End of xDataTOM_h_inclu    356 #endif              /* End of xDataTOM_h_included. */
357                                                   357