28 #ifndef _SMESH_HYPOTHESIS_I_HXX_
29 #define _SMESH_HYPOTHESIS_I_HXX_
33 #include <SALOMEconfig.h>
34 #include CORBA_SERVER_HEADER(SMESH_Hypothesis)
37 #include "SALOME_GenericObj_i.hh"
45 class TCollection_AsciiString;
51 public virtual POA_SMESH::SMESH_Hypothesis,
52 public virtual SALOME::GenericObj_i
66 virtual char* GetLibName();
69 void SetLibName(
const char* theLibName );
72 virtual CORBA::Short GetId();
75 virtual CORBA::Boolean HasParameters();
80 virtual void SetVarParameter (
const char* parameter,
const char* method);
84 virtual char* GetVarParameter (
const char* methodName);
90 virtual void SetHolderHypothesis(
const SMESH::SMESH_Hypothesis_ptr hyp);
99 virtual char* SaveTo();
100 virtual void LoadFrom(
const char* theStream );
101 virtual void UpdateAsMeshesRestored();
108 std::vector< int > & subIDArray )
const = 0;
112 std::vector< int > & subIDArray ) = 0;
129 virtual void setOldParameters (
const char* theParameters);
137 virtual int getParamIndex(
const TCollection_AsciiString& ,
int )
const {
return -1; }
157 return IsShapeOfDim( S, algoDim );
161 static bool IsShapeOfDim(
const TopoDS_Shape &S,
int dim );
177 return new T (thePOA, theGenImpl);
#define SMESH_I_EXPORT
Definition: SMESH.hxx:39
Definition: SMESH_Hypothesis_i.hxx:144
virtual std::string GetModuleName()=0
virtual ~GenericHypothesisCreator_i()
Definition: SMESH_Hypothesis_i.hxx:149
virtual SMESH_Hypothesis_i * Create(PortableServer::POA_ptr thePOA, ::SMESH_Gen *theGenImpl)=0
virtual bool IsApplicable(const TopoDS_Shape &S, bool, int algoDim)
Definition: SMESH_Hypothesis_i.hxx:155
Definition: SMESH_Hypothesis_i.hxx:172
virtual SMESH_Hypothesis_i * Create(PortableServer::POA_ptr thePOA, ::SMESH_Gen *theGenImpl)
Definition: SMESH_Hypothesis_i.hxx:174
Definition: SMESH_Gen.hxx:68
Definition: SMESH_Hypothesis_i.hxx:53
virtual bool setObjectsDependOn(std::vector< std::string > &entryArray, std::vector< int > &subIDArray)=0
virtual std::string getMethodOfParameter(const int, int) const
Definition: SMESH_Hypothesis_i.hxx:134
std::map< std::string, std::string > myMethod2VarParams
Definition: SMESH_Hypothesis_i.hxx:123
::SMESH_Hypothesis * myBaseImpl
Definition: SMESH_Hypothesis_i.hxx:117
SMESH::SMESH_Hypothesis_var myHolder
Definition: SMESH_Hypothesis_i.hxx:120
virtual int getParamIndex(const TCollection_AsciiString &, int) const
Definition: SMESH_Hypothesis_i.hxx:137
virtual bool getObjectsDependOn(std::vector< std::string > &entryArray, std::vector< int > &subIDArray) const =0
Definition: SMESH_Hypothesis.hxx:48
QString GetName(const Handle(SALOME_InteractiveObject)&theIO)
Definition: SMESHGUI_Utils.cxx:252