OSDipBlockSolverFactory.h
Go to the documentation of this file.
1 /* $Id: OSDipBlockSolverFactory.h 3038 2009-11-07 11:43:44Z Gassmann $ */
16 #ifndef OSDIPBLOCKSOLVERFACTORY_H
17 #define OSDIPBLOCKSOLVERFACTORY_H
18 
19 // --------------------------------------------------------------------- //
20 #include "OSInstance.h"
21 #include "OSOption.h"
22 #include "OSResult.h"
23 #include "OSDataStructures.h"
24 #include "OSErrorClass.h"
25 #include <vector>
26 #include <string>
27 #include <map>
28 #include "OSDipBlockSolver.h"
29 
30 // --------------------------------------------------------------------- //
37 // --------------------------------------------------------------------- //
38 
39 
40 
42 
43 public:
46 
47  virtual OSDipBlockSolver* create() = 0;
48  static std::map<std::string, OSDipBlockSolverFactory*> factories;
49  static OSDipBlockSolver* createOSDipBlockSolver(const std::string &solverName) throw(ErrorClass);
50 
56 
61  virtual ~OSDipBlockSolverFactory() = 0;
62 
63 };
64 
65 #endif
static OSDipBlockSolver * createOSDipBlockSolver(const std::string &solverName)
virtual OSDipBlockSolver * create()=0
The Option Class.
Definition: OSOption.h:3564
static std::map< std::string, OSDipBlockSolverFactory * > factories
virtual ~OSDipBlockSolverFactory()=0
Default destructor.
The in-memory representation of an OSiL instance..
Definition: OSInstance.h:2262
OSDipBlockSolverFactory()
Default Constructor.
used for throwing exceptions.
Definition: OSErrorClass.h:31