ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
xDataTOM_importXML.cc File Reference
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <errno.h>
#include <unistd.h>
#include "xDataTOM_importXML_private.h"
+ Include dependency graph for xDataTOM_importXML.cc:

Go to the source code of this file.

Macros

#define PATH_MAX   4096
 

Functions

static xDataXML_documentxDataXML_mallocDoc (statusMessageReporting *smr)
 
static int xDataXML_initializeDoc (statusMessageReporting *smr, xDataXML_document *doc)
 
static int xDataXML_endXMLParsing (statusMessageReporting *smr, xDataXML_document *doc)
 
static voidxDataXML_freeElement (statusMessageReporting *smr, xDataXML_element *element)
 
static void xDataXML_freeElementItems (statusMessageReporting *smr, xDataXML_element *element)
 
static int xDataXML_parse (xDataXML_document *doc, char const *s)
 
static void XMLCALL xDataXML_parseStartElement (void *userData, char const *name, char const **attris)
 
static void XMLCALL xDataXML_parseEndElement (void *userData, char const *name)
 
static void XMLCALL xDataXML_parseCharacterData (void *userData, XML_Char const *s, int len)
 
static void xDataXML_initializeRootElement (xDataXML_document *doc, xDataXML_rootElement *re, xDataXML_element *parentElement, int depth)
 
static int xDataXML_parseInitializeText (xDataXML_document *doc, xDataXML_text *text)
 
static int xDataXML_addElementToRoot (statusMessageReporting *smr, xDataXML_rootElement *parentRoot, char const *name, char const **attris)
 
static enum xDataXML_errorCodes xDataXML_parseGetCurrentPosition (xDataXML_document *doc, xDataXML_docInfo *docInfo)
 
static int xDataXML_init_xDataTypeNone (xDataXMLType *xDT, xDataXML_element *element)
 
static char * xDataXML_getTraceback (statusMessageReporting *smr, xDataXML_element *element)
 
static char * xDataXML_getTraceback2 (statusMessageReporting *smr, xDataXML_rootElement *parentRoot, int n)
 
static int xDataXML_setFileName (statusMessageReporting *smr, xDataXML_document *doc, char const *fileName)
 
static int xDataXML_smrUserInterfaceInitialize (xDataXML_document *doc)
 
static int xDataXML_smrUserInterfaceFree (xDataXML_document *doc)
 
static char * xDataXML_smrUserInterface (void *userData)
 
static char const * xDataXML_shortStringForMessage (size_t size, char *Out, char const *In)
 
static int xDataXML_constructTOM (statusMessageReporting *smr, xDataTOM_element *TE, xDataXML_element *element)
 
xDataTOM_TOMxDataXML_importFile (statusMessageReporting *smr, char const *fileName)
 
xDataXML_documentxDataXML_importFile2 (statusMessageReporting *smr, char const *fileName)
 
voidxDataXML_freeDoc (statusMessageReporting *smr, xDataXML_document *doc)
 
int xDataXML_parseIsError (xDataXML_document *doc)
 
xDataXML_elementxDataXML_getDocumentsElement (xDataXML_document *doc)
 
xDataXML_elementxDataXML_getFirstElement (xDataXML_element *element)
 
xDataXML_elementxDataXML_getNextElement (xDataXML_element *element)
 
enum xDataXML_itemMode xDataXML_getFirstItem (xDataXML_element *element, xDataXML_item *item)
 
enum xDataXML_itemMode xDataXML_getNextItem (xDataXML_item *item)
 
int xDataXML_isAttributeInList (xDataXML_attributionList *attributes, char const *name)
 
int xDataXML_isAttributeInElement (xDataXML_element *element, char const *name)
 
char * xDataXML_getAttributesValue (xDataXML_attributionList *attributes, char const *name)
 
char const * xDataXML_getAttributesValueInElement (xDataXML_element *element, char const *name)
 
int xDataXML_attributeListLength (xDataXML_attributionList *attributes)
 
xDataXML_attributexDataXML_attributeByIndex (xDataXML_attributionList *attributes, int index)
 
int xDataXML_getCommonData (statusMessageReporting *smr, xDataXML_element *element, xDataTOM_Int *index, xDataTOM_Int *start, xDataTOM_Int *end, xDataTOM_Int *length)
 
int xDataXML_xDataTypeConvertAttributes (statusMessageReporting *smr, xDataXML_element *element)
 
