Go to the documentation of this file.
14 #ifndef OSRLPARSERDATA_H
15 #define OSRLPARSERDATA_H
int mult
a multiplier or repeat count for compact representation of an array
bool jobUsedCPUSpeedPresent
bool timeServiceStartedPresent
std::string conTypeAttribute
bool jobStatusPresent
set job...Present to true if the corresponding element (child of the <job> element) has been parsed
bool jobUsedCPUNumberPresent
int numberOfOtherConstraintResults
the number of types of constraint results other than the value of the constraint
std::string timeDescription
std::string value
value holds the text of the value attribute of the OtherVariableResult element
bool otherJobResultsPresent
bool generalServiceNamePresent
bool varTypeAttributePresent
int numberOfOtherMatrixVariableResults
the number of types of matrix variable results other than the value of the matrix variable
bool systemAvailableDiskSpacePresent
int * otherVarIndex
otherVarIndex is a pointer to an array with number of elements equal to the number of variables.
bool generalMessagePresent
bool otherGeneralResultsPresent
std::string categoryAttribute
many attributes, particularly those that return strings, are used multiple times, and the parser uses...
int numberOfOtherVariableResults
the number of types of variable results other than the value of the variable
bool systemAvailableCPUSpeedPresent
int tempInt
a temporary variable to hold an integer value
bool descriptionAttributePresent
std::string statusType
the status type of the result
bool actualStartTimePresent
std::string tempStr
a temporary variable to hold a string
std::string * otherVarText
otherVarText is a pointer to an array with number of elements equal to the number of variables.
int incr
an increment for compact representation of an array (used with mult)
bool jobSubmitTimePresent
bool solverAttributePresent
bool generalServiceURIPresent
bool otherServiceResultsPresent
bool numberOfObjAttributePresent
std::string name
name holds the text of the name attribute of the OtherVariableResult element
bool unitAttributePresent
bool numberOfConIdxAttributePresent
std::vector< IndexValuePair * > objVals
void * scanner
scanner is used to store data in a reentrant lexer we use this to pass an OSrLParserData object to th...
double tempVal
a temporary variable to hold an integer or double value
bool numberOfConAttributePresent
int kounter
a temporary counter to count variables, number of attributes, etc.
int numberOfObjectives
total number of Objectives in the model instance
int numberOfOtherMatrixProgrammingResults
the number of types of matrix programming results other than those associated with matrix variables,...
int idx
a temporary variable to hold an integer index value
std::ostringstream outStr
a temporary variable to hold an output stream value
bool generalSolverInvokedPresent
bool generalStatusPresent
set general...Present to true if the corresponding element (child of the <general> element) has been ...
int numberOf
a temporary variable to hold the number of entries in a list
std::string varTypeAttribute
bool valueAttributePresent
unsigned int numberOfSolutions
number of result solutions
int numberOfVariables
total number of variables in the model instance
int numberOfTimes
There could be more than one time measurement; numberOfTimes stores the number of them.
std::string parser_errors
used to accumulate error message so the parser does not die on the first error encountered
bool suppressFurtherErrorMessages
The OSrLParserData Class.
std::string unitAttribute
bool objTypeAttributePresent
int numberOfIdx
number of indexes in a category of basis elements, may change from category to category and solution ...
struct IndexValuePair * primalValPair
for each solution we will build a vector of index-value pairs of primal values
bool systemInformationPresent
set system...Present to true if the corresponding element (child of the <system> element) has been pa...
bool otherSystemResultsPresent
bool jobUsedDiskSpacePresent
bool typeAttributePresent
bool jobUsedMemoryPresent
std::string objTypeAttribute
bool weightedObjAttributePresent
std::string valueAttribute
bool serviceUtilizationPresent
std::string description
description holds the text of the description attribute of the OtherVariableResult element
unsigned int solutionIdx
an index of which solution we have found
std::string nameAttribute
bool numberOfVarAttributePresent
std::string solverAttribute
bool numberOfVarIdxAttributePresent
std::string typeAttribute
bool jobTimingInformationPresent
bool serviceCurrentJobCountPresent
bool serviceTotalJobsSoFarPresent
bool scheduledStartTimePresent
std::string statusDescription
the status Description of the solution
bool systemAvailableCPUNumberPresent
std::string name
a temporary variable to hold a variable, objective or constraint name
int numberOfVar
numberOfVar holds the number of variables in the array of the OtherVariableResult element
std::string tmpOtherValue
Provide temporary storage for attribute values associated with an OtherVarResult.
int numberOfConstraints
total number of constraints in the model instance
bool categoryAttributePresent
double timeValue
the next few variables store a time measurement and associated attribute values
int numberOfOtherObjectiveResults
the number of types of objective results other than the value of the objective
std::string tmpOtherDescription
struct OtherVariableResultStruct * otherVarStruct
a pointer to an OtherVariableResultStruct structure
struct IndexValuePair * dualValPair
for each solution we will build a vector of index-value pairs of dual values
bool numberOfObjIdxAttributePresent
std::vector< IndexValuePair * > dualVals
std::vector< IndexValuePair * > primalVals
bool conTypeAttributePresent
bool systemAvailableMemoryPresent
int numberOfVar
number of variables in a solution instance, may change from solution to solution
OSrLParserData()
the OSrLParserData class constructor
std::string itemContent
Provide temporary storage for a single <record> contained in an OtherSolutionResult.
int numberOfCon
number of constraints in a solution instance, may change from solution to solution
int numberOfObj
number of Objectives in a solution instance may change from solution to solution
A commonly used structure holding an index-value pair.
bool serviceCurrentStatePresent
set service...Present to true if the corresponding element (child of the <service> element) has been ...
std::vector< OtherVariableResultStruct * > otherVarVec
store a vector of pointers to otherVarVec structures
bool numberOfItemsPresent
std::string descriptionAttribute
bool generalInstanceNamePresent
bool numberAttributePresent
a number of boolean vriables to track which of the attributes have been found in the present list.
int ivar
a temporary counter to count second-level objects
char * errorText
if the parser finds invalid text it is held here and we delete if the file was not valid
bool nameAttributePresent
bool generalTimeStampPresent
bool ignoreDataAfterErrors
two booleans to govern the behavior after an error has been encountered
struct IndexValuePair * objValPair
for each solution we will build a vector of index-value pairs of objective function values
A structure to information about an OtherVariableResult element.
int numberOfVarIdx
number of variables indices in other variable result enumeration, may change from solution to solutio...
int iOther
a temporary counter to count other variable, objective and constraint results
This file defines the OSnLNode class along with its derived classes.