]> Creatis software - gdcm.git/blobdiff - src/gdcmRefCounter.h
COMP: comment within comment
[gdcm.git] / src / gdcmRefCounter.h
index 23c96c0fa3c521632f0544fc5a0b6f31de1c8a6c..ee664d794356a8b88a27eaadce9443c161cf57cb 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmRefCounter.h,v $
   Language:  C++
-  Date:      $Date: 2005/10/21 07:38:00 $
-  Version:   $Revision: 1.2 $
+  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,26 +31,25 @@ 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 virtual void Delete(void)
+   inline void Delete(void)
    {
       Unregister();
    }
 
 // 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
    {