]> SALOME platform Git repositories - modules/homard.git/blobdiff - src/HOMARD_I/HOMARD_Hypothesis_i.cxx
Salome HOME
Suppression de composantes dans les hypothèses.
[modules/homard.git] / src / HOMARD_I / HOMARD_Hypothesis_i.cxx
index d90d4215d21778f57844e2e631c9150a52766e77..b22af469440b7f40291bb98bcffd1cf816f19b10 100644 (file)
@@ -183,22 +183,28 @@ void HOMARD_Hypothesis_i::SetUseComp( CORBA::Long UsCmpI )
   myHomardHypothesis->SetUseComp( UsCmpI );
 }
 //=============================================================================
-void HOMARD_Hypothesis_i::AddComp( const char* NomComposant )
+void HOMARD_Hypothesis_i::AddComp( const char* NomComp )
 {
   ASSERT( myHomardHypothesis );
-  myHomardHypothesis->AddComp( NomComposant );
+  myHomardHypothesis->AddComp( NomComp );
 }
 //=============================================================================
-void HOMARD_Hypothesis_i::SupprComp()
+void HOMARD_Hypothesis_i::SupprComp( const char* NomComp )
 {
   ASSERT( myHomardHypothesis );
-  myHomardHypothesis->SupprComp();
+  myHomardHypothesis->SupprComp(NomComp);
 }
 //=============================================================================
-HOMARD::listeComposantsHypo* HOMARD_Hypothesis_i::GetListComp()
+void HOMARD_Hypothesis_i::SupprComps()
 {
   ASSERT( myHomardHypothesis );
-  const std::list<std::string>& ListString = myHomardHypothesis->GetListComp();
+  myHomardHypothesis->SupprComps();
+}
+//=============================================================================
+HOMARD::listeComposantsHypo* HOMARD_Hypothesis_i::GetComps()
+{
+  ASSERT( myHomardHypothesis );
+  const std::list<std::string>& ListString = myHomardHypothesis->GetComps();
   HOMARD::listeComposantsHypo_var aResult = new HOMARD::listeComposantsHypo;
   aResult->length( ListString.size() );
   std::list<std::string>::const_iterator it;
@@ -415,6 +421,12 @@ void  HOMARD_Hypothesis_i::SupprZone(const char * NomZone)
   myHomardHypothesis->SupprZone( NomZone);
 }
 //=============================================================================
+void  HOMARD_Hypothesis_i::SupprZones()
+{
+  ASSERT(myHomardHypothesis);
+  myHomardHypothesis->SupprZones();
+}
+//=============================================================================
 HOMARD::listeZonesHypo* HOMARD_Hypothesis_i::GetZones()
 {
   ASSERT(myHomardHypothesis);