Salome HOME
Copyright update 2022
[modules/smesh.git] / src / StdMeshers_I / StdMeshers_Deflection1D_i.hxx
index 9078455c6be5bf7dcf9901e5a3bf0bcbe2ff8917..ba7b504f4f4808f31d626eae743807e14acf4ed8 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2016  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2022  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
@@ -54,8 +54,7 @@ public:
   virtual ~StdMeshers_Deflection1D_i();
 
   // Set deflection
-  void SetDeflection( CORBA::Double theLength )
-    throw ( SALOME::SALOME_Exception );
+  void SetDeflection( CORBA::Double theLength );
   // Get deflection
   CORBA::Double GetDeflection();
 
@@ -65,6 +64,11 @@ public:
   // Verify whether hypothesis supports given entity type 
   CORBA::Boolean IsDimSupported( SMESH::Dimension type );
 
+  // Methods for copying mesh definition to other geometry
+  virtual bool getObjectsDependOn( std::vector< std::string > & /*entryArray*/,
+                                   std::vector< int >         & /*subIDArray*/ ) const { return false; }
+  virtual bool setObjectsDependOn( std::vector< std::string > & /*entryArray*/,
+                                   std::vector< int >         & /*subIDArray*/ ) { return true; }
  protected:
   virtual std::string getMethodOfParameter(const int paramIndex, int nbVars) const;
 };