GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> QCFG / V1-1-3 > qcfg / sun-gcc
#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>
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. |
$Id: QCFG_xml.c,v 1.7 2011/03/29 21:47:53 saxton Exp $
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.
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 |
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 |
References QCFG_create(), QCFG_genTypeMasks(), and QCFG_newRIM().
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.
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 |
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 |
References QCFG_createMap(), and QCFG_newRIMmap().