Salome HOME
DCQ : Merge with Ecole Ete a6.
[modules/visu.git] / src / CONVERTOR / VISU_Convertor_impl.hxx
index cd1518916a1c77dc67ec7ad3f7be8749e000eb91..fa2f829102dc0b9c9c348c65b8229ad67f4d4d5e 100644 (file)
@@ -20,103 +20,86 @@ extern "C"{
 
 class VISU_Convertor_impl: public VISU_Convertor{
 public:
-  virtual float GetSize() throw (std::runtime_error&);
+  virtual float GetSize() ;
 
   virtual float GetMeshOnEntitySize(const std::string& theMeshName, 
                                    const VISU::TEntity& theEntity,
-                                   const std::string& theFamilyName = "")
-    throw (std::runtime_error&);
+                                   const std::string& theFamilyName = "");
 
   virtual float GetMeshOnGroupSize(const std::string& theMeshName, 
-                                  const std::string& theGroupName)
-    throw(std::runtime_error&);
+                                  const std::string& theGroupName);
 
   virtual float GetTimeStampSize(const std::string& theMeshName, 
                                 const VISU::TEntity& theEntity,
                                 const std::string& theFieldName,
-                                int theStampsNum)
-    throw(std::runtime_error&);
+                                int theStampsNum);
 
   virtual float GetFieldOnMeshSize(const std::string& theMeshName, 
                                   const VISU::TEntity& theEntity,
-                                  const std::string& theFieldName)
-    throw(std::runtime_error&);
+                                  const std::string& theFieldName);
 
   virtual const VISU::TField& GetField(const std::string& theMeshName, 
                                       VISU::TEntity theEntity, 
-                                      const std::string& theFieldName)
-    throw(std::runtime_error&);
+                                      const std::string& theFieldName);
 
   virtual const VISU::TField::TValForTime& GetTimeStamp(const std::string& theMeshName, 
                                                        const VISU::TEntity& theEntity,
                                                        const std::string& theFieldName,
-                                                       int theStampsNum)
-    throw(std::runtime_error&);
+                                                       int theStampsNum);
 
 public:
   VISU_Convertor_impl();
 
   virtual ~VISU_Convertor_impl();
 
-  virtual VISU_Convertor* Build() throw (std::runtime_error&) { return this;};
+  virtual VISU_Convertor* Build()  { return this;};
 
   virtual TOutput* GetMeshOnEntity(const std::string& theMeshName, 
                                   const VISU::TEntity& theEntity,
-                                  const std::string& theFamilyName = "")
-    throw(std::runtime_error&);
+                                  const std::string& theFamilyName = "");
 
   virtual TOutput* GetMeshOnGroup(const std::string& theMeshName, 
-                                 const std::string& theGroupName)
-    throw(std::runtime_error&);
+                                 const std::string& theGroupName);
 
   virtual TOutput* GetTimeStampOnMesh(const std::string& theMeshName, 
                                      const VISU::TEntity& theEntity,
                                      const std::string& theFieldName,
-                                     int theStampsNum)
-    throw(std::runtime_error&);
+                                     int theStampsNum);
 
 protected:
-  void FindMesh(const std::string& theMeshName, VISU::TMesh*& theMesh)
-    throw(std::runtime_error&);
+  void FindMesh(const std::string& theMeshName, VISU::TMesh*& theMesh);
 
   void FindMeshOnEntity(const std::string& theMeshName, VISU::TMesh*& theMesh,
                        const VISU::TEntity& theEntity, VISU::TMeshOnEntity*& theMeshOnEntity,
-                       const std::string& theFamilyName, VISU::TFamily*& theFamily)
-    throw (std::runtime_error&);
+                       const std::string& theFamilyName, VISU::TFamily*& theFamily);
 
   void FindMeshOnGroup(const std::string& theMeshName, VISU::TMesh*& theMesh,
-                      const std::string& theGroupName, VISU::TGroup*& theGroup)
-    throw (std::runtime_error&);
+                      const std::string& theGroupName, VISU::TGroup*& theGroup);
 
   void FindField(const std::string& theMeshName, VISU::TMesh*& theMesh,
                 const VISU::TEntity& theEntity, 
                 VISU::TMeshOnEntity*& theMeshOnEntity,
                 VISU::TMeshOnEntity*& theVTKMeshOnEntity,
-                const std::string& theFieldName, VISU::TField*& theField)
-    throw (std::runtime_error&);
+                const std::string& theFieldName, VISU::TField*& theField);
 
   void FindTimeStamp(const std::string& theMeshName, VISU::TMesh*& theMesh,
                     const VISU::TEntity& theEntity, 
                     VISU::TMeshOnEntity*& theMeshOnEntity,
                     VISU::TMeshOnEntity*& theVTKMeshOnEntity,
                     const std::string& theFieldName, VISU::TField*& theField,
-                    int theStampsNum, VISU::TField::TValForTime*& theValForTime)
-    throw (std::runtime_error&);
+                    int theStampsNum, VISU::TField::TValForTime*& theValForTime);
 
 protected:
   virtual int LoadMeshOnEntity(VISU::TMeshOnEntity& theMeshOnEntity, 
-                              const std::string& theFamilyName = "")
-    throw (std::runtime_error&) = 0;
+                              const std::string& theFamilyName = "") = 0;
 
   virtual int LoadMeshOnGroup(VISU::TMesh& theMesh, 
-                             const VISU::TFamilyAndEntitySet& theFamilyAndEntitySet)
-    throw (std::runtime_error&) = 0;
+                             const VISU::TFamilyAndEntitySet& theFamilyAndEntitySet) = 0;
 
   virtual int LoadFieldOnMesh(VISU::TMesh& theMesh, 
                              VISU::TMeshOnEntity& theMeshOnEntity, 
                              VISU::TField& theField, 
-                             VISU::TField::TValForTime& theValForTime)
-    throw (std::runtime_error&) = 0;
+                             VISU::TField::TValForTime& theValForTime) = 0;
 };
 
 #endif