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"
44 class TCollection_AsciiString;
50 public virtual POA_SMESH::SMESH_Hypothesis,
51 public virtual SALOME::GenericObj_i
62 virtual char* GetName();
65 virtual char* GetLibName();
68 void SetLibName(
const char* theLibName );
71 virtual CORBA::Long GetId();
74 virtual CORBA::Boolean HasParameters();
79 virtual void SetVarParameter (
const char* parameter,
const char* method);
83 virtual char* GetVarParameter (
const char* methodName);
89 virtual void SetHolderHypothesis(
const SMESH::SMESH_Hypothesis_ptr hyp);
98 virtual char* SaveTo();
99 virtual void LoadFrom(
const char* theStream );
100 virtual void UpdateAsMeshesRestored();
117 virtual void setOldParameters (
const char* theParameters);
125 virtual int getParamIndex(
const TCollection_AsciiString& method,
int nbVars)
const {
return -1; }
141 virtual std::string GetModuleName() = 0;
142 virtual bool IsApplicable(
const TopoDS_Shape &S,
bool toCheckAll ) {
return true;}
159 return new T (thePOA, theStudyId, theGenImpl);