12#if defined __cplusplus
26 char const *wLabel, *form;
35 if( strcmp( form,
"fr" ) == 0 ) {
37 else if( strcmp( form,
"fra" ) == 0 ) {
41 "invalid KalbachMann type - '%s'", form );
49 if( strcmp(
"axes", XMLChild->
name ) == 0 ) {
51 else if( strcmp( wLabel, XMLChild->
name ) == 0 ) {
56 "invalid element '%s' in xData = 'KalbachMann'", XMLChild->
name );
79 coefficients->
index = index;
80 coefficients->
length = length;
81 coefficients->
value = value;
82 if( ( coefficients->
coefficients = (
double *)
smr_malloc2( smr, length *
sizeof(
double ), 0,
"coefficients->coefficients" ) ) == NULL )
goto err;
91#if defined __cplusplus
#define smr_setReportError3(smr, userInterface, libraryID, code, fmt,...)
void * smr_freeMemory(void **p)
#define smr_malloc2(smr, size, zero, forItem)
enum xDataTOM_KalbachMannType type
xDataTOM_KalbachMannCoefficients * coefficients
xDataTOM_xDataInfo xDataInfo
char const * xDataTOM_axes_getLabel(statusMessageReporting *smr, xDataTOM_axes *axes, int index)
int xDataTOM_KalbachMann_initialize(statusMessageReporting *smr, xDataTOM_KalbachMann *KalbachMann, int length, xDataTOM_axes *axes)
@ xDataTOM_KalbachMannType_fra
@ xDataTOM_KalbachMannType_fr
void * xDataXML_initializeData(statusMessageReporting *smr, xDataXML_element *XE, xDataTOM_element *TE, char const *ID, size_t size)
int xDataXML_KalbachMannToTOM(statusMessageReporting *smr, xDataXML_element *XE, xDataTOM_element *TE)
int xDataXML_stringToDoubles(statusMessageReporting *smr, xDataXML_element *XE, char const *s, int length, double *d)
void * xDataXML_get_smrUserInterfaceFromElement(xDataXML_element *element)
xDataXML_element * xDataXML_getNextElement(xDataXML_element *element)
xDataTOM_Int xDataXML_convertAttributeTo_xDataTOM_Int(statusMessageReporting *smr, xDataXML_element *element, char const *name, xDataTOM_Int *n, int required)
char const * xDataXML_getAttributesValueInElement(xDataXML_element *element, char const *name)
xDataXML_element * xDataXML_getFirstElement(xDataXML_element *element)
int xDataXML_numberOfElementsByTagName(statusMessageReporting *smr, xDataXML_element *element, char const *tagName)
int xDataXML_convertAttributeToDouble(statusMessageReporting *smr, xDataXML_element *element, char const *name, double *d, int required)
char const * xDataTOM_KalbachMann_ID
int xDataTOM_smrLibraryID