xDataTOM_Int xDataXML_convertAttributeTo_xDataTOM_Int (statusMessageReporting *smr, xDataXML_element *element, char const *name, xDataTOM_Int *n, int required)
 
int xDataXML_convertAttributeToDouble (statusMessageReporting *smr, xDataXML_element *element, char const *name, double *d, int required)
 
int xDataXML_numberOfElementsByTagName (statusMessageReporting *, xDataXML_element *element, char const *tagName)
 
xDataXML_elementListxDataXML_getElementsByTagName (statusMessageReporting *smr, xDataXML_element *element, char const *tagName)
 
xDataXML_elementxDataXML_getOneElementByTagName (statusMessageReporting *smr, xDataXML_element *element, char *name, int required)
 
void xDataXML_freeElementList (statusMessageReporting *, xDataXML_elementList *list)
 
int xDataXML_is_xDataType (statusMessageReporting *smr, xDataXMLType *xDT, char const *const ID, int setMsg)
 
char const * xDataXML_getFileName (xDataXML_document *doc)
 
char const * xDataXML_getRealFileName (xDataXML_document *doc)
 
xDataXML_documentxDataXML_getElementsDocument (xDataXML_element *element)
 
voidxDataXML_get_smrUserInterfaceFromDocument (xDataXML_document *doc)
 
voidxDataXML_get_smrUserInterfaceFromElement (xDataXML_element *element)
 
int xDataXML_stringTo_xDataTOM_Int (statusMessageReporting *smr, void *smrUserInterface, char const *c, xDataTOM_Int *value, char const *endings, char **e)
 
int xDataXML_stringTo_double (statusMessageReporting *smr, void *smrUserInterface, char const *c, double *value, char const *endings, char **e)
 
int xDataXML_addToAccessed (statusMessageReporting *, xDataXML_element *element, int increment)
 
int xDataXML_getAccessed (statusMessageReporting *, xDataXML_element *element)
 
voidxDataXML_initializeData (statusMessageReporting *smr, xDataXML_element *XE, xDataTOM_element *TE, char const *ID, size_t size)
 

Macro Definition Documentation

#define PATH_MAX   4096

Definition at line 33 of file xDataTOM_importXML.cc.

View newest version in sPHENIX GitHub at line 33 of file xDataTOM_importXML.cc

Referenced by xDataXML_setFileName().

Function Documentation

static int xDataXML_addElementToRoot ( statusMessageReporting smr,
xDataXML_rootElement parentRoot,
char const *  name,
char const **  attris 
)
static

Definition at line 311 of file xDataTOM_importXML.cc.

View newest version in sPHENIX GitHub at line 311 of file xDataTOM_importXML.cc

References a, xDataXML_element_s::accessed, xDataXML_attributionList_s::attributes, xDataXML_element_s::attributes, xDataXML_rootElement_s::children, xDataXML_element_s::childrenRoot, xDataXML_rootElement_s::currentChild, xDataXML_document_s::currentRoot, xDataXML_rootElement_s::depth, xDataXML_element_s::docInfo, e, xDataXML_element_s::fullName, xDataXML_element_s::index, int(), xDataXML_text_s::length, n, xDataXML_attribute_s::name, xDataXML_element_s::name, xDataXML_element_s::next, xDataXML_attributionList_s::number, xDataXML_rootElement_s::numberOfElements, xDataXML_element_s::ordinal, xDataXML_rootElement_s::parentElement, xDataXML_element_s::parentRoot, xDataXML_attributionList_s::size, xDataXML_document_s::smr, smr_freeMemory(), smr_malloc2, smr_setReportError3, xDataXML_element_s::text, xDataXML_element_s::textOffset, xDataXML_rootElement_s::xData_doc, xDataTOM_smrLibraryID, xDataXML_element_s::xDataTypeInfo, xDataXML_get_smrUserInterfaceFromElement(), xDataXML_getTraceback(), xDataXML_init_xDataTypeNone(), xDataXML_initializeRootElement(), xDataXML_parseGetCurrentPosition(), and xDataXML_parseInitializeText().

Referenced by xDataXML_parseStartElement().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int xDataXML_addToAccessed ( statusMessageReporting ,
xDataXML_element element,
int  increment 
)

Definition at line 925 of file xDataTOM_importXML.cc.

View newest version in sPHENIX GitHub at line 925 of file xDataTOM_importXML.cc

References xDataXML_element_s::accessed.

xDataXML_attribute* xDataXML_attributeByIndex ( xDataXML_attributionList attributes,
int  index 
)

