1 //=============================================================================
2 // File : SMESH_HypothesisFactory_i.hxx
3 // Created : dim mai 19 22:02:45 CEST 2002
4 // Author : Paul RASCLE, EDF
6 // Copyright : EDF 2002
8 //=============================================================================
10 #ifndef _SMESH_HYPOTHESISFACTORY_I_HXX_
11 #define _SMESH_HYPOTHESISFACTORY_I_HXX_
13 #include "SMESH_Hypothesis_i.hxx"
17 class GenericHypothesisCreator_i
20 virtual SMESH_Hypothesis_i* Create(const char* anHyp,
22 ::SMESH_Gen* genImpl) = 0;
25 class SMESH_HypothesisFactory_i
28 SMESH_HypothesisFactory_i();
29 virtual ~SMESH_HypothesisFactory_i();
31 SMESH_Hypothesis_i* Create(const char* anHyp,
34 throw (SALOME::SALOME_Exception);
37 map<string, GenericHypothesisCreator_i*> _creatorMap;