Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
tmp
OS-2.10.2
OS
src
OSSolverInterfaces
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
21
using
std::endl;
22
23
DefaultSolver::DefaultSolver
():
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
39
DefaultSolver::~DefaultSolver
()
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
OSErrorClass.h
osoutput
const OSSmartPtr< OSOutput > osoutput
Definition:
OSOutput.cpp:39
osoption
OSOption * osoption
Definition:
OSParseosol.tab.cpp:3982
ENUM_OUTPUT_LEVEL_debug
Definition:
OSParameters.h:114
OSOutput.h
osresult
OSResult * osresult
Definition:
OSParseosrl.tab.cpp:5025
OSDefaultSolver.h
DefaultSolver::~DefaultSolver
virtual ~DefaultSolver()=0
default destructor.
Definition:
OSDefaultSolver.cpp:39
ENUM_OUTPUT_AREA_OSSolverInterfaces
Definition:
OSParameters.h:145
osinstance
OSInstance * osinstance
Definition:
OSParseosil.tab.cpp:3860
DefaultSolver::DefaultSolver
DefaultSolver()
default constructor.
Definition:
OSDefaultSolver.cpp:23
Generated by
1.8.5