Geant4  9.6.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions
xData.cc File Reference
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <errno.h>
#include "xData.h"
Include dependency graph for xData.cc:

Go to the source code of this file.

Functions

xData_documentxData_parseReadFile (statusMessageReporting *smr, const char *fileName, xData_xDataTypeOk func, void *userData)
 
xData_documentxData_parseString (statusMessageReporting *smr, const char *str, xData_xDataTypeOk func, void *userData)
 
xData_documentxData_parseMalloc (statusMessageReporting *smr, xData_xDataTypeOk func, void *userData)
 
int xData_parseInitialize (statusMessageReporting *smr, xData_document *doc, xData_xDataTypeOk func, void *userData)
 
int xData_parseEndOfXML (statusMessageReporting *smr, xData_document *doc)
 
voidxData_parseFree (statusMessageReporting *smr, xData_document *doc)
 
int xData_parse (xData_document *doc, const char *s)
 
int xData_parseIsError (xData_document *doc)
 
xData_elementxData_getDocumentsElement (xData_document *doc)
 
xData_elementxData_getFirstElement (xData_element *element)
 
xData_elementxData_getNextElement (xData_element *element)
 
enum xData_itemMode xData_getFirstItem (xData_element *element, xData_item *item)
 
enum xData_itemMode xData_getNextItem (xData_item *item)
 
char * xData_getAttributesValue (xData_attributionList *attributes, const char *name)
 
const char * xData_getAttributesValueInElement (xData_element *element, const char *name)
 
int xData_initializeAttributionList (statusMessageReporting *, xData_attributionList *attributes)
 
int xData_copyAttributionList (statusMessageReporting *smr, xData_attributionList *dest, xData_attributionList *src)
 
int xData_attributeListLength (xData_attributionList *attributes)
 
xData_attributexData_attributeByIndex (xData_attributionList *attributes, int index)
 
int xData_releaseAttributionList (statusMessageReporting *smr, xData_attributionList *attributes)
 
xData_elementxData_getElements_xDataElement (statusMessageReporting *smr, xData_element *element)
 
int xData_getCommonData (statusMessageReporting *smr, xData_element *element, xData_Int *index, xData_Int *start, xData_Int *end, xData_Int *length)
 
int xData_xDataTypeConvertAttributes (statusMessageReporting *smr, xData_element *element)
 
xData_Int xData_convertAttributeTo_xData_Int (statusMessageReporting *smr, xData_element *element, const char *name, xData_Int *n)
 
int xData_convertAttributeToDouble (statusMessageReporting *smr, xData_element *element, const char *name, double *d)
 
int xData_numberOfElementsByTagName (statusMessageReporting *, xData_element *element, const char *tagName)
 
xData_elementListxData_getElementsByTagName (statusMessageReporting *smr, xData_element *element, const char *tagName)
 
xData_elementListxData_getElementsByTagNameAndSort (statusMessageReporting *smr, xData_element *element, const char *tagName, const char *sortAttributeName, xData_sortElementFunc sortFunction)
 
xData_elementxData_getOneElementByTagName (statusMessageReporting *smr, xData_element *element, char *name, int required)
 
void xData_freeElementList (statusMessageReporting *smr, xData_elementList *list)
 
int xData_is_xDataType (statusMessageReporting *smr, xDataType *xDT, char const *const type, int setMsg)
 
char constxData_getFileName (xData_document *doc)
 
int xData_setFileName (statusMessageReporting *smr, xData_document *doc, char const *fileName)
 
xData_documentxData_getElementsDocument (xData_element *element)
 
voidxData_get_smrUserInterfaceFromDocument (xData_document *doc)
 
voidxData_get_smrUserInterfaceFromElement (xData_element *element)
 
int xData_stringTo_xData_Int (statusMessageReporting *smr, void *smrUserInterface, char const *c, xData_Int *value, char const *endings, char **e)
 
int xData_stringTo_double (statusMessageReporting *smr, void *smrUserInterface, char const *c, double *value, char const *endings, char **e)
 
int xData_addToAccessed (statusMessageReporting *, xData_element *element, int increment)
 
int xData_getAccessed (statusMessageReporting *, xData_element *element)
 

Function Documentation

int xData_addToAccessed ( statusMessageReporting ,
xData_element element,
int  increment 
)

Definition at line 1078 of file xData.cc.

Here is the caller graph for this function:

xData_attribute* xData_attributeByIndex ( xData_attributionList attributes,
int  index 
)

Definition at line 603 of file xData.cc.

int xData_attributeListLength ( xData_attributionList attributes)

Definition at line 596 of file xData.cc.

xData_Int xData_convertAttributeTo_xData_Int ( statusMessageReporting smr,
xData_element element,
const char *  name,
xData_Int n 
)

Definition at line 710 of file xData.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

int xData_convertAttributeToDouble ( statusMessageReporting smr,
xData_element element,
const char *  name,
double *  d 
)

Definition at line 730 of file xData.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

int xData_copyAttributionList ( statusMessageReporting smr,
xData_attributionList dest,
xData_attributionList src 
)

Definition at line 564 of file xData.cc.