Definition at line 512 of file xDataTOM_importXML.cc.

View newest version in sPHENIX GitHub at line 512 of file xDataTOM_importXML.cc

References xDataXML_attributionList_s::attributes, and xDataXML_attributionList_s::number.

Referenced by MCGIDI_misc_copyXMLAttributesToTOM(), and xDataXML_constructTOM().

+ Here is the caller graph for this function:

int xDataXML_attributeListLength ( xDataXML_attributionList attributes)

Definition at line 505 of file xDataTOM_importXML.cc.

View newest version in sPHENIX GitHub at line 505 of file xDataTOM_importXML.cc

References xDataXML_attributionList_s::number.

static int xDataXML_constructTOM ( statusMessageReporting smr,
xDataTOM_element TE,
xDataXML_element element 
)
static
xDataTOM_Int xDataXML_convertAttributeTo_xDataTOM_Int ( statusMessageReporting smr,
xDataXML_element element,
char const *  name,
xDataTOM_Int n,
int  required 
)

Definition at line 601 of file xDataTOM_importXML.cc.

View newest version in sPHENIX GitHub at line 601 of file xDataTOM_importXML.cc

References e, smr_setReportError3, xDataTOM_smrLibraryID, xDataXML_get_smrUserInterfaceFromElement(), and xDataXML_getAttributesValueInElement().

Referenced by xDataXML_axesToTOM(), xDataXML_KalbachMannCoefficientsToTOM(), xDataXML_polynomialToTOM(), xDataXML_regionsW_XYs_LegendreSeries_regionToTOM(), xDataXML_regionsXYs_regionToTOM(), xDataXML_V_W_XYs_LegendreSeries_W_XYs_LegendreSeriesToTOM(), xDataXML_V_W_XYs_W_XYsToTOM(), xDataXML_W_XYs_LegendreSeries_LegendreSeriesToTOM(), xDataXML_W_XYs_XYsToTOM(), xDataXML_xDataTypeConvertAttributes(), and xDataXML_XYsToTOM().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int xDataXML_convertAttributeToDouble ( statusMessageReporting smr,
xDataXML_element element,
char const *  name,
double *  d,
int  required 
)

Definition at line 624 of file xDataTOM_importXML.cc.

View newest version in sPHENIX GitHub at line 624 of file xDataTOM_importXML.cc

References e, smr_setReportError3, xDataTOM_smrLibraryID, xDataXML_get_smrUserInterfaceFromElement(), and xDataXML_getAttributesValueInElement().

Referenced by MCGIDI_target_read(), xDataXML_KalbachMannCoefficientsToTOM(), xDataXML_regionsXYs_regionToTOM(), xDataXML_V_W_XYs_LegendreSeries_W_XYs_LegendreSeriesToTOM(), xDataXML_V_W_XYs_W_XYsToTOM(), xDataXML_W_XYs_LegendreSeries_LegendreSeriesToTOM(), xDataXML_W_XYs_XYsToTOM(), and xDataXML_XYsToTOM().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static int xDataXML_endXMLParsing ( statusMessageReporting smr,
xDataXML_document doc 
)
static

Definition at line 167 of file xDataTOM_importXML.cc.

View newest version in sPHENIX GitHub at line 167 of file xDataTOM_importXML.cc

References xDataXML_document_s::err, xDataXML_document_s::err_column, xDataXML_document_s::err_line, smr_isOk(), smr_setReportError3, xDataXML_document_s::status, xDataTOM_smrLibraryID, xDataXML_errXMLParser, xDataXML_get_smrUserInterfaceFromDocument(), xDataXML_statusCompleted, xDataXML_statusError, XML_ErrorString(), XML_GetCurrentColumnNumber(), XML_GetCurrentLineNumber(), XML_GetErrorCode(), XML_Parse(), XML_ParserFree(), XML_STATUS_ERROR, and xDataXML_document_s::xmlParser.

Referenced by xDataXML_freeDoc(), and xDataXML_importFile2().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void* xDataXML_freeDoc ( statusMessageReporting smr,
xDataXML_document doc 
)

Definition at line 188 of file xDataTOM_importXML.cc.

View newest version in sPHENIX GitHub at line 188 of file xDataTOM_importXML.cc

References xDataXML_rootElement_s::children, xDataXML_document_s::fileName, xDataXML_document_s::realFileName, xDataXML_document_s::root, smr_freeMemory(), xDataXML_endXMLParsing(), xDataXML_freeElement(), and xDataXML_smrUserInterfaceFree().

