LWPR_ParserData Struct Reference

Data structure used for parsing an LWPR model from an XML file. More...

#include <lwpr_xml.h>

Data Fields

int level
 Parser level: 0 = global, 1 = Model, 2 = SubModel, 3 = ReceptiveField.
int numSub
 Number of SubModels.
int curSubNumRF
 Number of ReceptiveFields in current SubModel.
int curSub
 Currently parsed SubModel.
int curRF
 Currently parsed ReceptiveField.
int curType
 Expected data type: 0 = struct, 1 = int, 2 = scalar, 3 = vector, 4 = matrix.
void * curPtr
 Pointer to the data element that has to be filled.
int M
 Number of rows of current data element.
int MS
 Offset between columns of current data element.
int N
 Number of columns of current data element.
int readM
 Number of already read rows of current data element.
int readN
 Number of already read columns of current data element.
int numErrors
 Number of errors encountered during parsing.
int numWarnings
 Number of warnings encountered during parsing.
FILE * errFile
 stdio-file to write errors and warnings to, must be open. If this is NULL, errors and warnings are not reported.
LWPR_Modelmodel
 Pointer to the LWPR_Model structure that is to be filled.

Detailed Description

Data structure used for parsing an LWPR model from an XML file.


The documentation for this struct was generated from the following file:
Generated on Thu Feb 9 08:18:36 2012 for LWPR Library by  doxygen 1.6.3