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 32 of file OSrLWriter.h.


Constructor & Destructor Documentation

OSrLWriter::OSrLWriter (  ) 

Default constructor.

Definition at line 41 of file OSrLWriter.cpp.

OSrLWriter::~OSrLWriter (  ) 

Class destructor.

Definition at line 44 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 61 of file OSrLWriter.cpp.

References Time::category, OptimizationSolutionStatus::description, Time::description, GeneralStatus::description, OSResult::general, GeneralResult::generalStatus, GeneralResult::instanceName, OSResult::job, GeneralResult::jobID, m_OSResult, GeneralResult::message, OptimizationResult::numberOfConstraints, OptimizationResult::numberOfObjectives, OptimizationResult::numberOfSolutions, TimingInformation::numberOfTimes, OptimizationResult::numberOfVariables, OSResult::optimization, os_dtoa_format(), OS_SCHEMA_VERSION, OSResult::service, GeneralResult::serviceName, GeneralResult::serviceURI, OptimizationResult::solution, OptimizationSolution::status, OSResult::system, OptimizationSolution::targetObjectiveIdx, TimingInformation::time, JobResult::timingInformation, OptimizationSolutionStatus::type, Time::type, GeneralStatus::type, Time::unit, and Time::value.

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


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 38 of file OSrLWriter.h.

Referenced by writeOSrL().


The documentation for this class was generated from the following files:
Generated on Thu Oct 8 03:08:26 2009 by  doxygen 1.4.7