-// 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
releas=(ver & 0xFF);
}
+int ParaMEDMEM::MEDCouplingSizeOfVoidStar()
+{
+ return 8*sizeof(std::size_t);
+}
+
RefCountObject::RefCountObject():_cnt(1)
{
}
{
}
+/*!
+ * Do nothing here ! It is not a bug ( I hope :) ) because all subclasses that
+ * copies using operator= should not copy the ref counter of \a other !
+ */
+RefCountObject& RefCountObject::operator=(const RefCountObject& other)
+{
+ return *this;
+}
+
bool RefCountObject::decrRef() const
{
bool ret=((--_cnt)==0);
_cnt++;
}
+int RefCountObject::getRCValue() const
+{
+ return _cnt;
+}
+
RefCountObject::~RefCountObject()
{
}