+ MEDCOUPLING_EXPORT std::size_t MEDCouplingSizeOfIDs();
+ MEDCOUPLING_EXPORT bool MEDCouplingByteOrder();
+ MEDCOUPLING_EXPORT const char *MEDCouplingByteOrderStr();
+ MEDCOUPLING_EXPORT bool IsCXX11Compiled();
+
+ class MEDCOUPLING_EXPORT BigMemoryObject
+ {
+ public:
+ std::size_t getHeapMemorySize() const;
+ std::string getHeapMemorySizeStr() const;
+ std::vector<const BigMemoryObject *> getDirectChildren() const;
+ 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);
+ };