14 #ifndef OSGLPARSERDATA_H
15 #define OSGLPARSERDATA_H
bool suppressFurtherErrorMessages
bool baseMatrixStartColPresent
char * errorText
if the parser finds invalid text it is held here and we delete if the file was not valid ...
bool baseMatrixIdxPresent
bool baseMatrixEndRowPresent
bool numberOfColumnsPresent
int * matrixBlockNumberOfCols
int * matrixBlockNumberOfRows
void osgl_empty_vectors(OSgLParserData *osglData)
MatrixNode * tempC
This matrix constructor is needed in order to properly push the constructor vector.
bool numberOfVarIdxPresent
bool baseTransposePresent
bool targetMatrixFirstRowPresent
std::vector< MatrixNode * > mtxConstructorVec
Several vectors to process the matrix nodes into the right order.
bool ignoreDataAfterErrors
two booleans to govern the behavior after an error has been encountered
bool targetMatrixFirstColPresent
OSMatrix ** matrix
We need to hold an array of elements temporarily.
std::vector< int * > colOffsets
a generic class from which we derive matrix constructors (BaseMatrix, MatrixElements, MatrixTransformation and MatrixBlocks) as well as matrix types (OSMatrix and MatrixBlock).
bool scalarMultiplierPresent
OSgLParserData()
the OSgLParserData class constructor
bool baseMatrixEndColPresent
bool numberOfValuesPresent
The OSgLParserData Class.
std::string parser_errors
used to accumulate error message so the parser does not die on the first error encountered ...
std::string fileName
data structure to process a GeneralFileHeader and hold the data temporarily
std::string symmetry
other data structures to temporarily hold a matrix and its subordinate elements
void * scanner
scanner is used to store data in a reentrant lexer we use this to pass an OSoLParserData object to th...
std::vector< MatrixNode * > mtxBlocksVec
std::vector< MatrixNode * > mtxBlkVec
a data structure to represent a matrix object (derived from MatrixType)
bool osglNumberOfElPresent
bool numberOfBlocksPresent
bool osglMultPresent
data structure to process an IntVector and hold the data temporarily
int numberOfMatrices
We also need to keep track locally of the number of matrices.
bool baseMatrixStartRowPresent
std::vector< int * > rowOffsets
Vectors to hold rowOffset and colOffset arrays in a place where they are easily accessible while the ...