Salome HOME
Preparation of 3.1.0a2: version ID. compilation with new HEAD and new MED (with polyh...
[modules/smesh.git] / src / SMDS / SMDS_Position.hxx
index 29a54d82b624235c606e335eba4ec3c45553048a..9b11dc6f9662361070efa0dbb0837566fe62cd06 100644 (file)
 #define _SMDS_Position_HeaderFile
 
 #include "SMDS_TypeOfPosition.hxx"
+#include <boost/shared_ptr.hpp>
 
-class SMDS_Position
+//#ifdef WNT
+//#include <SALOME_WNT.hxx>
+//#else
+//#define SALOME_WNT_EXPORT
+//#endif
+
+#if defined WNT && defined WIN32 && defined SMDS_EXPORTS
+#define SMDS_WNT_EXPORT __declspec( dllexport )
+#else
+#define SMDS_WNT_EXPORT
+#endif
+
+class SMDS_Position;
+typedef boost::shared_ptr<SMDS_Position> SMDS_PositionPtr;
+
+
+class SMDS_WNT_EXPORT SMDS_Position
 {
 
   public:
        const virtual double * Coords() const = 0;
-       virtual inline SMDS_TypeOfPosition GetTypeOfPosition() const = 0;
+       virtual SMDS_TypeOfPosition GetTypeOfPosition() const = 0;
+       virtual int GetDim() const;
        void SetShapeId(int aShapeId);
        int GetShapeId() const;
-        ~SMDS_Position();
+       virtual ~SMDS_Position() {}
 
   protected:
          SMDS_Position(int aShapeId);
@@ -45,4 +63,6 @@ class SMDS_Position
   private:
        int myShapeId;
 };
+
+
 #endif