]> Creatis software - gdcm.git/commitdiff
Doxygenation
authorjpr <jpr>
Fri, 10 Sep 2004 14:32:04 +0000 (14:32 +0000)
committerjpr <jpr>
Fri, 10 Sep 2004 14:32:04 +0000 (14:32 +0000)
src/gdcmBinEntry.cxx
src/gdcmBinEntry.h
src/gdcmDocEntrySet.cxx
src/gdcmDocument.cxx
src/gdcmElementSet.h

index 720bbd7..cee3120 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmBinEntry.cxx,v $
   Language:  C++
-  Date:      $Date: 2004/09/09 17:49:24 $
-  Version:   $Revision: 1.24 $
+  Date:      $Date: 2004/09/10 14:32:04 $
+  Version:   $Revision: 1.25 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -117,6 +117,15 @@ void gdcmBinEntry::Write(FILE *fp, FileType filetype)
 //-----------------------------------------------------------------------------
 // Public
 
+
+/// \brief Sets the value (non string) of the current Dicom Header Entry
+void gdcmBinEntry::SetVoidArea(void* area)  
+{ 
+   if (VoidArea)
+      free(VoidArea);
+   VoidArea = area;  
+}
+
 //-----------------------------------------------------------------------------
 // Protected
 
index 6f4b561..8ba66fd 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmBinEntry.h,v $
   Language:  C++
-  Date:      $Date: 2004/09/09 17:49:24 $
-  Version:   $Revision: 1.15 $
+  Date:      $Date: 2004/09/10 14:32:04 $
+  Version:   $Revision: 1.16 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -46,9 +46,7 @@ public:
    /// \brief Returns the area value of the current Dicom Header Entry
    ///  when it's not string-translatable (e.g : a LUT table)         
    void* GetVoidArea()  { return VoidArea; };
-
-   /// \brief Sets the value (non string) of the current Dicom Header Entry
-   void SetVoidArea(void * area)  { VoidArea = area;  };
+   void SetVoidArea(void* area);
          
 protected:
 
index 9a42d3c..b187140 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmDocEntrySet.cxx,v $
   Language:  C++
-  Date:      $Date: 2004/09/07 13:57:04 $
-  Version:   $Revision: 1.19 $
+  Date:      $Date: 2004/09/10 14:32:04 $
+  Version:   $Revision: 1.20 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -194,7 +194,7 @@ gdcmDictEntry* gdcmDocEntrySet::NewVirtualDictEntry(uint16_t group,
 /** \brief 
  * Creates a new DocEntry (without any 'value' ...)
  * @param   group     group  number of the underlying DictEntry
- * @param   element  element number of the underlying DictEntry 
+ * @param   elem  elem number of the underlying DictEntry 
  */
 gdcmDocEntry* gdcmDocEntrySet::NewDocEntryByNumber(uint16_t group,
                                                    uint16_t elem)
index 6a25788..e1dd533 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmDocument.cxx,v $
   Language:  C++
-  Date:      $Date: 2004/09/09 17:49:24 $
-  Version:   $Revision: 1.72 $
+  Date:      $Date: 2004/09/10 14:32:04 $
+  Version:   $Revision: 1.73 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -610,7 +610,9 @@ gdcmValEntry * gdcmDocument::ReplaceOrCreateByNumber(
    else
    {
       valEntry = dynamic_cast< gdcmValEntry* >(currentEntry);
-      if ( !valEntry )
+      if ( !valEntry ) // Euuuuh? It wasn't a ValEntry
+                       // then we change it to a ValEntry ?
+                       // Shouldn't it be considered as an error ?
       {
          // We need to promote the gdcmDocEntry to a gdcmValEntry:
          valEntry = new gdcmValEntry(currentEntry);
index 0ed6c70..df2f32a 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmElementSet.h,v $
   Language:  C++
-  Date:      $Date: 2004/09/03 14:04:02 $
-  Version:   $Revision: 1.14 $
+  Date:      $Date: 2004/09/10 14:32:04 $
+  Version:   $Revision: 1.15 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -45,9 +45,9 @@ public:
    virtual void Print(std::ostream &os = std::cout); 
    virtual void Write(FILE *fp, FileType filetype); 
 
-   /// Accessor to \ref gdcmElementSet::tagHT
+   /// Accessor to \ref gdcmElementSet::TagHT
    // Do not expose this to user (public API) !
-   //I re-add it temporaryly JPRx
+   // I re-add it temporaryly JPRx
    TagDocEntryHT &GetEntry() { return TagHT; };
 
 protected: