Salome HOME
#18963 Minimize compiler warnings
[modules/smesh.git] / src / StdMeshers_I / StdMeshers_Geometric1D_i.hxx
index f3a8964be4c912b28d8582b8da1913f11bbc65fe..225c353456b0bba51d0b96d0142c9005fa2feca7 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2016  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2020  CEA/DEN, EDF R&D, OPEN CASCADE
 //
 // Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@ -20,7 +20,7 @@
 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 
-//  SMESH SMESH_I : idl implementation based on 'SMESH' unit's calsses
+//  SMESH SMESH_I : idl implementation based on 'SMESH' unit's classes
 //  File   : StdMeshers_Geometric1D_i.hxx
 //  Module : SMESH
 //
@@ -49,8 +49,8 @@ class STDMESHERS_I_EXPORT StdMeshers_Geometric1D_i:
   StdMeshers_Geometric1D_i( PortableServer::POA_ptr thePOA,
                             ::SMESH_Gen*            theGenImpl );
 
-  void SetStartLength(CORBA::Double length) throw(SALOME::SALOME_Exception);
-  void SetCommonRatio(CORBA::Double factor) throw(SALOME::SALOME_Exception);
+  void SetStartLength(CORBA::Double length);
+  void SetCommonRatio(CORBA::Double factor);
 
   CORBA::Double GetStartLength();
   CORBA::Double GetCommonRatio();
@@ -59,6 +59,18 @@ class STDMESHERS_I_EXPORT StdMeshers_Geometric1D_i:
 
   // Get implementation
   ::StdMeshers_Geometric1D* GetImpl();
+
+
+
+  // Methods for copying mesh definition to other geometry
+
+  // Return geometry this hypothesis depends on. Return false if there is no geometry parameter
+  virtual bool getObjectsDependOn( std::vector< std::string > & entryArray,
+                                   std::vector< int >         & subIDArray ) const;
+
+  // Set new geometry instead of that returned by getObjectsDependOn()
+  virtual bool setObjectsDependOn( std::vector< std::string > & entryArray,
+                                   std::vector< int >         & subIDArray );
 };
 
 #endif