Referenced by MCGIDI_map_readFile(), MCGIDI_target_read(), xDataXML_importFile(), xDataXML_importFile2(), and xDataXML_mallocDoc().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void * xDataXML_freeElement ( statusMessageReporting smr,
xDataXML_element element 
)
static

Definition at line 201 of file xDataTOM_importXML.cc.

View newest version in sPHENIX GitHub at line 201 of file xDataTOM_importXML.cc

References xDataXML_element_s::next, smr_freeMemory(), and xDataXML_freeElementItems().

Referenced by xDataXML_freeDoc(), and xDataXML_freeElementItems().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void xDataXML_freeElementItems ( statusMessageReporting smr,
xDataXML_element element 
)
static

Definition at line 215 of file xDataTOM_importXML.cc.

View newest version in sPHENIX GitHub at line 215 of file xDataTOM_importXML.cc

References xDataXML_attributionList_s::attributes, xDataXML_element_s::attributes, xDataXML_rootElement_s::children, xDataXML_element_s::childrenRoot, xDataXML_element_s::fullName, xDataXML_element_s::name, xDataXMLType_s::release, smr_freeMemory(), xDataXML_text_s::text, xDataXML_element_s::text, xDataXML_element_s::xDataTypeInfo, and xDataXML_freeElement().

Referenced by xDataXML_freeElement().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void xDataXML_freeElementList ( statusMessageReporting ,
xDataXML_elementList list 
)

Definition at line 706 of file xDataTOM_importXML.cc.

View newest version in sPHENIX GitHub at line 706 of file xDataTOM_importXML.cc

References smr_freeMemory().

Referenced by xDataXML_getOneElementByTagName().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void* xDataXML_get_smrUserInterfaceFromDocument ( xDataXML_document doc)

Definition at line 808 of file xDataTOM_importXML.cc.

View newest version in sPHENIX GitHub at line 808 of file xDataTOM_importXML.cc

References xDataXML_document_s::smrUserInterface.

Referenced by xDataXML_endXMLParsing(), and xDataXML_get_smrUserInterfaceFromElement().

+ Here is the caller graph for this function:

int xDataXML_getAccessed ( statusMessageReporting ,
xDataXML_element element 
)

Definition at line 933 of file xDataTOM_importXML.cc.

View newest version in sPHENIX GitHub at line 933 of file xDataTOM_importXML.cc

References xDataXML_element_s::accessed.

char* xDataXML_getAttributesValue ( xDataXML_attributionList attributes,
char const *  name 
)

Definition at line 486 of file xDataTOM_importXML.cc.

View newest version in sPHENIX GitHub at line 486 of file xDataTOM_importXML.cc

References xDataXML_attributionList_s::attributes, xDataXML_attribute_s::name, xDataXML_attributionList_s::number, and xDataXML_attribute_s::value.

Referenced by xDataXML_getAttributesValueInElement().

+ Here is the caller graph for this function:

char const* xDataXML_getAttributesValueInElement ( xDataXML_element element,
char const *  name 
)

Definition at line 498 of file xDataTOM_importXML.cc.

View newest version in sPHENIX GitHub at line 498 of file xDataTOM_importXML.cc

References xDataXML_element_s::attributes, and xDataXML_getAttributesValue().

Referenced by MCGIDI_map_readFile(), MCGIDI_target_read(), xDataXML_axesToTOM(), xDataXML_constructTOM(), xDataXML_convertAttributeTo_xDataTOM_Int(), xDataXML_convertAttributeToDouble(), xDataXML_KalbachMannToTOM(), xDataXML_regionsW_XYs_LegendreSeries_regionToTOM(), and xDataXML_regionsXYs_regionToTOM().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int xDataXML_getCommonData ( statusMessageReporting smr,
xDataXML_element element,
xDataTOM_Int index,
xDataTOM_Int start,
xDataTOM_Int end,
xDataTOM_Int length 
)

Definition at line 542 of file xDataTOM_importXML.cc.

View newest version in sPHENIX GitHub at line 542 of file xDataTOM_importXML.cc

References xDataXMLType_s::end, xDataXML_element_s::fullName, xDataXMLType_s::ID, xDataXMLType_s::index, xDataXMLType_s::length, smr_setReportError3, xDataXMLType_s::start, xDataTOM_smrLibraryID, xDataXML_element_s::xDataTypeInfo, and xDataXML_get_smrUserInterfaceFromElement().

