Salome HOME
IMP 10199 (add Volume Control). Implement GetSize(). Add GetVolumeType() of instance
[modules/smesh.git] / src / SMDS / SMDS_Position.hxx
index 6047c30c397612442670926a7b91339a9a7b9153..9b11dc6f9662361070efa0dbb0837566fe62cd06 100644 (file)
 #include "SMDS_TypeOfPosition.hxx"
 #include <boost/shared_ptr.hpp>
 
+//#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_Position
+
+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;
        virtual ~SMDS_Position() {}
@@ -49,4 +63,6 @@ class SMDS_Position
   private:
        int myShapeId;
 };
+
+
 #endif