Here is the caller graph for this function:

void xData_freeElementList ( statusMessageReporting smr,
xData_elementList list 
)

Definition at line 832 of file xData.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

void* xData_get_smrUserInterfaceFromDocument ( xData_document doc)

Definition at line 944 of file xData.cc.

Here is the caller graph for this function:

void* xData_get_smrUserInterfaceFromElement ( xData_element element)

Definition at line 952 of file xData.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

int xData_getAccessed ( statusMessageReporting ,
xData_element element 
)

Definition at line 1087 of file xData.cc.

char* xData_getAttributesValue ( xData_attributionList attributes,
const char *  name 
)

Definition at line 530 of file xData.cc.

Here is the caller graph for this function:

const char* xData_getAttributesValueInElement ( xData_element element,
const char *  name 
)

Definition at line 546 of file xData.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

int xData_getCommonData ( statusMessageReporting smr,
xData_element element,
xData_Int index,
xData_Int start,
xData_Int end,
xData_Int length 
)

Definition at line 652 of file xData.cc.

Here is the call graph for this function:

xData_element* xData_getDocumentsElement ( xData_document doc)

Definition at line 476 of file xData.cc.

Here is the caller graph for this function:

xData_element* xData_getElements_xDataElement ( statusMessageReporting smr,
xData_element element 
)

Definition at line 622 of file xData.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

xData_elementList* xData_getElementsByTagName ( statusMessageReporting smr,
xData_element element,
const char *  tagName 
)

Definition at line 761 of file xData.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

xData_elementList* xData_getElementsByTagNameAndSort ( statusMessageReporting smr,
xData_element element,
const char *  tagName,
const char *  sortAttributeName,
xData_sortElementFunc  sortFunction 
)

Definition at line 788 of file xData.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

xData_document* xData_getElementsDocument ( xData_element element)

Definition at line 934 of file xData.cc.

Here is the caller graph for this function:

char const* xData_getFileName ( xData_document doc)

Definition at line 914 of file xData.cc.

xData_element* xData_getFirstElement ( xData_element element)

Definition at line 477 of file xData.cc.

Here is the caller graph for this function:

enum xData_itemMode xData_getFirstItem ( xData_element element,
xData_item item 
)

Definition at line 482 of file xData.cc.

Here is the call graph for this function:

xData_element* xData_getNextElement ( xData_element element)

Definition at line 478 of file xData.cc.

Here is the caller graph for this function:

enum xData_itemMode xData_getNextItem ( xData_item item)

Definition at line 502 of file xData.cc.

xData_element* xData_getOneElementByTagName ( statusMessageReporting smr,
xData_element element,
char *  name,
int  required 
)

Definition at line 810 of file xData.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

int xData_initializeAttributionList ( statusMessageReporting ,
xData_attributionList attributes 
)

Definition at line 554 of file xData.cc.

int xData_is_xDataType ( statusMessageReporting smr,
xDataType xDT,
char const *const  type,
int  setMsg 
)

Definition at line 900 of file xData.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

int xData_numberOfElementsByTagName ( statusMessageReporting ,
xData_element element,
const char *  tagName 
)

Definition at line 750 of file xData.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

int xData_parse ( xData_document doc,
const char *  s 
)

Definition at line 251 of file xData.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

int xData_parseEndOfXML ( statusMessageReporting smr,
xData_document doc 
)

Definition at line 187 of file xData.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

void* xData_parseFree ( statusMessageReporting smr,
xData_document doc 
)

Definition at line 208 of file xData.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

int xData_parseInitialize ( statusMessageReporting smr,
xData_document doc,
xData_xDataTypeOk  func,
void userData 
)

Definition at line 157 of file xData.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

int xData_parseIsError ( xData_document doc)

Definition at line 469 of file xData.cc.

xData_document* xData_parseMalloc ( statusMessageReporting smr,
xData_xDataTypeOk  func,
void userData 
)

Definition at line 141 of file xData.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

xData_document* xData_parseReadFile ( statusMessageReporting smr,
const char *  fileName,
xData_xDataTypeOk  func,
void userData 
)

Definition at line 84 of file xData.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

xData_document* xData_parseString ( statusMessageReporting smr,
const char *  str,
xData_xDataTypeOk  func,
void userData 
)

Definition at line 123 of file xData.cc.

Here is the call graph for this function:

int xData_releaseAttributionList ( statusMessageReporting smr,
xData_attributionList attributes 
)

Definition at line 611 of file xData.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

int xData_setFileName ( statusMessageReporting smr,
xData_document doc,
char const fileName 
)

Definition at line 921 of file xData.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 1044 of file xData.cc.

Here is the call graph for this function:

int xData_stringTo_xData_Int ( statusMessageReporting smr,
void smrUserInterface,
char const c,
xData_Int value,
char const endings,
char **  e 
)

Definition at line 1010 of file xData.cc.

Here is the call graph for this function:

int xData_xDataTypeConvertAttributes ( statusMessageReporting smr,
xData_element element 
)

Definition at line 668 of file xData.cc.

Here is the call graph for this function:

Here is the caller graph for this function: