14 #ifndef OSGLPARSERDATA_H
15 #define OSGLPARSERDATA_H
bool targetMatrixFirstColPresent
bool targetMatrixFirstRowPresent
std::string matrixVarType
bool matrixConTypePresent
OSMatrixWithMatrixVarIdx ** matrixWithMatrixVarIdx
There are also other variants of these ...
std::vector< MatrixNode * > mtxBlocksVec
int matrixCounter
We also need to keep track locally of the number of matrices.
bool numberOfMatrixVarPresent
int * osglIntArray
data structure to process an IntVector and hold the data temporarily
bool numberOfItemsPresent
std::vector< int > nBlocksVec
bool numberOfObjectivesPresent
bool numberOfConstraintsPresent
a generic class from which we derive matrix constructors (BaseMatrix, MatrixElements, MatrixTransformation and MatrixBlocks) as well as matrix types (OSMatrix and MatrixBlock).
OSMatrixWithMatrixConIdx ** matrixWithMatrixConIdx
bool numberOfMatricesPresent
int * matrixVarIndexes
In order to use synergies in the parser, we store matrixXXXIdx in a separate vector.
this class extends OSMatrix for use, e.g., in the matrixVar section of OSoL and OSrL ...
std::string parser_errors
used to accumulate error message so the parser does not die on the first error encountered ...
void osgl_empty_vectors(OSgLParserData *osglData)
OSMatrix ** matrix
We need to hold an array of <matrix> elements temporarily.
bool numberOfVarIdxPresent
bool scalarMultiplierPresent
bool numberOfMatrixObjPresent
OSgLParserData * osglData
bool suppressFurtherErrorMessages
bool baseMatrixStartRowPresent
bool numberOfEnumerationsPresent
OSgLParserData()
the OSgLParserData class constructor
bool matrixVarTypePresent
bool numberOfBlocksPresent
Data elements for parsing number-valued attributes and elements.
std::vector< int * > rowOffsets
Vectors to hold rowOffset and colOffset arrays in a place where they are easily accessible while the ...
std::vector< int * > colOffsets
MatrixNode * tempC
This matrix constructor is needed in order to properly push the constructor vector.
this class extends OSMatrix for use, e.g., in the matrixCon section of OSoL and OSrL ...
std::vector< MatrixNode * > mtxConstructorVec
Several vectors to process the matrix nodes into the right order.
bool numberOfColumnsPresent
bool baseTransposePresent
Data elements for parsing string-valued attributes and text elements.
std::vector< MatrixNode * > mtxBlkVec
bool numberOfObjIdxPresent
bool baseMatrixIdxPresent
bool numberOfVariablesPresent
OSMatrixWithMatrixObjIdx ** matrixWithMatrixObjIdx
void * scanner
scanner is used to store data in a reentrant lexer we use this to pass an OSgLParserData object to th...
bool ignoreDataAfterErrors
two booleans to govern the behavior after an error has been encountered
std::string fileName
data structure to process a GeneralFileHeader and hold the data temporarily
bool baseMatrixEndColPresent
bool baseMatrixEndRowPresent
int nonzeroCounter
Linear matrices need a counter to count the number of terms within each element.
bool numberOfMatrixConPresent
std::string matrixObjType
bool baseMatrixStartColPresent
bool matrixObjTypePresent
char * errorText
if the parser finds invalid text it is held here and we delete if the file was not valid ...
this class extends OSMatrix for use, e.g., in the matrixObj section of OSoL and OSrL ...
bool numberOfValuesPresent
std::string matrixConType
The OSgLParserData Class.
a data structure to represent a matrix object (derived from MatrixType)
bool numberOfConIdxPresent