Geant4  10.00.p03
xDataExtras.cc File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "xData.h"
+ Include dependency graph for xDataExtras.cc:

Go to the source code of this file.

Classes

struct  xmlTextStruct_s
 

Typedefs

typedef struct xmlTextStruct_s xmlTextStruct
 

Functions

static int xData_parseReconstructXML2 (xData_rootElement *root, xmlTextStruct *XML, char *text, long textLength)
 
static int addStringToXML (xmlTextStruct *XML, char *s, long len)
 
static void xData_parseOutlinePrintRoot (FILE *f, xData_rootElement *root, int outputText)
 
char * xData_parseReconstructXML (xData_document *xData_doc)
 
int xData_parseOutline (FILE *f, xData_document *xData_doc, int outputText)
 

Typedef Documentation

Function Documentation

static int addStringToXML ( xmlTextStruct XML,
char *  s,
long  len 
)
static

Definition at line 111 of file xDataExtras.cc.

References xmlTextStruct_s::allocated, xmlTextStruct_s::length, realloc(), and xmlTextStruct_s::text.

Referenced by xData_parseReconstructXML(), and xData_parseReconstructXML2().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int xData_parseOutline ( FILE *  f,
xData_document *  xData_doc,
int  outputText 
)

Definition at line 142 of file xDataExtras.cc.

References xData_parseOutlinePrintRoot().

+ Here is the call graph for this function:

static void xData_parseOutlinePrintRoot ( FILE *  f,
xData_rootElement *  root,
int  outputText 
)
static

Definition at line 150 of file xDataExtras.cc.

Referenced by xData_parseOutline().

+ Here is the caller graph for this function:

char* xData_parseReconstructXML ( xData_document *  xData_doc)

Definition at line 59 of file xDataExtras.cc.

References addStringToXML(), xmlTextStruct_s::text, and xData_parseReconstructXML2().

+ Here is the call graph for this function:

static int xData_parseReconstructXML2 ( xData_rootElement *  root,
xmlTextStruct XML,
char *  text,
long  textLength 
)
static

Definition at line 72 of file xDataExtras.cc.

References addStringToXML(), and xmlTextStruct_s::text.

Referenced by xData_parseReconstructXML().

+ Here is the call graph for this function:

+ Here is the caller graph for this function: