+MEDFileData *MEDFileData::deepCpy() const
+{
+ MEDCouplingAutoRefCountObjectPtr<MEDFileFields> fields;
+ if((const MEDFileFields *)_fields)
+ fields=_fields->deepCpy();
+ MEDCouplingAutoRefCountObjectPtr<MEDFileMeshes> meshes;
+ if((const MEDFileMeshes *)_meshes)
+ meshes=_meshes->deepCpy();
+ MEDCouplingAutoRefCountObjectPtr<MEDFileParameters> params;
+ if((const MEDFileParameters *)_params)
+ params=_params->deepCpy();
+ MEDCouplingAutoRefCountObjectPtr<MEDFileJoints> joints;
+ MEDCouplingAutoRefCountObjectPtr<MEDFileData> ret=MEDFileData::New();
+ ret->_fields=fields; ret->_meshes=meshes; ret->_params=params;
+ return ret.retn();
+}
+
+std::size_t MEDFileData::getHeapMemorySizeWithoutChildren() const
+{
+ return 0;
+}
+
+std::vector<const BigMemoryObject *> MEDFileData::getDirectChildrenWithNull() const
+{
+ std::vector<const BigMemoryObject *> ret;
+ ret.push_back((const MEDFileFields *)_fields);
+ ret.push_back((const MEDFileMeshes *)_meshes);
+ ret.push_back((const MEDFileParameters *)_params);
+ return ret;
+
+}
+
+/** Return a borrowed reference (caller is not responsible for object destruction) */