+ Here is the call graph for this function:

xDataXML_element* xDataXML_getDocumentsElement ( xDataXML_document doc)

Definition at line 413 of file xDataTOM_importXML.cc.

View newest version in sPHENIX GitHub at line 413 of file xDataTOM_importXML.cc

References xDataXML_rootElement_s::children, and xDataXML_document_s::root.

Referenced by MCGIDI_map_readFile(), MCGIDI_target_read(), and xDataXML_importFile().

+ Here is the caller graph for this function:

xDataXML_elementList* xDataXML_getElementsByTagName ( statusMessageReporting smr,
xDataXML_element element,
char const *  tagName 
)

Definition at line 658 of file xDataTOM_importXML.cc.

View newest version in sPHENIX GitHub at line 658 of file xDataTOM_importXML.cc

References xDataXML_elementListItem_s::element, xDataXML_elementList_s::items, n, xDataXML_elementList_s::n, xDataXML_element_s::name, smr_malloc2, xDataXML_elementListItem_s::sortString, xDataXML_getFirstElement(), xDataXML_getNextElement(), and xDataXML_numberOfElementsByTagName().

Referenced by xDataXML_getOneElementByTagName().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

xDataXML_document* xDataXML_getElementsDocument ( xDataXML_element element)

Definition at line 798 of file xDataTOM_importXML.cc.

View newest version in sPHENIX GitHub at line 798 of file xDataTOM_importXML.cc

References xDataXML_rootElement_s::parentRoot, xDataXML_element_s::parentRoot, and xDataXML_rootElement_s::xData_doc.

Referenced by xDataXML_get_smrUserInterfaceFromElement().

+ Here is the caller graph for this function:

char const* xDataXML_getFileName ( xDataXML_document doc)

Definition at line 767 of file xDataTOM_importXML.cc.

View newest version in sPHENIX GitHub at line 767 of file xDataTOM_importXML.cc

References xDataXML_document_s::fileName.

enum xDataXML_itemMode xDataXML_getFirstItem ( xDataXML_element element,
xDataXML_item item 
)

Definition at line 419 of file xDataTOM_importXML.cc.

View newest version in sPHENIX GitHub at line 419 of file xDataTOM_importXML.cc

References xDataXML_item_s::element, xDataXML_text_s::length, xDataXML_item_s::mode, xDataXML_item_s::parentElement, xDataXML_text_s::text, xDataXML_element_s::text, xDataXML_item_s::text, xDataXML_item_s::textLength, xDataXML_element_s::textOffset, xDataXML_item_s::textOffset, xDataXML_getFirstElement(), xDataXML_itemModeElement, xDataXML_itemModeEnd, and xDataXML_itemModeText.

+ Here is the call graph for this function:

xDataXML_element* xDataXML_getOneElementByTagName ( statusMessageReporting smr,
xDataXML_element element,
char *  name,
int  required 
)

Definition at line 684 of file xDataTOM_importXML.cc.

View newest version in sPHENIX GitHub at line 684 of file xDataTOM_importXML.cc

References xDataXML_elementListItem_s::element, xDataXML_element_s::fullName, xDataXML_elementList_s::items, xDataXML_elementList_s::n, smr_setReportError3, xDataTOM_smrLibraryID, xDataXML_freeElementList(), xDataXML_get_smrUserInterfaceFromElement(), and xDataXML_getElementsByTagName().

+ Here is the call graph for this function:

char const* xDataXML_getRealFileName ( xDataXML_document doc)

Definition at line 774 of file xDataTOM_importXML.cc.

View newest version in sPHENIX GitHub at line 774 of file xDataTOM_importXML.cc

References xDataXML_document_s::realFileName.

static char * xDataXML_getTraceback ( statusMessageReporting smr,
xDataXML_element element 
)
static

Definition at line 713 of file xDataTOM_importXML.cc.

View newest version in sPHENIX GitHub at line 713 of file xDataTOM_importXML.cc

References int(), xDataXML_element_s::name, xDataXML_element_s::parentRoot, and xDataXML_getTraceback2().

Referenced by xDataXML_addElementToRoot().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static char * xDataXML_getTraceback2 ( statusMessageReporting smr,
xDataXML_rootElement parentRoot,
int  n 
)
static

Definition at line 731 of file xDataTOM_importXML.cc.

