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
OSMatrixWithMatrixConIdx ** matrixWithMatrixConIdx
bool baseMatrixEndRowPresent
bool numberOfColumnsPresent
bool numberOfObjectivesPresent
bool numberOfMatricesPresent
bool numberOfMatrixObjPresent
bool matrixConTypePresent
int matrixCounter
We also need to keep track locally of the number of matrices.
void osgl_empty_vectors(OSgLParserData *osglData)
std::string matrixVarType
bool matrixVarTypePresent
MatrixNode * tempC
This matrix constructor is needed in order to properly push the constructor vector.
bool numberOfConIdxPresent
int * osglIntArray
data structure to process an IntVector and hold the data temporarily
bool numberOfVariablesPresent
int nonzeroCounter
Linear matrices need a counter to count the number of terms within each element.
bool numberOfMatrixConPresent
this class extends OSMatrix for use, e.g., in the matrixObj section of OSoL and OSrL ...
this class extends OSMatrix for use, e.g., in the matrixVar section of OSoL and OSrL ...
std::string matrixObjType
bool numberOfVarIdxPresent
bool baseTransposePresent
Data elements for parsing string-valued attributes and text elements.
bool matrixObjTypePresent
bool targetMatrixFirstRowPresent
bool numberOfMatrixVarPresent
bool numberOfItemsPresent
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
this class extends OSMatrix for use, e.g., in the matrixCon section of OSoL and OSrL ...
bool targetMatrixFirstColPresent
int * matrixVarIndexes
In order to use synergies in the parser, we store matrixXXXIdx in a separate vector.
OSMatrix ** matrix
We need to hold an array of <matrix> 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).
OSMatrixWithMatrixVarIdx ** matrixWithMatrixVarIdx
There are also other variants of these ...
bool scalarMultiplierPresent
bool numberOfObjIdxPresent
OSgLParserData()
the OSgLParserData class constructor
bool numberOfConstraintsPresent
OSMatrixWithMatrixObjIdx ** matrixWithMatrixObjIdx
bool baseMatrixEndColPresent
std::vector< int > nBlocksVec
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
void * scanner
scanner is used to store data in a reentrant lexer we use this to pass an OSgLParserData object to th...
std::vector< MatrixNode * > mtxBlocksVec
std::vector< MatrixNode * > mtxBlkVec
a data structure to represent a matrix object (derived from MatrixType)
std::string matrixConType
bool numberOfBlocksPresent
Data elements for parsing number-valued attributes and elements.
bool baseMatrixStartRowPresent
std::vector< int * > rowOffsets
Vectors to hold rowOffset and colOffset arrays in a place where they are easily accessible while the ...
bool numberOfEnumerationsPresent