]> SALOME platform Git repositories - modules/med.git/commitdiff
Salome HOME
Windows warning hunting
authorageay <ageay>
Tue, 6 Aug 2013 15:24:47 +0000 (15:24 +0000)
committerageay <ageay>
Tue, 6 Aug 2013 15:24:47 +0000 (15:24 +0000)
src/INTERP_KERNEL/Bases/InterpKernelException.hxx
src/INTERP_KERNEL/GaussPoints/InterpKernelGaussCoords.hxx

index ae63b39b056c3158d955aabb8c2cdf18e64e6a47..ff97d4d2b78dadb4e0fdb82d9e44bb6c2bf68115 100644 (file)
 
 namespace INTERP_KERNEL
 {
-  class INTERPKERNEL_EXPORT Exception : public std::exception
+  class Exception : public std::exception
   {
   public:
-    Exception(const char *reason);
-    Exception(const char *reason, const char *file, int line);
-    ~Exception() throw ();
-    const char *what() const throw();
+    INTERPKERNEL_EXPORT Exception(const char *reason);
+    INTERPKERNEL_EXPORT Exception(const char *reason, const char *file, int line);
+    INTERPKERNEL_EXPORT ~Exception() throw ();
+    INTERPKERNEL_EXPORT const char *what() const throw();
   protected:
     std::string _reason;
   };
index 479d9d08c7f31456be423e2d2c34a38d91ed1771..575ba7c8ab01c1ea4d5bebbd0838580567992cd7 100644 (file)
@@ -32,28 +32,28 @@ namespace INTERP_KERNEL
   typedef std::vector<int>    IndexVector;
 
   //Class to store Gauss Points information
-  class INTERPKERNEL_EXPORT GaussInfo 
+  class GaussInfo 
   {
   public:
-    GaussInfo( NormalizedCellType theGeometry,
-               const DataVector& theGaussCoord,
-               int theNbGauss,
-               const DataVector& theReferenceCoord,
-               int theNbRef
-               );
-    ~GaussInfo();
+    INTERPKERNEL_EXPORT GaussInfo( NormalizedCellType theGeometry,
+                                   const DataVector& theGaussCoord,
+                                   int theNbGauss,
+                                   const DataVector& theReferenceCoord,
+                                   int theNbRef
+                                   );
+    INTERPKERNEL_EXPORT ~GaussInfo();
 
-    NormalizedCellType getCellType() const;    
+    INTERPKERNEL_EXPORT NormalizedCellType getCellType() const;    
 
-    int getGaussCoordDim() const;
-    int getReferenceCoordDim() const;
+    INTERPKERNEL_EXPORT int getGaussCoordDim() const;
+    INTERPKERNEL_EXPORT int getReferenceCoordDim() const;
 
-    int getNbGauss() const;
-    int getNbRef() const;
+    INTERPKERNEL_EXPORT int getNbGauss() const;
+    INTERPKERNEL_EXPORT int getNbRef() const;
 
-    const double* getFunctionValues( const int theGaussId ) const;
+    INTERPKERNEL_EXPORT const double* getFunctionValues( const int theGaussId ) const;
 
-    void initLocalInfo() throw (INTERP_KERNEL::Exception);
+    INTERPKERNEL_EXPORT void initLocalInfo() throw (INTERP_KERNEL::Exception);
 
   protected:
 
@@ -124,30 +124,30 @@ namespace INTERP_KERNEL
 
 
   //Class for calculation of the coordinates of the gauss points 
-  class INTERPKERNEL_EXPORT GaussCoords 
+  class GaussCoords 
   {
   public:
 
-    GaussCoords();
-    ~GaussCoords();
-
-    void addGaussInfo( NormalizedCellType theGeometry,
-                       int coordDim,
-                       const double* theGaussCoord,
-                       int theNbGauss,
-                       const double* theReferenceCoord,
-                       int theNbRef) throw (INTERP_KERNEL::Exception);
-
-    double* calculateCoords( NormalizedCellType theGeometry, 
-                             const double* theNodeCoords, 
-                             const int theSpaceDim,
-                             const int* theIndex) throw(INTERP_KERNEL::Exception);
-
-    void calculateCoords( NormalizedCellType theGeometry, 
-                          const double* theNodeCoords, 
-                          const int theSpaceDim,
-                          const int* theIndex,
-                          double *result) throw(INTERP_KERNEL::Exception);
+    INTERPKERNEL_EXPORT GaussCoords();
+    INTERPKERNEL_EXPORT ~GaussCoords();
+
+    INTERPKERNEL_EXPORT void addGaussInfo( NormalizedCellType theGeometry,
+                                           int coordDim,
+                                           const double* theGaussCoord,
+                                           int theNbGauss,
+                                           const double* theReferenceCoord,
+                                           int theNbRef) throw (INTERP_KERNEL::Exception);
+
+    INTERPKERNEL_EXPORT double* calculateCoords( NormalizedCellType theGeometry, 
+                                                 const double* theNodeCoords, 
+                                                 const int theSpaceDim,
+                                                 const int* theIndex) throw(INTERP_KERNEL::Exception);
+
+    INTERPKERNEL_EXPORT void calculateCoords( NormalizedCellType theGeometry, 
+                                              const double* theNodeCoords, 
+                                              const int theSpaceDim,
+                                              const int* theIndex,
+                                              double *result) throw(INTERP_KERNEL::Exception);
   private:
     const GaussInfo *getInfoGivenCellType(NormalizedCellType cellType);
     void calculateCoordsAlg(const GaussInfo *info, const double* theNodeCoords, const int theSpaceDim, const int *theIndex,