OS  2.9.3
Public Member Functions | Public Attributes | List of all members
OSgLParserData Class Reference

The OSgLParserData Class. More...

#include <OSgLParserData.h>

+ Collaboration diagram for OSgLParserData:

Public Member Functions

 OSgLParserData ()
 the OSgLParserData class constructor More...
 
 ~OSgLParserData ()
 

Public Attributes

bool osglMultPresent
 data structure to process an IntVector and hold the data temporarily More...
 
bool osglIncrPresent
 
bool osglNumberOfElPresent
 
int osglNumberOfEl
 
int * osglIntArray
 
int osglMult
 
int osglIncr
 
int osglSize
 
int osglCounter
 
int osglTempint
 
double * osglDblArray
 
int * osglValArray
 
std::string fileName
 data structure to process a GeneralFileHeader and hold the data temporarily More...
 
std::string source
 
std::string description
 
std::string fileCreator
 
std::string licence
 
bool fileNamePresent
 
bool sourcePresent
 
bool descriptionPresent
 
bool fileCreatorPresent
 
bool licencePresent
 
void * scanner
 scanner is used to store data in a reentrant lexer we use this to pass an OSoLParserData object to the parser More...
 
char * errorText
 if the parser finds invalid text it is held here and we delete if the file was not valid More...
 
std::string parser_errors
 used to accumulate error message so the parser does not die on the first error encountered More...
 
bool ignoreDataAfterErrors
 two booleans to govern the behavior after an error has been encountered More...
 
bool suppressFurtherErrorMessages
 
OSMatrix ** matrix
 We need to hold an array of <matrix> elements temporarily. More...
 
int numberOfMatrices
 We also need to keep track locally of the number of matrices. More...
 
int matrixCounter
 
MatrixNodetempC
 This matrix constructor is needed in order to properly push the constructor vector. More...
 
std::vector< MatrixNode * > mtxConstructorVec
 Several vectors to process the matrix nodes into the right order. More...
 
std::vector< MatrixNode * > mtxBlocksVec
 
std::vector< MatrixNode * > mtxBlkVec
 
std::vector< int * > rowOffsets
 Vectors to hold rowOffset and colOffset arrays in a place where they are easily accessible while the <block> children are processed. More...
 
std::vector< int * > colOffsets
 
std::string symmetry
 other data structures to temporarily hold a matrix and its subordinate elements More...
 
bool symmetryPresent
 
std::string name
 
std::string type
 
int idx
 
bool namePresent
 
bool typePresent
 
bool idxPresent
 
int numberOfBlocks
 
int numberOfColumns
 
int numberOfRows
 
int baseMatrixIdx
 
int targetMatrixFirstRow
 
int targetMatrixFirstCol
 
int baseMatrixStartRow
 
int baseMatrixStartCol
 
int baseMatrixEndRow
 
int baseMatrixEndCol
 
bool baseTranspose
 
double scalarMultiplier
 
bool baseMatrixIdxPresent
 
bool targetMatrixFirstRowPresent
 
bool targetMatrixFirstColPresent
 
bool baseMatrixStartRowPresent
 
bool baseMatrixStartColPresent
 
bool baseMatrixEndRowPresent
 
bool baseMatrixEndColPresent
 
bool baseTransposePresent
 
bool scalarMultiplierPresent
 
bool rowMajorPresent
 
bool rowMajor
 
int blockRowIdx
 
bool blockRowIdxPresent
 
int blockColIdx
 
bool blockColIdxPresent
 
bool osglConstantPresent
 
bool osglCoefPresent
 
double osglCoef
 
bool numberOfBlocksPresent
 
bool numberOfColumnsPresent
 
bool numberOfRowsPresent
 
bool numberOfValuesPresent
 
int numberOfValues
 
bool numberOfVarIdxPresent
 
int numberOfVarIdx
 
bool numberOfElPresent
 
int numberOfEl
 
int osglNumberOfNonzeros
 
int osglNonzeroCounter
 
int * matrixBlockNumberOfRows
 
int * matrixBlockNumberOfCols
 
ENUM_NL_EXPR_SHAPE shape
 
bool shapePresent
 

Detailed Description

The OSgLParserData Class.

Remarks
the OSgLParserData class is used to temporarily hold data found in parsing the OSgL data structures. we do this so we can write reusable code.

Definition at line 33 of file OSgLParserData.h.

Constructor & Destructor Documentation

OSgLParserData::OSgLParserData ( )

the OSgLParserData class constructor

OSgLParserData::~OSgLParserData ( )

Member Data Documentation

bool OSgLParserData::osglMultPresent

data structure to process an IntVector and hold the data temporarily

Definition at line 38 of file OSgLParserData.h.

bool OSgLParserData::osglIncrPresent

Definition at line 39 of file OSgLParserData.h.

bool OSgLParserData::osglNumberOfElPresent

Definition at line 40 of file OSgLParserData.h.

int OSgLParserData::osglNumberOfEl

Definition at line 41 of file OSgLParserData.h.

int* OSgLParserData::osglIntArray

Definition at line 42 of file OSgLParserData.h.

int OSgLParserData::osglMult

Definition at line 43 of file OSgLParserData.h.

int OSgLParserData::osglIncr

Definition at line 44 of file OSgLParserData.h.

int OSgLParserData::osglSize

Definition at line 45 of file OSgLParserData.h.

int OSgLParserData::osglCounter

Definition at line 46 of file OSgLParserData.h.

int OSgLParserData::osglTempint

Definition at line 47 of file OSgLParserData.h.

double* OSgLParserData::osglDblArray

Definition at line 49 of file OSgLParserData.h.

int* OSgLParserData::osglValArray

Definition at line 50 of file OSgLParserData.h.

std::string OSgLParserData::fileName

data structure to process a GeneralFileHeader and hold the data temporarily

Definition at line 53 of file OSgLParserData.h.

std::string OSgLParserData::source

Definition at line 54 of file OSgLParserData.h.

std::string OSgLParserData::description

Definition at line 55 of file OSgLParserData.h.

std::string OSgLParserData::fileCreator

Definition at line 56 of file OSgLParserData.h.

std::string OSgLParserData::licence

Definition at line 57 of file OSgLParserData.h.

bool OSgLParserData::fileNamePresent

Definition at line 58 of file OSgLParserData.h.

bool OSgLParserData::sourcePresent

Definition at line 59 of file OSgLParserData.h.

bool OSgLParserData::descriptionPresent

Definition at line 60 of file OSgLParserData.h.

bool OSgLParserData::fileCreatorPresent

Definition at line 61 of file OSgLParserData.h.

bool OSgLParserData::licencePresent

Definition at line 62 of file OSgLParserData.h.

void* OSgLParserData::scanner

scanner is used to store data in a reentrant lexer we use this to pass an OSoLParserData object to the parser

Definition at line 74 of file OSgLParserData.h.

char* OSgLParserData::errorText

if the parser finds invalid text it is held here and we delete if the file was not valid

Definition at line 79 of file OSgLParserData.h.

std::string OSgLParserData::parser_errors

used to accumulate error message so the parser does not die on the first error encountered

Definition at line 84 of file OSgLParserData.h.

bool OSgLParserData::ignoreDataAfterErrors

two booleans to govern the behavior after an error has been encountered

Definition at line 87 of file OSgLParserData.h.

bool OSgLParserData::suppressFurtherErrorMessages

Definition at line 88 of file OSgLParserData.h.

OSMatrix** OSgLParserData::matrix

We need to hold an array of <matrix> elements temporarily.

Definition at line 91 of file OSgLParserData.h.

int OSgLParserData::numberOfMatrices

We also need to keep track locally of the number of matrices.

Definition at line 94 of file OSgLParserData.h.

int OSgLParserData::matrixCounter

Definition at line 95 of file OSgLParserData.h.

MatrixNode* OSgLParserData::tempC

This matrix constructor is needed in order to properly push the constructor vector.

Definition at line 98 of file OSgLParserData.h.

std::vector<MatrixNode*> OSgLParserData::mtxConstructorVec

Several vectors to process the matrix nodes into the right order.

Definition at line 101 of file OSgLParserData.h.

std::vector<MatrixNode*> OSgLParserData::mtxBlocksVec

Definition at line 102 of file OSgLParserData.h.

std::vector<MatrixNode*> OSgLParserData::mtxBlkVec

Definition at line 103 of file OSgLParserData.h.

std::vector<int*> OSgLParserData::rowOffsets

Vectors to hold rowOffset and colOffset arrays in a place where they are easily accessible while the <block> children are processed.

Definition at line 109 of file OSgLParserData.h.

std::vector<int*> OSgLParserData::colOffsets

Definition at line 110 of file OSgLParserData.h.

std::string OSgLParserData::symmetry

other data structures to temporarily hold a matrix and its subordinate elements

Definition at line 113 of file OSgLParserData.h.

bool OSgLParserData::symmetryPresent

Definition at line 114 of file OSgLParserData.h.

std::string OSgLParserData::name

Definition at line 115 of file OSgLParserData.h.

std::string OSgLParserData::type

Definition at line 116 of file OSgLParserData.h.

int OSgLParserData::idx

Definition at line 117 of file OSgLParserData.h.

bool OSgLParserData::namePresent

Definition at line 118 of file OSgLParserData.h.

bool OSgLParserData::typePresent

Definition at line 119 of file OSgLParserData.h.

bool OSgLParserData::idxPresent

