Salome HOME
MeshName is also stored in MEDFileFieldMultiTS now. Add it into ref.
[tools/medcoupling.git] / src / MEDLoader / MEDFileParameter.hxx
index f827b23b28f31c15ac7a768cb4d1d0e05347b8c3..08aa7ab90bfa5430d364d9bbedac354951902268 100644 (file)
@@ -22,7 +22,7 @@
 #define __MEDFILEPARAMETER_HXX__
 
 #include "MEDLoaderDefines.hxx"
-#include "MEDFileUtilities.hxx"
+#include "MEDFileUtilities.txx"
 #include "MEDCouplingMemArray.hxx"
 #include "MCAuto.hxx"
 
@@ -159,6 +159,7 @@ namespace MEDCoupling
   public:
     MEDLOADER_EXPORT static MEDFileParameters *New();
     MEDLOADER_EXPORT static MEDFileParameters *New(med_idt fid);
+    MEDLOADER_EXPORT static MEDFileParameters *New(DataArrayByte *db) { return BuildFromMemoryChunk<MEDFileParameters>(db); }
     MEDLOADER_EXPORT static MEDFileParameters *New(const std::string& fileName);
     MEDLOADER_EXPORT std::size_t getHeapMemorySizeWithoutChildren() const;
     MEDLOADER_EXPORT std::vector<const BigMemoryObject *> getDirectChildrenWithNull() const;