OSrLWriter Class Reference

Take an OSResult object and write a string that validates against OSrL.. More...

#include <OSrLWriter.h>

Collaboration diagram for OSrLWriter:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 OSrLWriter ()
 Default constructor.
 ~OSrLWriter ()
 Class destructor.
std::string writeOSrL (OSResult *theosresult)
 create an osrl string from an OSResult object

Private Attributes

OSResultm_OSResult
 m_OSResult is an object in the class OSResult, the data in m_OSResult are written to a string that validates against OSrL

Detailed Description

Take an OSResult object and write a string that validates against OSrL..

Definition at line 31 of file OSrLWriter.h.


Constructor & Destructor Documentation

OSrLWriter::OSrLWriter (  ) 

Default constructor.

Definition at line 35 of file OSrLWriter.cpp.

OSrLWriter::~OSrLWriter (  ) 

Class destructor.

Definition at line 38 of file OSrLWriter.cpp.


Member Function Documentation

std::string OSrLWriter::writeOSrL ( OSResult theosresult  ) 

create an osrl string from an OSResult object

Parameters:
theosresult is a pointer to an OSResult object
Returns:
a string with the OSResult data that validates against the OSrL schema.

Definition at line 55 of file OSrLWriter.cpp.

References OtherVariableResult::description, OptimizationSolutionStatus::description, GeneralStatus::description, ResultHeader::generalStatus, ResultHeader::instanceName, ResultHeader::jobID, m_OSResult, OptimizationSolution::message, ResultHeader::message, OtherVariableResult::name, OptimizationResult::numberOfConstraints, OptimizationResult::numberOfObjectives, VariableSolution::numberOfOtherVariableResult, OptimizationResult::numberOfSolutions, OptimizationResult::numberOfVariables, OptimizationSolution::objectiveIdx, ResultData::optimization, VariableSolution::other, OSResult::resultData, OSResult::resultHeader, ResultHeader::serviceName, ResultHeader::serviceURI, OptimizationResult::solution, OptimizationSolution::status, ResultHeader::time, OptimizationSolutionStatus::type, GeneralStatus::type, VariableSolution::values, OtherVariableResult::var, VariableValues::var, and OptimizationSolution::variables.

Referenced by IpoptSolver::finalize_solution(), LindoSolver::generateLindoModel(), CoinSolver::getCoinSolverType(), getJobID(), kill(), knock(), main(), LindoSolver::optimize(), CoinSolver::optimize(), LindoSolver::processConstraints(), LindoSolver::processNonlinearExpressions(), LindoSolver::processQuadraticTerms(), LindoSolver::processVariables(), retrieve(), send(), CoinSolver::setCoinPackedMatrix(), solve(), LindoSolver::solve(), KnitroSolver::solve(), IpoptSolver::solve(), and CoinSolver::solve().


Member Data Documentation

OSResult* OSrLWriter::m_OSResult [private]

m_OSResult is an object in the class OSResult, the data in m_OSResult are written to a string that validates against OSrL

Definition at line 37 of file OSrLWriter.h.

Referenced by writeOSrL().


The documentation for this class was generated from the following files:
Generated on Thu May 15 22:15:42 2008 by  doxygen 1.4.7