X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FMEDWrapper%2FMED_Wrapper.hxx;h=bc73c9dd997921069e5101b42606248faf6e806c;hb=b79f3c0765077420af47201c7f12b5654a6c04ed;hp=841eb4eca0b1eb3df1d5f348c9112bb010a7a819;hpb=d3e1cabf77f67408ac401e2d387e721605cb3b10;p=modules%2Fsmesh.git diff --git a/src/MEDWrapper/MED_Wrapper.hxx b/src/MEDWrapper/MED_Wrapper.hxx index 841eb4eca..bc73c9dd9 100644 --- a/src/MEDWrapper/MED_Wrapper.hxx +++ b/src/MEDWrapper/MED_Wrapper.hxx @@ -1,4 +1,4 @@ -// Copyright (C) 2007-2016 CEA/DEN, EDF R&D, OPEN CASCADE +// Copyright (C) 2007-2021 CEA/DEN, EDF R&D, OPEN CASCADE // // Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS @@ -52,7 +52,7 @@ namespace MED TWrapper& operator=(const TWrapper&); public: - TWrapper(const std::string& theFileName); + TWrapper(const std::string& theFileName, bool write, TInt theMajor=-1, TInt theVersion=-1); virtual ~TWrapper(); @@ -279,7 +279,7 @@ namespace MED EModeSwitch theMode = eFULL_INTERLACE, ERepere theSystem = eCART, EBooleen theIsElemNum = eVRAI, - EBooleen theIsElemNames = eVRAI); + EBooleen theIsElemNames = eFAUX); //! Create a MEDWrapper MED Nodes representation virtual @@ -521,7 +521,7 @@ namespace MED TInt theNbElem, EConnectivite theConnMode = eNOD, EBooleen theIsElemNum = eVRAI, - EBooleen theIsElemNames = eVRAI, + EBooleen theIsElemNames = eFAUX, EModeSwitch theMode = eFULL_INTERLACE); //! Create a MEDWrapper MED Cells representation @@ -939,6 +939,8 @@ namespace MED protected: PFile myFile; + TInt myMajor; + TInt myMinor; }; //----------------------------------------------------------------------------