1 #ifndef _HOMARD_HYPOTHESIS_I_HXX_
2 #define _HOMARD_HYPOTHESIS_I_HXX_
4 #include <SALOMEconfig.h>
5 #include CORBA_SERVER_HEADER(HOMARD_Gen)
6 #include CORBA_SERVER_HEADER(HOMARD_Hypothesis)
10 class HOMARD_Hypothesis;
12 class HOMARD_Hypothesis_i: public virtual POA_HOMARD::HOMARD_Hypothesis,
13 public virtual PortableServer::ServantBase
16 HOMARD_Hypothesis_i( CORBA::ORB_ptr orb, HOMARD::HOMARD_Gen_var gen_i );
17 HOMARD_Hypothesis_i();
19 virtual ~HOMARD_Hypothesis_i();
21 void SetName( const char* NomHypothesis );
23 void SetCaseCreation( const char* NomCaseCreation );
24 char* GetCaseCreation();
25 char* GetDumpPython();
27 void SetAdapRefinUnRef( CORBA::Long TypeAdap, CORBA::Long TypeRaff, CORBA::Long TypeDera );
28 HOMARD::listeTypes* GetAdapRefinUnRef();
29 CORBA::Long GetAdapType();
30 CORBA::Long GetRefinType();
31 CORBA::Long GetUnRefType();
33 void SetField( const char* FieldName );
35 void SetRefinThr(CORBA::Long TypeThR, CORBA::Double ThreshR);
36 CORBA::Long GetRefinThrType();
37 void SetUnRefThr(CORBA::Long TypeThC, CORBA::Double ThreshC);
38 CORBA::Long GetUnRefThrType();
39 void SetUseComp(CORBA::Long UsCmpI);
40 void SetUseField(CORBA::Long UsField);
41 HOMARD::InfosHypo* GetField();
43 void AddIteration( const char* NomIteration );
44 void AddZone( const char* NomZone );
45 void SupprZone( const char* NomZone );
46 void AddComp( const char* NomComposant );
49 HOMARD::listeComposantsHypo* GetListComp();
50 HOMARD::listeIters* GetIterations();
51 HOMARD::listeZonesHypo* GetZones();
53 void AddGroup( const char* Group);
54 void SetGroups(const HOMARD::ListGroupType& ListGroup);
55 HOMARD::ListGroupType* GetGroups();
57 void SetTypeFieldInterp( CORBA::Long TypeFieldInterp );
58 CORBA::Long GetTypeFieldInterp();
59 void AddFieldInterp( const char* FieldInterp );
60 void SupprFieldInterp();
61 HOMARD::listFieldInterpHypo* GetListFieldInterp();
64 std::string Dump() const;
65 bool Restore( const std::string& stream );
68 ::HOMARD_Hypothesis* myHomardHypothesis;
71 HOMARD::HOMARD_Gen_var _gen_i;