My Project
OSDefaultSolver.cpp
Go to the documentation of this file.
1/* $Id: OSDefaultSolver.cpp 4943 2015-02-04 19:10:42Z Gassmann $ */
15#include "OSOutput.h"
16#include "OSErrorClass.h"
17#include "OSDefaultSolver.h"
18
19#include<iostream>
20
21using std::endl;
22
24 osil(""),
25 osol(""),
26 osrl(""),
27 osinstance( NULL),
28 osoption( NULL),
29 osresult( NULL),
30 sSolverName(""),
31 bCallbuildSolverInstance( false),
32 bSetSolverOptions( false)
33
34{
35
36
37}
38
40{
41#ifndef NDEBUG
42 osoutput->OSPrint(ENUM_OUTPUT_AREA_OSSolverInterfaces, ENUM_OUTPUT_LEVEL_debug, "Default Solver destructor called");
43#endif
44 /* we do not delete osinstance since it is not newed in any
45 * of the solvers, it is newed elesewhere and deleted elsewhere
46 */
47 //if(osinstance != NULL) delete osinstance;
48 //osinstance = NULL;
49 //if(osresult != NULL) delete osresult;
50 //osresult = NULL;
51}
52
const OSSmartPtr< OSOutput > osoutput
Definition OSOutput.cpp:39
OSOption * osoption
virtual ~DefaultSolver()=0
default destructor.
DefaultSolver()
default constructor.
@ ENUM_OUTPUT_LEVEL_debug
@ ENUM_OUTPUT_AREA_OSSolverInterfaces
OSResult * osresult