Salome HOME
Merge from V6_main 11/02/2013
[tools/medcoupling.git] / src / MEDCoupling / MEDCouplingRefCountObject.hxx
index f9084503e7618159511a81609646d2ba786613e5..943c40a0612216f8ffa5f587eac70485d2943d9f 100644 (file)
@@ -23,6 +23,8 @@
 
 #include "MEDCoupling.hxx"
 
+#include <cstddef>
+
 namespace ParaMEDMEM
 {
   typedef enum
@@ -50,6 +52,10 @@ 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);
+
   class MEDCOUPLING_EXPORT RefCountObject
   {
   protected:
@@ -58,6 +64,7 @@ namespace ParaMEDMEM
   public:
     bool decrRef() const;
     void incrRef() const;
+    virtual std::size_t getHeapMemorySize() const = 0;
   protected:
     virtual ~RefCountObject();
   private: