-// Copyright (C) 2007-2019 CEA/DEN, EDF R&D
+// Copyright (C) 2007-2024 CEA, EDF
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
//
// Author : Anthony Geay (CEA/DEN)
-#ifndef __PARAMEDMEM_MEDCOUPLINGREFCOUNTOBJECT_HXX__
-#define __PARAMEDMEM_MEDCOUPLINGREFCOUNTOBJECT_HXX__
+#pragma once
#include "MEDCoupling.hxx"
ON_NODES = 1,
ON_GAUSS_PT = 2,
ON_GAUSS_NE = 3,
- ON_NODES_KR = 4
+ ON_NODES_KR = 4,
+ ON_NODES_FE = 5
} TypeOfField;
//! The various temporal discretization of a field
std::vector<const BigMemoryObject *> getAllTheProgeny() const;
bool isObjectInTheProgeny(const BigMemoryObject *obj) const;
static std::size_t GetHeapMemorySizeOfObjs(const std::vector<const BigMemoryObject *>& objs);
+ virtual std::string getClassName() const { return "BigMemoryObject"; }
virtual std::size_t getHeapMemorySizeWithoutChildren() const = 0;
virtual std::vector<const BigMemoryObject *> getDirectChildrenWithNull() const = 0;
+ std::string debugHeapMemorySize() const;
virtual ~BigMemoryObject();
private:
static std::size_t GetHeapMemoryOfSet(std::set<const BigMemoryObject *>& s1, std::set<const BigMemoryObject *>& s2);
};
}
-#endif