View newest version in sPHENIX GitHub at line 731 of file xDataTOM_importXML.cc

References int(), xDataXML_element_s::name, xDataXML_rootElement_s::parentElement, xDataXML_rootElement_s::parentRoot, and smr_malloc2.

Referenced by xDataXML_getTraceback().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

xDataTOM_TOM* xDataXML_importFile ( statusMessageReporting smr,
char const *  fileName 
)

Definition at line 63 of file xDataTOM_importXML.cc.

View newest version in sPHENIX GitHub at line 63 of file xDataTOM_importXML.cc

References xDataTOM_TOM_s::root, xDataTOM_freeTOM(), xDataTOM_mallocTOM(), xDataTOM_setFileNameTOM(), xDataXML_constructTOM(), xDataXML_freeDoc(), xDataXML_getDocumentsElement(), and xDataXML_importFile2().

Referenced by xDataTOM_importFile().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

xDataXML_document* xDataXML_importFile2 ( statusMessageReporting smr,
char const *  fileName 
)

Definition at line 90 of file xDataTOM_importXML.cc.

View newest version in sPHENIX GitHub at line 90 of file xDataTOM_importXML.cc

References buffer, close(), f, n, Acts::open, xDataXML_document_s::smr, smr_isOk(), smr_setReportError2, xDataTOM_smrLibraryID, xDataXML_endXMLParsing(), xDataXML_errFileError, xDataXML_freeDoc(), xDataXML_mallocDoc(), xDataXML_parse(), and xDataXML_setFileName().

Referenced by MCGIDI_map_readFile(), MCGIDI_target_read(), and xDataXML_importFile().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static int xDataXML_init_xDataTypeNone ( xDataXMLType xDT,
xDataXML_element element 
)
static
void* xDataXML_initializeData ( statusMessageReporting smr,
xDataXML_element XE,
xDataTOM_element TE,
char const *  ID,
size_t  size 
)

Definition at line 1009 of file xDataTOM_importXML.cc.

View newest version in sPHENIX GitHub at line 1009 of file xDataTOM_importXML.cc

References xDataTOM_xDataInfo_s::axes, xDataTOM_xDataInfo_s::data, smr_freeMemory(), xData_initializeData(), xDataTOM_element_s::xDataInfo, and xDataXML_axesElememtToTOM().

Referenced by xDataXML_KalbachMannToTOM(), xDataXML_polynomialToTOM(), xDataXML_regionsW_XYs_LegendreSeriesToTOM(), xDataXML_regionsXYsToTOM(), xDataXML_V_W_XYs_LegendreSeriesToTOM(), xDataXML_V_W_XYsToTOM(), xDataXML_W_XYs_LegendreSeriesToTOM(), and xDataXML_W_XYsToTOM().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void xDataXML_initializeRootElement ( xDataXML_document doc,
xDataXML_rootElement re,
xDataXML_element parentElement,
int  depth 
)
static

Definition at line 286 of file xDataTOM_importXML.cc.

View newest version in sPHENIX GitHub at line 286 of file xDataTOM_importXML.cc

References xDataXML_rootElement_s::children, xDataXML_rootElement_s::currentChild, xDataXML_rootElement_s::depth, xDataXML_rootElement_s::numberOfElements, xDataXML_rootElement_s::parentElement, xDataXML_rootElement_s::parentRoot, xDataXML_element_s::parentRoot, and xDataXML_rootElement_s::xData_doc.

Referenced by xDataXML_addElementToRoot(), and xDataXML_initializeDoc().

+ Here is the caller graph for this function:

int xDataXML_is_xDataType ( statusMessageReporting smr,
xDataXMLType xDT,
char const *const  ID,
int  setMsg 
)

Definition at line 753 of file xDataTOM_importXML.cc.

View newest version in sPHENIX GitHub at line 753 of file xDataTOM_importXML.cc

References xDataXMLType_s::element, xDataXML_element_s::fullName, xDataXMLType_s::ID, smr_setReportError3, xDataTOM_smrLibraryID, and xDataXML_get_smrUserInterfaceFromElement().

+ Here is the call graph for this function:

int xDataXML_isAttributeInElement ( xDataXML_element element,
char const *  name 
)

Definition at line 479 of file xDataTOM_importXML.cc.

View newest version in sPHENIX GitHub at line 479 of file xDataTOM_importXML.cc

References xDataXML_element_s::attributes, and xDataXML_isAttributeInList().

+ Here is the call graph for this function:

