#include <stdlib.h>
#include <string.h>
#include <limits.h>
#include <ctype.h>
#include "xDataTOM_importXML_private.h"
Go to the source code of this file.
◆ xDataXML_regionsXYsToTOM()
Definition at line 23 of file xDataTOM_importXML_regionsXYs.cc.
23 {
24
25 int index;
29
35
36
38 if( strcmp(
"axes", XMLChild->
name ) == 0 ) {
39 continue; }
40 else if( strcmp(
"region", XMLChild->
name ) == 0 ) {
41 if( xDataXML_regionsXYs_regionToTOM( smr, XMLChild, &(regionsXYs->
XYs[index]), regionsXYs->
axes ) != 0 )
goto err;
42 index++; }
43 else {
45 "invalid element '%s' in xData 'regionsXYs'", XMLChild->
name );
46 goto err;
47 }
48 }
49
50 return( 0 );
51
52err:
53
54 return( 1 );
55}
#define smr_setReportError3(smr, userInterface, libraryID, code, fmt,...)
#define smr_malloc2(smr, size, zero, forItem)
xDataTOM_xDataInfo xDataInfo
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)
xDataXML_element * xDataXML_getFirstElement(xDataXML_element *element)
int xDataXML_numberOfElementsByTagName(statusMessageReporting *smr, xDataXML_element *element, char const *tagName)
char const * xDataTOM_regionsXYs_ID
int xDataTOM_smrLibraryID