X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmRefCounter.h;h=ee664d794356a8b88a27eaadce9443c161cf57cb;hb=761a1bb4651d9058436cb75dc74c6508ea7ba89b;hp=6a801ca72fd435cd5547465adecdfacac2daf8f2;hpb=33f74017149d3c5bcf1872201b77be83a4fa6427;p=gdcm.git diff --git a/src/gdcmRefCounter.h b/src/gdcmRefCounter.h index 6a801ca7..ee664d79 100644 --- a/src/gdcmRefCounter.h +++ b/src/gdcmRefCounter.h @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmRefCounter.h,v $ Language: C++ - Date: $Date: 2005/10/21 10:40:53 $ - Version: $Revision: 1.4 $ + Date: $Date: 2005/10/23 15:06:34 $ + Version: $Revision: 1.7 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -31,12 +31,11 @@ namespace gdcm */ class GDCM_EXPORT RefCounter : public Base { -public: - gdcmTypeMacro(RefCounter) + gdcmTypeMacro(RefCounter); public: // Allocator / Unallocator - /// Delete the object + /// \brief Delete the object /// \remarks The object is deleted only if its reference counting is to zero inline void Delete(void) { @@ -44,13 +43,13 @@ public: } // Reference count - /// Register the object + /// \brief Register the object /// \remarks It increments the reference counting inline void Register(void) { RefCount++; } - /// Unregister the object + /// \brief Unregister the object /// \remarks It decrements the reference counting inline void Unregister(void) { @@ -60,7 +59,7 @@ public: delete this; } } - /// Get the reference counting + /// \brief Get the reference counting /// \return Reference count inline const unsigned long &GetRefCount(void) const {