X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FMEDCoupling%2FMEDCouplingRefCountObject.hxx;h=7d8c1904b20d7c3c4f9dac5366ab4f4d35008232;hb=48e298dbf14059e3392eb522cfdb634bfefeaf1b;hp=f9084503e7618159511a81609646d2ba786613e5;hpb=293a6104470482e450701aa8061d9b244f2057d5;p=tools%2Fmedcoupling.git diff --git a/src/MEDCoupling/MEDCouplingRefCountObject.hxx b/src/MEDCoupling/MEDCouplingRefCountObject.hxx index f9084503e..7d8c1904b 100644 --- a/src/MEDCoupling/MEDCouplingRefCountObject.hxx +++ b/src/MEDCoupling/MEDCouplingRefCountObject.hxx @@ -1,4 +1,4 @@ -// Copyright (C) 2007-2012 CEA/DEN, EDF R&D +// Copyright (C) 2007-2013 CEA/DEN, EDF R&D // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public @@ -23,6 +23,8 @@ #include "MEDCoupling.hxx" +#include + namespace ParaMEDMEM { typedef enum @@ -50,6 +52,11 @@ namespace ParaMEDMEM typedef bool (*FunctionToEvaluate)(const double *pos, double *res); + MEDCOUPLING_EXPORT const char *MEDCouplingVersionStr(); + MEDCOUPLING_EXPORT int MEDCouplingVersion(); + MEDCOUPLING_EXPORT void MEDCouplingVersionMajMinRel(int& maj, int& minor, int& releas); + MEDCOUPLING_EXPORT int MEDCouplingSizeOfVoidStar(); + class MEDCOUPLING_EXPORT RefCountObject { protected: @@ -58,6 +65,7 @@ namespace ParaMEDMEM public: bool decrRef() const; void incrRef() const; + virtual std::size_t getHeapMemorySize() const = 0; protected: virtual ~RefCountObject(); private: