14 #ifndef OSNLPARSERDATA_H
15 #define OSNLPARSERDATA_H
bool objTypeAttributePresent
std::string solverAttribute
std::string lbValueAttribute
This file defines the OSnLNode class along with its derived classes.
int tmpnlcount
tmpnlcount counts the number of nl nodes actually found.
bool typeAttributePresent
std::string parser_errors
used to accumulate error message so the parser does not die on the first error encountered ...
std::vector< ExprNode * > minVec
the OSnLNodeMin node can have any number of children, including other children with an indeterminate ...
std::vector< ExprNode * > allDiffVec
the OSnLNodeallDiff node can have any number of children, including other children with an indetermin...
int tempInt
some temporary items to facilitate code sharing
bool matrixreftypeattON
matrixreftypeattON is set to true if the type attribute has been parsed for an OSnLMNodeMatrixReferen...
std::vector< ExprNode * > maxVec
the OSnLNodeMax node can have any number of children, including other children with an indeterminate ...
bool includeDiagonalAttributePresent
Attributes and other data items associated with parsing the OSnLMNodes.
OSnLMNodeMatrixCon * nlMNodeMatrixCon
a pointer to an OSnLMNode object that is a matrixCon reference
std::string categoryAttribute
OSnLMNodeMatrixObj * nlMNodeMatrixObj
a pointer to an OSnLMNode object that is a matrixObj reference
bool valueAttributePresent
std::string descriptionAttribute
bool lbValueAttributePresent
std::vector< ExprNode * > matrixSumVec
the OSnLMNodeMatrixSum node can have any number of children, including other children with an indeter...
OSnLParserData * osnlData
bool variablecoefattON
variablecoefattON is set to true if the coeff attribute has been parsed for an OSnLNodeVariable, an exception is thrown if there is more than one coeff attribute
OSnLNodeNumber * nlNodeNumberPoint
a pointer to an OSnLNode object that is a number
The OSnLNodeNumber Class.
OSnLNodeVariable * nlNodeVariablePoint
a pointer to an OSnLNode object that is a variable
OSnLMNodeMatrixVar * nlMNodeMatrixVar
a pointer to an OSnLMNode object that is a matrixVar reference
A generic class from which we derive both OSnLNode and OSnLMNode.
OSnLParserData()
the OSnLParserData class constructor
bool nameAttributePresent
The OSnLNodeVariable Class.
ExprNode * nlNodePoint
These entities are used for parsing <nonlinearExpressions>
bool descriptionAttributePresent
bool ubValueAttributePresent
std::string enumTypeAttribute
OSnLMNodeMatrixReference * nlMNodeMatrixRef
a pointer to an OSnLMNode object that is a simple matrix reference
bool numbervalueattON
numbervalueattON is set to true if the value attribute has been parsed for an OSnLNodeNumber object...
std::string conTypeAttribute
void osnl_empty_vectors(OSnLParserData *osnlData)
std::string valueAttribute
std::vector< ExprNode * > productVec
the OSnLNodeProduct node can have any number of children, including other children with an indetermin...
bool numbertypeattON
numbertypeattON is set to true if the type attribute has been parsed for an OSnLNodeNumber object...
char * errorText
if the parser finds invalid text it is held here and we delete if the file was not valid ...
bool conTypeAttributePresent
bool matrixidxattON
matrixidxattON is set to true if the idx attribute has been parsed for an OSnLNodeVariable, an exception is thrown if there is more than one idx attribute
bool solverAttributePresent
std::vector< ExprNode * > sumVec
the OSnLNodeSum node can have any number of children, including other children with an indeterminate ...
~OSnLParserData()
the OSnLParserData class destructor
std::string unitAttribute
int nlnodenumber
nlnodenumber is the number of nl nodes in the instance
bool varTypeAttributePresent
bool categoryAttributePresent
generic attributes
bool enumTypeAttributePresent
bool suppressFurtherErrorMessages
std::string nameAttribute
bool variableidxattON
variableidxattON is set to true if the idx attribute has been parsed for an OSnLNodeVariable, an exception is thrown if there is more than one idx attribute
bool includeDiagonalAttribute
bool ignoreDataAfterErrors
two booleans to govern the behavior after an error has been encountered
The OSnLParserData Class.
bool numberidattON
numberidattON is set to true if the id attribute has been parsed for an OSnLNodeNumber object...
std::string objTypeAttribute
std::string typeAttribute
std::string varTypeAttribute
bool unitAttributePresent
bool shapeAttributePresent
std::vector< ExprNode * > matrixProductVec
the OSnLMNodeProduct node can have any number of children, including other children with an indetermi...
std::vector< ExprNode * > nlNodeVec
nlNodeVec holds a vector of pointers to OSnLNodes and OSnLMNodes In order to build the expression tre...
std::string ubValueAttribute