int xDataXML_isAttributeInList ( xDataXML_attributionList attributes,
char const *  name 
)

Definition at line 467 of file xDataTOM_importXML.cc.

View newest version in sPHENIX GitHub at line 467 of file xDataTOM_importXML.cc

References xDataXML_attributionList_s::attributes, xDataXML_attribute_s::name, and xDataXML_attributionList_s::number.

Referenced by xDataXML_isAttributeInElement().

+ Here is the caller graph for this function:

static xDataXML_document * xDataXML_mallocDoc ( statusMessageReporting smr)
static

Definition at line 130 of file xDataTOM_importXML.cc.

View newest version in sPHENIX GitHub at line 130 of file xDataTOM_importXML.cc

References smr_malloc2, xDataXML_freeDoc(), and xDataXML_initializeDoc().

Referenced by xDataXML_importFile2().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int xDataXML_numberOfElementsByTagName ( statusMessageReporting ,
xDataXML_element element,
char const *  tagName 
)

Definition at line 647 of file xDataTOM_importXML.cc.

View newest version in sPHENIX GitHub at line 647 of file xDataTOM_importXML.cc

References n, xDataXML_element_s::name, xDataXML_getFirstElement(), and xDataXML_getNextElement().

Referenced by xDataXML_getElementsByTagName(), xDataXML_KalbachMannToTOM(), xDataXML_regionsW_XYs_LegendreSeries_regionToTOM(), xDataXML_regionsW_XYs_LegendreSeriesToTOM(), xDataXML_regionsXYsToTOM(), xDataXML_V_W_XYs_LegendreSeries_W_XYs_LegendreSeriesToTOM(), xDataXML_V_W_XYs_LegendreSeriesToTOM(), xDataXML_V_W_XYsToTOM(), xDataXML_W_XYs_LegendreSeriesToTOM(), and xDataXML_W_XYsDataToTOM().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static int xDataXML_parse ( xDataXML_document doc,
char const *  s 
)
static

Definition at line 228 of file xDataTOM_importXML.cc.

View newest version in sPHENIX GitHub at line 228 of file xDataTOM_importXML.cc

References xDataXML_document_s::status, xDataXML_statusParsing, XML_Parse(), XML_STATUS_ERROR, and xDataXML_document_s::xmlParser.

Referenced by xDataXML_importFile2().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void XMLCALL xDataXML_parseCharacterData ( void userData,
XML_Char const *  s,
int  len 
)
static

Definition at line 257 of file xDataTOM_importXML.cc.

View newest version in sPHENIX GitHub at line 257 of file xDataTOM_importXML.cc

References xDataXML_text_s::allocated, xDataXML_rootElement_s::currentChild, xDataXML_document_s::currentRoot, xDataXML_text_s::length, xDataXML_rootElement_s::parentRoot, xDataXML_document_s::smr, smr_isOk(), smr_realloc2, xDataXML_text_s::text, and xDataXML_element_s::text.

Referenced by xDataXML_initializeDoc().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void XMLCALL xDataXML_parseEndElement ( void userData,
char const *  name 
)
static

Definition at line 247 of file xDataTOM_importXML.cc.

View newest version in sPHENIX GitHub at line 247 of file xDataTOM_importXML.cc

References xDataXML_rootElement_s::currentChild, xDataXML_document_s::currentRoot, and xDataXML_rootElement_s::parentRoot.

Referenced by xDataXML_initializeDoc().

+ Here is the caller graph for this function:

static enum xDataXML_errorCodes xDataXML_parseGetCurrentPosition ( xDataXML_document doc,
xDataXML_docInfo docInfo 
)
static

Definition at line 397 of file xDataTOM_importXML.cc.

View newest version in sPHENIX GitHub at line 397 of file xDataTOM_importXML.cc

References xDataXML_docInfo_s::column, xDataXML_docInfo_s::line, xDataXML_errNone, XML_GetCurrentColumnNumber(), XML_GetCurrentLineNumber(), and xDataXML_document_s::xmlParser.

Referenced by xDataXML_addElementToRoot(), and xDataXML_parseInitializeText().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static int xDataXML_parseInitializeText ( xDataXML_document doc,
xDataXML_text text 
)
static

Definition at line 300 of file xDataTOM_importXML.cc.

View newest version in sPHENIX GitHub at line 300 of file xDataTOM_importXML.cc