Definition at line 120 of file OSgLParserData.h.

int OSgLParserData::numberOfBlocks

Definition at line 121 of file OSgLParserData.h.

int OSgLParserData::numberOfColumns

Definition at line 122 of file OSgLParserData.h.

int OSgLParserData::numberOfRows

Definition at line 123 of file OSgLParserData.h.

int OSgLParserData::baseMatrixIdx

Definition at line 124 of file OSgLParserData.h.

int OSgLParserData::targetMatrixFirstRow

Definition at line 125 of file OSgLParserData.h.

int OSgLParserData::targetMatrixFirstCol

Definition at line 126 of file OSgLParserData.h.

int OSgLParserData::baseMatrixStartRow

Definition at line 127 of file OSgLParserData.h.

int OSgLParserData::baseMatrixStartCol

Definition at line 128 of file OSgLParserData.h.

int OSgLParserData::baseMatrixEndRow

Definition at line 129 of file OSgLParserData.h.

int OSgLParserData::baseMatrixEndCol

Definition at line 130 of file OSgLParserData.h.

bool OSgLParserData::baseTranspose

Definition at line 131 of file OSgLParserData.h.

double OSgLParserData::scalarMultiplier

Definition at line 132 of file OSgLParserData.h.

bool OSgLParserData::baseMatrixIdxPresent

Definition at line 133 of file OSgLParserData.h.

bool OSgLParserData::targetMatrixFirstRowPresent

Definition at line 134 of file OSgLParserData.h.

bool OSgLParserData::targetMatrixFirstColPresent

Definition at line 135 of file OSgLParserData.h.

bool OSgLParserData::baseMatrixStartRowPresent

Definition at line 136 of file OSgLParserData.h.

bool OSgLParserData::baseMatrixStartColPresent

Definition at line 137 of file OSgLParserData.h.

bool OSgLParserData::baseMatrixEndRowPresent

Definition at line 138 of file OSgLParserData.h.

bool OSgLParserData::baseMatrixEndColPresent

Definition at line 139 of file OSgLParserData.h.

bool OSgLParserData::baseTransposePresent

Definition at line 140 of file OSgLParserData.h.

bool OSgLParserData::scalarMultiplierPresent

Definition at line 141 of file OSgLParserData.h.

bool OSgLParserData::rowMajorPresent

Definition at line 142 of file OSgLParserData.h.

bool OSgLParserData::rowMajor

Definition at line 143 of file OSgLParserData.h.

int OSgLParserData::blockRowIdx

Definition at line 144 of file OSgLParserData.h.

bool OSgLParserData::blockRowIdxPresent

Definition at line 145 of file OSgLParserData.h.

int OSgLParserData::blockColIdx

Definition at line 146 of file OSgLParserData.h.

bool OSgLParserData::blockColIdxPresent

Definition at line 147 of file OSgLParserData.h.

bool OSgLParserData::osglConstantPresent

Definition at line 148 of file OSgLParserData.h.

bool OSgLParserData::osglCoefPresent

Definition at line 149 of file OSgLParserData.h.

double OSgLParserData::osglCoef

Definition at line 150 of file OSgLParserData.h.

bool OSgLParserData::numberOfBlocksPresent

Definition at line 151 of file OSgLParserData.h.

bool OSgLParserData::numberOfColumnsPresent

Definition at line 152 of file OSgLParserData.h.

bool OSgLParserData::numberOfRowsPresent

Definition at line 153 of file OSgLParserData.h.

bool OSgLParserData::numberOfValuesPresent

Definition at line 154 of file OSgLParserData.h.

int OSgLParserData::numberOfValues

Definition at line 155 of file OSgLParserData.h.

bool OSgLParserData::numberOfVarIdxPresent

Definition at line 156 of file OSgLParserData.h.

int OSgLParserData::numberOfVarIdx

Definition at line 157 of file OSgLParserData.h.

bool OSgLParserData::numberOfElPresent

Definition at line 158 of file OSgLParserData.h.

int OSgLParserData::numberOfEl

Definition at line 159 of file OSgLParserData.h.

int OSgLParserData::osglNumberOfNonzeros

Definition at line 160 of file OSgLParserData.h.

int OSgLParserData::osglNonzeroCounter

Definition at line 161 of file OSgLParserData.h.

int* OSgLParserData::matrixBlockNumberOfRows

Definition at line 163 of file OSgLParserData.h.

int* OSgLParserData::matrixBlockNumberOfCols

Definition at line 164 of file OSgLParserData.h.

ENUM_NL_EXPR_SHAPE OSgLParserData::shape

Definition at line 166 of file OSgLParserData.h.

bool OSgLParserData::shapePresent

Definition at line 167 of file OSgLParserData.h.


The documentation for this class was generated from the following file: