From: adam Date: Thu, 12 Mar 2009 10:17:06 +0000 (+0000) Subject: Export some classes on windows X-Git-Tag: V5_1_main_FINAL~410 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=939abc0bd6d6f85b83315700d0e8fb26a7ff73c8;p=tools%2Fmedcoupling.git Export some classes on windows --- diff --git a/src/MEDCoupling/MEDCouplingField.hxx b/src/MEDCoupling/MEDCouplingField.hxx index 30dd61a66..d8ab6997c 100644 --- a/src/MEDCoupling/MEDCouplingField.hxx +++ b/src/MEDCoupling/MEDCouplingField.hxx @@ -19,6 +19,7 @@ #ifndef __PARAMEDMEM_MEDCOUPLINGFIELD_HXX__ #define __PARAMEDMEM_MEDCOUPLINGFIELD_HXX__ +#include "MEDCoupling.hxx" #include "RefCountObject.hxx" #include "InterpKernelException.hxx" @@ -28,7 +29,7 @@ namespace ParaMEDMEM { class MEDCouplingMesh; - class MEDCouplingField : public RefCountObject + class MEDCOUPLING_EXPORT MEDCouplingField : public RefCountObject { public: virtual void checkCoherency() const throw(INTERP_KERNEL::Exception) = 0; diff --git a/src/MEDCoupling/MEDCouplingFieldDouble.hxx b/src/MEDCoupling/MEDCouplingFieldDouble.hxx index fea2d2222..57681dffe 100644 --- a/src/MEDCoupling/MEDCouplingFieldDouble.hxx +++ b/src/MEDCoupling/MEDCouplingFieldDouble.hxx @@ -19,12 +19,13 @@ #ifndef __PARAMEDMEM_MEDCOUPLINGFIELDDOUBLE_HXX__ #define __PARAMEDMEM_MEDCOUPLINGFIELDDOUBLE_HXX__ +#include "MEDCoupling.hxx" #include "MEDCouplingField.hxx" #include "MemArray.hxx" namespace ParaMEDMEM { - class MEDCouplingFieldDouble : public MEDCouplingField + class MEDCOUPLING_EXPORT MEDCouplingFieldDouble : public MEDCouplingField { public: static MEDCouplingFieldDouble *New(TypeOfField type); diff --git a/src/MEDCoupling/MEDCouplingMesh.hxx b/src/MEDCoupling/MEDCouplingMesh.hxx index 41527486b..3102ad515 100644 --- a/src/MEDCoupling/MEDCouplingMesh.hxx +++ b/src/MEDCoupling/MEDCouplingMesh.hxx @@ -19,12 +19,13 @@ #ifndef __PARAMEDMEM_MEDCOUPLINGMESH_HXX__ #define __PARAMEDMEM_MEDCOUPLINGMESH_HXX__ +#include "MEDCoupling.hxx" #include "RefCountObject.hxx" #include "InterpKernelException.hxx" namespace ParaMEDMEM { - class MEDCouplingMesh : public RefCountObject + class MEDCOUPLING_EXPORT MEDCouplingMesh : public RefCountObject { public: void setName(const char *name) { _name=name; } diff --git a/src/MEDCoupling/MEDCouplingUMesh.hxx b/src/MEDCoupling/MEDCouplingUMesh.hxx index a0bf6419b..94a9f896b 100644 --- a/src/MEDCoupling/MEDCouplingUMesh.hxx +++ b/src/MEDCoupling/MEDCouplingUMesh.hxx @@ -19,6 +19,7 @@ #ifndef __PARAMEDMEM_MEDCOUPLINGUMESH_HXX__ #define __PARAMEDMEM_MEDCOUPLINGUMESH_HXX__ +#include "MEDCoupling.hxx" #include "MEDCouplingMesh.hxx" #include "MemArray.hxx" @@ -26,7 +27,7 @@ namespace ParaMEDMEM { - class MEDCouplingUMesh : public MEDCouplingMesh + class MEDCOUPLING_EXPORT MEDCouplingUMesh : public MEDCouplingMesh { public: static MEDCouplingUMesh *New(); diff --git a/src/MEDCoupling/MemArray.hxx b/src/MEDCoupling/MemArray.hxx index 06c0a6d25..c35e50a9f 100644 --- a/src/MEDCoupling/MemArray.hxx +++ b/src/MEDCoupling/MemArray.hxx @@ -19,6 +19,7 @@ #ifndef __PARAMEDMEM_MEMARRAY_HXX__ #define __PARAMEDMEM_MEMARRAY_HXX__ +#include "MEDCoupling.hxx" #include "RefCountObject.hxx" #include @@ -51,7 +52,7 @@ namespace ParaMEDMEM DeallocType _dealloc; }; - class DataArray : public RefCountObject + class MEDCOUPLING_EXPORT DataArray : public RefCountObject { public: void setName(const char *name); @@ -74,7 +75,7 @@ namespace ParaMEDMEM namespace ParaMEDMEM { - class DataArrayDouble : public DataArray + class MEDCOUPLING_EXPORT DataArrayDouble : public DataArray { public: static DataArrayDouble *New(); @@ -97,7 +98,7 @@ namespace ParaMEDMEM MemArray _mem; }; - class DataArrayInt : public DataArray + class MEDCOUPLING_EXPORT DataArrayInt : public DataArray { public: static DataArrayInt *New(); diff --git a/src/MEDCoupling/TimeLabel.hxx b/src/MEDCoupling/TimeLabel.hxx index f0fd6e71f..cafa40874 100644 --- a/src/MEDCoupling/TimeLabel.hxx +++ b/src/MEDCoupling/TimeLabel.hxx @@ -19,13 +19,15 @@ #ifndef __PARAMEDMEM_TIMELABEL_HXX__ #define __PARAMEDMEM_TIMELABEL_HXX__ +#include "MEDCoupling.hxx" + namespace ParaMEDMEM { /*! * Class representing a label of time of the lastely modified part of this. * More _time is high more the object has been modified recently. */ - class TimeLabel + class MEDCOUPLING_EXPORT TimeLabel { public: TimeLabel& operator=(const TimeLabel& other);