Salome HOME
Copyright update 2022
[modules/homard.git] / src / HOMARD_I / HOMARD_Hypothesis_i.hxx
index 2c92b62da053fb8c97737cb685837340ff5cbfc8..38cd3273761675a1968eb120e63731f094c36bbb 100644 (file)
@@ -1,9 +1,9 @@
-// Copyright (C) 2011-2012  CEA/DEN, EDF R&D
+// Copyright (C) 2011-2022  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
 // License as published by the Free Software Foundation; either
-// version 2.1 of the License.
+// version 2.1 of the License, or (at your option) any later version.
 //
 // This library is distributed in the hope that it will be useful,
 // but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -16,6 +16,7 @@
 //
 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
+
 // Remarques :
 // L'ordre de description des fonctions est le meme dans tous les fichiers
 // HOMARD_aaaa.idl, HOMARD_aaaa.hxx, HOMARD_aaaa.cxx, HOMARD_aaaa_i.hxx, HOMARD_aaaa_i.cxx :
@@ -33,6 +34,7 @@
 #include CORBA_SERVER_HEADER(HOMARD_Gen)
 #include CORBA_SERVER_HEADER(HOMARD_Hypothesis)
 
+#include "HOMARD_i.hxx"
 #include "SALOME_Component_i.hxx"
 #include "SALOME_NamingService.hxx"
 #include "Utils_CorbaException.hxx"
@@ -41,7 +43,7 @@
 
 class HOMARD_Hypothesis;
 
-class HOMARD_Hypothesis_i:
+class HOMARDENGINE_EXPORT HOMARD_Hypothesis_i:
   public virtual Engines_Component_i,
   public virtual POA_HOMARD::HOMARD_Hypothesis,
   public virtual PortableServer::ServantBase
@@ -64,7 +66,7 @@ public:
   bool                   Restore( const std::string& stream );
 
 // Caracteristiques
-  void                   SetAdapRefinUnRef( CORBA::Long TypeAdap, CORBA::Long TypeRaff, CORBA::Long TypeDera );
+  void                   SetUnifRefinUnRef( CORBA::Long TypeRaffDera );
   HOMARD::listeTypes*    GetAdapRefinUnRef();
   CORBA::Long            GetAdapType();
   CORBA::Long            GetRefinType();
@@ -76,9 +78,10 @@ public:
   HOMARD::InfosHypo*     GetField();
 
   void                   SetUseComp(CORBA::Long UsCmpI);
-  void                   AddComp( const char* NomComposant );
-  void                   SupprComp();
-  HOMARD::listeComposantsHypo* GetListComp();
+  void                   AddComp( const char* NomComp );
+  void                   SupprComp( const char* NomComp );
+  void                   SupprComps();
+  HOMARD::listeComposantsHypo* GetComps();
 
   void                   SetRefinThr(CORBA::Long TypeThR, CORBA::Double ThreshR);
   CORBA::Long            GetRefinThrType();
@@ -94,18 +97,22 @@ public:
   void                   SetAdapInit( CORBA::Long AdapInit );
   CORBA::Long            GetAdapInit();
 
-  void                   SetLevelOutput( CORBA::Long LevelOutput );
-  CORBA::Long            GetLevelOutput();
+  void                   SetExtraOutput( CORBA::Long ExtraOutput );
+  CORBA::Long            GetExtraOutput();
 
   void                   AddGroup( const char* Group);
+  void                   SupprGroup( const char* Group );
+  void                   SupprGroups();
   void                   SetGroups(const HOMARD::ListGroupType& ListGroup);
   HOMARD::ListGroupType* GetGroups();
 
   void                   SetTypeFieldInterp( CORBA::Long TypeFieldInterp );
   CORBA::Long            GetTypeFieldInterp();
   void                   AddFieldInterp( const char* FieldInterp );
-  void                   SupprFieldInterp();
-  HOMARD::listFieldInterpHypo* GetListFieldInterp();
+  void                   AddFieldInterpType( const char* FieldInterp, CORBA::Long TypeInterp );
+  void                   SupprFieldInterp( const char* FieldInterp );
+  void                   SupprFieldInterps();
+  HOMARD::listeFieldInterpsHypo* GetFieldInterps();
 
 // Liens avec les autres structures
   void                   SetCaseCreation( const char* NomCaseCreation );
@@ -118,6 +125,7 @@ public:
   void                   AddZone( const char* NomZone, CORBA::Long TypeUse );
   void                   AddZone0( const char* NomZone, CORBA::Long TypeUse );
   void                   SupprZone( const char* NomZone );
+  void                   SupprZones();
   HOMARD::listeZonesHypo* GetZones();
 
 private: