Salome HOME
Ready for pickelization
[tools/medcoupling.git] / src / MEDLoader / MEDFileData.hxx
index 6b31f20967a9ce4df6446ebe8afccf5353654fd4..c7f9233367c207fabae30f72e54fdf6871d8e3de 100644 (file)
@@ -37,6 +37,7 @@ namespace MEDCoupling
     MEDLOADER_EXPORT static MEDFileData *New(const std::string& fileName);
     MEDLOADER_EXPORT static MEDFileData *New(med_idt fid);
     MEDLOADER_EXPORT static MEDFileData *New();
+    MEDLOADER_EXPORT static MEDFileData *New(DataArrayByte *db) { return BuildFromMemoryChunk<MEDFileData>(db); }
     MEDLOADER_EXPORT MEDFileData *deepCopy() const;
     MEDLOADER_EXPORT std::size_t getHeapMemorySizeWithoutChildren() const;
     MEDLOADER_EXPORT std::vector<const BigMemoryObject *> getDirectChildrenWithNull() const;