GLAST/LAT >
DAQ and FSW >
FSW >
Doxygen Index >
QCFG / V1-0-4
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_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 (char **filelist, unsigned filecount, char *stub, unsigned filter, unsigned verb) |
| Parse a set of XML files and spit out the binary configuration files.
|
unsigned | QCFG_parseMap (char **filelist, unsigned filecount, char *outname, unsigned 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.2 2007/11/12 20:21:51 saxton Exp
Function Documentation
unsigned QCFG_parse |
( |
char ** |
filelist, |
|
|
unsigned |
filecount, |
|
|
char * |
stub, |
|
|
unsigned |
filter, |
|
|
unsigned |
verb |
|
) |
|
|
|
Parse a set of XML files and spit out the binary configuration files.
- Parameters:
-
| filelist | List of strings containing the names of XML files to parse |
| filecount | Number of XML files to parse |
| stub | Filename stub to use a basis for output filenames |
| filter | Bit mask of the components to create output files for |
| 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 |
( |
char ** |
filelist, |
|
|
unsigned |
filecount, |
|
|
char * |
outname, |
|
|
unsigned |
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 |
| filecount | 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 Sat Dec 22 03:17:48 2007 by
1.4.4