21 {
22
23 int length;
26 char const *wLabel, *form;
29
30
33
35 if( strcmp( form, "fr" ) == 0 ) {
37 else if( strcmp( form, "fra" ) == 0 ) {
39 else {
41 "invalid KalbachMann type - '%s'", form );
42 goto err;
43 }
47
49 if( strcmp(
"axes", XMLChild->
name ) == 0 ) {
50 continue; }
51 else if( strcmp( wLabel, XMLChild->
name ) == 0 ) {
54 else {
56 "invalid element '%s' in xData = 'KalbachMann'", XMLChild->
name );
57 goto err;
58 }
59 }
60
61 return( 0 );
62
63err:
65 return( 1 );
66}
#define smr_setReportError3(smr, userInterface, libraryID, code, fmt,...)
void * smr_freeMemory(void **p)
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)
void * xDataXML_get_smrUserInterfaceFromElement(xDataXML_element *element)
xDataXML_element * xDataXML_getNextElement(xDataXML_element *element)
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)
char const * xDataTOM_KalbachMann_ID
int xDataTOM_smrLibraryID