GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > QCFG / V1-1-0

Constituent: qcfg     Tag: sun-gcc


Interface   Data Structures   File List   Data Fields   Globals  

QCFG_xml.c File Reference

XML parser for the QCFG package. More...

#include "QCFG_p.h"
#include "QCFG/QCFG.h"
#include "QCFG/QCFG_msgs.h"
#include "RIM/RIM_ground.h"
#include "MSG/MSG_pubdefs.h"
#include "PBS/MBA.h"

Include dependency graph for QCFG_xml.c:


Functions

unsigned QCFG_parse (const char *const *filelist, int nFile, const char *stub, unsigned int fMask, int verb)
 Parse a set of XML files and create the binary configuration files.
unsigned QCFG_parseMap (const char *const *filelist, int nFile, const char *outname, int verb)
 Read XML describing a map of the LAT components and create the equivalent binary file.

Detailed Description

XML parser for the QCFG package.

Author:
James Swain & Owen Saxton
Id
QCFG_xml.c,v 1.5 2008/12/16 21:36:40 saxton Exp

Function Documentation

unsigned QCFG_parse const char *const *  filelist,
int  nFile,
const char *  stub,
unsigned int  fMask,
int  verb
 

Parse a set of XML files and create the binary configuration files.

Parameters:
filelist List of strings containing the names of XML files to parse
nFile Number of XML files to parse
stub Filename stub to use a basis for output filenames
fMask Bit mask of the components for which to create output files
verb 1 for verbose, 0 for quiet
Return values:
QCFG_SUCCESS If all goes well
QCFG_BADALLOC If there is an error allocating memory
QCFG_BADWRITE if one of the file write operations failed
QCFG_BADOPEN if the file fails to open
QCFG_BADCLOSE if the file close failed
QCFG_XMLPARSE if there is an error parsing the XML

unsigned QCFG_parseMap const char *const *  filelist,
int  nFile,
const char *  outname,
int  verb
 

Read XML describing a map of the LAT components and create the equivalent binary file.

Parameters:
filelist List of strings containing the names of XML files to parse
nFile Number of XML files to parse
outname Name of the output file
verb 1 for verbose, 0 for quiet
Return values:
QCFG_SUCCESS if all goes well
QCFG_BADALLOC If there is an error allocating memory
QCFG_BADWRITE if writing to the file failed
QCFG_BADOPEN if the file fails to open
QCFG_BADCLOSE if the file close failed
QCFG_XMLPARSE if there is an error parsing the XML


Generated on Wed Dec 17 01:33:57 2008 by  doxygen 1.4.4