References xDataXML_text_s::allocated, xDataXML_text_s::docInfo, xDataXML_text_s::length, xDataXML_text_s::text, and xDataXML_parseGetCurrentPosition().

Referenced by xDataXML_addElementToRoot().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int xDataXML_parseIsError ( xDataXML_document doc)

Definition at line 406 of file xDataTOM_importXML.cc.

View newest version in sPHENIX GitHub at line 406 of file xDataTOM_importXML.cc

References xDataXML_document_s::status, and xDataXML_statusError.

static void XMLCALL xDataXML_parseStartElement ( void userData,
char const *  name,
char const **  attris 
)
static

Definition at line 237 of file xDataTOM_importXML.cc.

View newest version in sPHENIX GitHub at line 237 of file xDataTOM_importXML.cc

References xDataXML_document_s::currentRoot, xDataXML_document_s::smr, smr_isOk(), and xDataXML_addElementToRoot().

Referenced by xDataXML_initializeDoc().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static int xDataXML_setFileName ( statusMessageReporting smr,
xDataXML_document doc,
char const *  fileName 
)
static

Definition at line 781 of file xDataTOM_importXML.cc.

View newest version in sPHENIX GitHub at line 781 of file xDataTOM_importXML.cc

References xDataXML_document_s::fileName, PATH_MAX, xDataXML_document_s::realFileName, smr_allocateCopyString2, and smr_freeMemory().

Referenced by xDataXML_importFile2().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static char const * xDataXML_shortStringForMessage ( size_t  size,
char *  Out,
char const *  In 
)
static

Definition at line 940 of file xDataTOM_importXML.cc.

View newest version in sPHENIX GitHub at line 940 of file xDataTOM_importXML.cc

Referenced by xDataXML_stringTo_double(), and xDataXML_stringTo_xDataTOM_Int().

+ Here is the caller graph for this function:

static char * xDataXML_smrUserInterface ( void userData)
static

Definition at line 841 of file xDataTOM_importXML.cc.

View newest version in sPHENIX GitHub at line 841 of file xDataTOM_importXML.cc

References xDataXML_docInfo_s::column, xDataXML_document_s::currentRoot, xDataXML_smr_s::doc, xDataXML_element_s::docInfo, xDataXML_document_s::fileName, xDataXML_element_s::fullName, xDataXML_docInfo_s::line, xDataXML_rootElement_s::parentElement, and smr_allocateFormatMessage().

Referenced by xDataXML_smrUserInterfaceInitialize().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static int xDataXML_smrUserInterfaceFree ( xDataXML_document doc)
static

Definition at line 832 of file xDataTOM_importXML.cc.

View newest version in sPHENIX GitHub at line 832 of file xDataTOM_importXML.cc

References xDataXML_smr_s::doc, xDataXML_smr_s::smrUserInterface, and xDataXML_document_s::smrUserInterface.

Referenced by xDataXML_freeDoc().

+ Here is the caller graph for this function:

static int xDataXML_smrUserInterfaceInitialize ( xDataXML_document doc)
static

Definition at line 823 of file xDataTOM_importXML.cc.

View newest version in sPHENIX GitHub at line 823 of file xDataTOM_importXML.cc

References xDataXML_smr_s::doc, xDataXML_smr_s::smrUserInterface, xDataXML_document_s::smrUserInterface, and xDataXML_smrUserInterface().

Referenced by xDataXML_initializeDoc().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int xDataXML_stringTo_double ( statusMessageReporting smr,
void smrUserInterface,
char const *  c,
double *  value,
char const *  endings,
char **  e 
)

Definition at line 891 of file xDataTOM_importXML.cc.

View newest version in sPHENIX GitHub at line 891 of file xDataTOM_importXML.cc

References n, smr_setReportError3, tmp, xDataTOM_smrLibraryID, and xDataXML_shortStringForMessage().

Referenced by xDataXML_stringToDoubles().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int xDataXML_stringTo_xDataTOM_Int ( statusMessageReporting smr,
void smrUserInterface,
char const *  c,
xDataTOM_Int value,
char const *  endings,
char **  e 
)

Definition at line 858 of file xDataTOM_importXML.cc.

View newest version in sPHENIX GitHub at line 858 of file xDataTOM_importXML.cc

References n, smr_setReportError3, tmp, xDataTOM_smrLibraryID, and xDataXML_shortStringForMessage().

+ Here is the call graph for this function:

int xDataXML_xDataTypeConvertAttributes ( statusMessageReporting smr,
xDataXML_element element 
)