From: ageay Date: Fri, 23 Aug 2013 14:07:42 +0000 (+0000) Subject: Unwarningization under Win. X-Git-Tag: OK230813 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=895dcc57a0a07de735e5ad5f5e111d78e06169c9;p=modules%2Fmed.git Unwarningization under Win. --- diff --git a/src/MEDLoader/MEDFileData.hxx b/src/MEDLoader/MEDFileData.hxx index 72f7c3dd5..b9683f8a5 100644 --- a/src/MEDLoader/MEDFileData.hxx +++ b/src/MEDLoader/MEDFileData.hxx @@ -54,7 +54,7 @@ namespace ParaMEDMEM MEDLOADER_EXPORT bool changeMeshName(const char *oldMeshName, const char *newMeshName); MEDLOADER_EXPORT bool unPolyzeMeshes(); // - void write(const char *fileName, int mode) const; + MEDLOADER_EXPORT void write(const char *fileName, int mode) const; private: MEDFileData(); MEDFileData(const char *fileName); diff --git a/src/MEDLoader/MEDFileMesh.hxx b/src/MEDLoader/MEDFileMesh.hxx index e6bda842b..5e66c8c2a 100644 --- a/src/MEDLoader/MEDFileMesh.hxx +++ b/src/MEDLoader/MEDFileMesh.hxx @@ -364,25 +364,25 @@ namespace ParaMEDMEM MEDCouplingAutoRefCountObjectPtr _cmesh; }; - class MEDLOADER_EXPORT MEDFileCurveLinearMesh : public MEDFileStructuredMesh + class MEDFileCurveLinearMesh : public MEDFileStructuredMesh { friend class MEDFileMesh; public: - static MEDFileCurveLinearMesh *New(); - static MEDFileCurveLinearMesh *New(const char *fileName, MEDFileMeshReadSelector *mrs=0); - static MEDFileCurveLinearMesh *New(const char *fileName, const char *mName, int dt=-1, int it=-1, MEDFileMeshReadSelector *mrs=0); - std::size_t getHeapMemorySizeWithoutChildren() const; - std::vector getDirectChildren() const; - MEDFileMesh *createNewEmpty() const; - MEDFileMesh *deepCpy() const; - MEDFileMesh *shallowCpy() const; - bool isEqual(const MEDFileMesh *other, double eps, std::string& what) const; - int getMeshDimension() const; - std::string simpleRepr() const; - std::string advancedRepr() const; - void clearNonDiscrAttributes() const; - const MEDCouplingCurveLinearMesh *getMesh() const; - void setMesh(MEDCouplingCurveLinearMesh *m); + MEDLOADER_EXPORT static MEDFileCurveLinearMesh *New(); + MEDLOADER_EXPORT static MEDFileCurveLinearMesh *New(const char *fileName, MEDFileMeshReadSelector *mrs=0); + MEDLOADER_EXPORT static MEDFileCurveLinearMesh *New(const char *fileName, const char *mName, int dt=-1, int it=-1, MEDFileMeshReadSelector *mrs=0); + MEDLOADER_EXPORT std::size_t getHeapMemorySizeWithoutChildren() const; + MEDLOADER_EXPORT std::vector getDirectChildren() const; + MEDLOADER_EXPORT MEDFileMesh *createNewEmpty() const; + MEDLOADER_EXPORT MEDFileMesh *deepCpy() const; + MEDLOADER_EXPORT MEDFileMesh *shallowCpy() const; + MEDLOADER_EXPORT bool isEqual(const MEDFileMesh *other, double eps, std::string& what) const; + MEDLOADER_EXPORT int getMeshDimension() const; + MEDLOADER_EXPORT std::string simpleRepr() const; + MEDLOADER_EXPORT std::string advancedRepr() const; + MEDLOADER_EXPORT void clearNonDiscrAttributes() const; + MEDLOADER_EXPORT const MEDCouplingCurveLinearMesh *getMesh() const; + MEDLOADER_EXPORT void setMesh(MEDCouplingCurveLinearMesh *m); private: MEDFileCurveLinearMesh(); MEDFileCurveLinearMesh(med_idt fid, const char *mName, int dt, int it, MEDFileMeshReadSelector *mrs);