xDataExtras.cc File Reference

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "xData.h"

Go to the source code of this file.

Data Structures

struct  xmlTextStruct_s

Typedefs

typedef xmlTextStruct_s xmlTextStruct

Functions

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


Typedef Documentation

typedef struct xmlTextStruct_s xmlTextStruct


Function Documentation

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

Definition at line 142 of file xDataExtras.cc.

00142                                                                              {
00143 
00144     xData_parseOutlinePrintRoot( f, &(xData_doc->root), outputText );
00145     return( 0 );
00146 }

char* xData_parseReconstructXML ( xData_document *  xData_doc  ) 

Definition at line 59 of file xDataExtras.cc.

References xmlTextStruct_s::text.

00059                                                              {
00060 
00061     int err;
00062     xmlTextStruct XML = { 0, 0, NULL };
00063 
00064     err = xData_parseReconstructXML2( &(xData_doc->root), &XML, NULL, 0 );
00065     //if( err == 0 ) addStringToXML( &XML, "\n", -1 );
00066     if( err == 0 ) addStringToXML( &XML, (char*) "\n", -1 );
00067     return( XML.text );
00068 }


Generated on Mon May 27 17:51:17 2013 for Geant4 by  doxygen 1.4.7