]> Creatis software - gdcm.git/commitdiff
* Erroneous leading white fix:
authorfrog <frog>
Sun, 20 Jun 2004 18:08:46 +0000 (18:08 +0000)
committerfrog <frog>
Sun, 20 Jun 2004 18:08:46 +0000 (18:08 +0000)
     - src/gdcmDict.cxx: getline(from,xxx) doesn't remove the leading
       white[s] (as opposed to from >> xxx, that removes it [them].
     - src/gdcmTS.cxx: ditto.
     - gdcmPython/testSuite.py: dirty related kludge removed.
    * src/*: remaining references to gdcmParser removed.
    * src/*[cxx|h]: added copy[way]left header.    --- Frog

60 files changed:
ChangeLog
gdcmPython/testSuite.py
src/gdcm.h
src/gdcmBinEntry.cxx
src/gdcmBinEntry.h
src/gdcmCommon.h
src/gdcmDebug.cxx
src/gdcmDebug.h
src/gdcmDicomDirElement.cxx
src/gdcmDicomDirElement.h
src/gdcmDicomDirImage.cxx
src/gdcmDicomDirImage.h
src/gdcmDicomDirMeta.cxx
src/gdcmDicomDirMeta.h
src/gdcmDicomDirPatient.cxx
src/gdcmDicomDirPatient.h
src/gdcmDicomDirSerie.cxx
src/gdcmDicomDirSerie.h
src/gdcmDicomDirStudy.cxx
src/gdcmDicomDirStudy.h
src/gdcmDict.cxx
src/gdcmDict.h
src/gdcmDictEntry.cxx
src/gdcmDictEntry.h
src/gdcmDictSet.cxx
src/gdcmDictSet.h
src/gdcmDirList.cxx
src/gdcmDirList.h
src/gdcmDocEntry.cxx
src/gdcmDocEntry.h
src/gdcmDocEntrySet.cxx
src/gdcmDocEntrySet.h
src/gdcmDocument.cxx
src/gdcmElementSet.cxx
src/gdcmElementSet.h
src/gdcmException.cxx
src/gdcmException.h
src/gdcmFile.cxx
src/gdcmFile.h
src/gdcmGlobal.cxx
src/gdcmGlobal.h
src/gdcmHeader.cxx
src/gdcmHeader.h
src/gdcmHeaderHelper.cxx
src/gdcmHeaderHelper.h
src/gdcmObject.cxx
src/gdcmObject.h
src/gdcmParsePixels.cxx
src/gdcmRLE.cxx
src/gdcmSQItem.h
src/gdcmSeqEntry.cxx
src/gdcmSeqEntry.h
src/gdcmTS.cxx
src/gdcmTS.h
src/gdcmUtil.cxx
src/gdcmUtil.h
src/gdcmVR.cxx
src/gdcmVR.h
src/gdcmValEntry.cxx
src/gdcmValEntry.h

index f5c22113dd7f7d2f5920bb495e67812dd3f5bcb4..cb3908f362b928e0c7f27c2f51325b6ceb01cfc9 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
        of 2004-06-18 in Changelog file for the call to valgrind).
      - on segfaults: ctest now passes all the tests but one (no more
        segfaults).
+    * Erroneous leading white fix:
+     - src/gdcmDict.cxx: getline(from,xxx) doesn't remove the leading
+       white[s] (as opposed to from >> xxx, that removes it [them].
+     - src/gdcmTS.cxx: ditto.
+     - gdcmPython/testSuite.py: dirty related kludge removed.
+    * src/*: remaining references to gdcmParser removed.
+    * src/*[cxx|h]: added copy[way]left header.
 
 2004-06-18 Eric Boix <Eric.Boix@creatis.insa-lyon.fr>
     * In order to fix writing of dicom files:
index 39b3bdafb27479b55219539e6c9298453304b483..8ef87055b1993898d845c4e1d7d2f5d8cf614f93 100644 (file)
@@ -545,9 +545,7 @@ class gdcmTestCase(unittest.TestCase):
 
          valDict = reader.GetEntry()
          for subEntry in entry[1]:
-            #### BUG FIXME TODO: an odd space was introduced ! Previously
-            ####                 it worked with element = subEntry[0]
-            element = " " + subEntry[0]
+            element = subEntry[0]
             value   = subEntry[1]
             self.assertEqual(valDict[element], value,
                              ("Wrong %s for file %s (got %s, shoud be %s)"
index fd2500fc48e3f51d74bceaf766c63e3df60b9055..6b7a9b7da1d08f85e976f86dab6b98fc7b69b9c0 100644 (file)
@@ -1,5 +1,21 @@
-// gdcm.h
-//-----------------------------------------------------------------------------
+/*=========================================================================
+                                                                                
+  Program:   gdcm
+  Module:    $RCSfile: gdcm.h,v $
+  Language:  C++
+  Date:      $Date: 2004/06/20 18:08:47 $
+  Version:   $Revision: 1.48 $
+                                                                                
+  Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
+  l'Image). All rights reserved. See Doc/License.txt or
+  http://www.creatis.insa-lyon.fr/Public/Gdcm/License.htm for details.
+                                                                                
+     This software is distributed WITHOUT ANY WARRANTY; without even
+     the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+     PURPOSE.  See the above copyright notices for more information.
+                                                                                
+=========================================================================*/
+
 #ifndef GDCM_H
 #define GDCM_H
 
index b24d5c387e2a1b4c390fa8f11f789ed12993fe24..0a18e65f34300bbaebf4adf9d70a32e15214bb75 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmBinEntry.cxx,v $
   Language:  C++
-  Date:      $Date: 2004/06/19 23:51:03 $
-  Version:   $Revision: 1.10 $
+  Date:      $Date: 2004/06/20 18:08:47 $
+  Version:   $Revision: 1.11 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -36,12 +36,12 @@ gdcmBinEntry::gdcmBinEntry(gdcmDictEntry* e) : gdcmValEntry(e) {
  */
 gdcmBinEntry::gdcmBinEntry(gdcmDocEntry* e) : gdcmValEntry(e->GetDictEntry()){
    this->UsableLength = e->GetLength();
-       this->ReadLength   = e->GetReadLength();        
-       this->ImplicitVR   = e->IsImplicitVR();
-       this->Offset       = e->GetOffset();    
-       this->printLevel   = e->GetPrintLevel();        
-       this->SQDepthLevel = e->GetDepthLevel();        
-       
+   this->ReadLength   = e->GetReadLength();
+   this->ImplicitVR   = e->IsImplicitVR();
+   this->Offset       = e->GetOffset();
+   this->printLevel   = e->GetPrintLevel();
+   this->SQDepthLevel = e->GetDepthLevel();
+
    this->voidArea = NULL; // let's be carefull !
 }
 
index 5144e03fa3b32a2dca59c4ec7aa6ac4367e99e27..3865bcd265e1315034f8706deb3517f11796590e 100644 (file)
@@ -1,5 +1,21 @@
-// gdcmBinEntry.h
-//-----------------------------------------------------------------------------
+/*=========================================================================
+                                                                                
+  Program:   gdcm
+  Module:    $RCSfile: gdcmBinEntry.h,v $
+  Language:  C++
+  Date:      $Date: 2004/06/20 18:08:47 $
+  Version:   $Revision: 1.8 $
+                                                                                
+  Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
+  l'Image). All rights reserved. See Doc/License.txt or
+  http://www.creatis.insa-lyon.fr/Public/Gdcm/License.htm for details.
+                                                                                
+     This software is distributed WITHOUT ANY WARRANTY; without even
+     the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+     PURPOSE.  See the above copyright notices for more information.
+                                                                                
+=========================================================================*/
+
 #ifndef GDCMBinEntry_H
 #define GDCMBinEntry_H
 
@@ -20,7 +36,7 @@ class GDCM_EXPORT gdcmBinEntry  : public gdcmValEntry {
 public:
 
    gdcmBinEntry(gdcmDictEntry* e);
-   gdcmBinEntry(gdcmDocEntry* d);       
+   gdcmBinEntry(gdcmDocEntry* d);
    ~gdcmBinEntry(void);
    
    void Print(std::ostream &os = std::cout);
index 46c3bc299485b32d956af6106e48f7f4da6ab8e0..2eaca042ef662838da4d3af06aa3ee812c9c39e8 100644 (file)
@@ -1,5 +1,21 @@
-//gdcmCommon.h
-//-----------------------------------------------------------------------------
+/*=========================================================================
+                                                                                
+  Program:   gdcm
+  Module:    $RCSfile: gdcmCommon.h,v $
+  Language:  C++
+  Date:      $Date: 2004/06/20 18:08:47 $
+  Version:   $Revision: 1.27 $
+                                                                                
+  Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
+  l'Image). All rights reserved. See Doc/License.txt or
+  http://www.creatis.insa-lyon.fr/Public/Gdcm/License.htm for details.
+                                                                                
+     This software is distributed WITHOUT ANY WARRANTY; without even
+     the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+     PURPOSE.  See the above copyright notices for more information.
+                                                                                
+=========================================================================*/
+
 #ifndef GDCMCOMMON_H
 #define GDCMCOMMON_H
 
@@ -40,7 +56,7 @@
 typedef  unsigned short guint16;
 typedef  unsigned int   guint32;
 typedef  short          gint16;
-typedef  int                   gint32;
+typedef  int            gint32;
 #define UINT32_MAX    (4294967295U)
 #endif //HAVE_NO_STDINT_H
 #endif
@@ -48,7 +64,7 @@ typedef  int                  gint32;
 #ifdef _MSC_VER 
 typedef  unsigned short guint16;
 typedef  unsigned int   guint32;
-typedef  short                 gint16;
+typedef  short          gint16;
 typedef  int            gint32;
 #define UINT32_MAX    (4294967295U)
 #endif
index 9963df5a1e699001a949e5efcdfe76523b6b8491..6868b8a4598104d6022ce2219635fc0b6b272e7a 100644 (file)
@@ -1,3 +1,21 @@
+/*=========================================================================
+                                                                                
+  Program:   gdcm
+  Module:    $RCSfile: gdcmDebug.cxx,v $
+  Language:  C++
+  Date:      $Date: 2004/06/20 18:08:47 $
+  Version:   $Revision: 1.2 $
+                                                                                
+  Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
+  l'Image). All rights reserved. See Doc/License.txt or
+  http://www.creatis.insa-lyon.fr/Public/Gdcm/License.htm for details.
+                                                                                
+     This software is distributed WITHOUT ANY WARRANTY; without even
+     the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+     PURPOSE.  See the above copyright notices for more information.
+                                                                                
+=========================================================================*/
+
 #include <iostream>
 #include "gdcmDebug.h"
 
@@ -8,7 +26,6 @@
 gdcmDebug dbg;
 
 /**
- * \ingroup gdcmDebug
  * \brief   constructor
  * @param level debug level
  */ 
@@ -17,7 +34,6 @@ gdcmDebug::gdcmDebug(int level) {
 }
 
 /**
- * \ingroup gdcmDebug
  * \brief   Accessor
  * @param   level Set the debug level
  */ 
@@ -26,7 +42,6 @@ void gdcmDebug::SetDebug(int level) {
 }
 
 /**
- * \ingroup gdcmDebug
  * \brief   Verbose 
  * @param Level level
  * @param Msg1 first message part
@@ -39,7 +54,6 @@ void gdcmDebug::Verbose(int Level, const char * Msg1, const char * Msg2) {
 }
 
 /**
- * \ingroup gdcmDebug
  * \brief   Error 
  * @param Test test
  * @param Msg1 first message part
@@ -53,7 +67,6 @@ void gdcmDebug::Error( bool Test, const char * Msg1, const char * Msg2) {
 }
 
 /**
- * \ingroup gdcmDebug
  * \brief   Error 
  * @param Msg1 first message part
  * @param Msg2 second message part
@@ -66,7 +79,6 @@ void gdcmDebug::Error(const char* Msg1, const char* Msg2,
 }
 
 /**
- * \ingroup gdcmDebug
  * \brief   Assert 
  * @param Level level 
  * @param Test test
@@ -82,7 +94,6 @@ void gdcmDebug::Error(const char* Msg1, const char* Msg2,
 }
 
 /**
- * \ingroup gdcmDebug
  * \brief   Exit 
  * @param a return code 
  */
index 86a2002203cc564cba8308fcc4376a43f0ac895d..e1e8fde901a778abbcceaa60b87ef3a5d7bd3b03 100644 (file)
@@ -1,5 +1,21 @@
-// gdcmDebug.h
-//-----------------------------------------------------------------------------
+/*=========================================================================
+                                                                                
+  Program:   gdcm
+  Module:    $RCSfile: gdcmDebug.h,v $
+  Language:  C++
+  Date:      $Date: 2004/06/20 18:08:47 $
+  Version:   $Revision: 1.3 $
+                                                                                
+  Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
+  l'Image). All rights reserved. See Doc/License.txt or
+  http://www.creatis.insa-lyon.fr/Public/Gdcm/License.htm for details.
+                                                                                
+     This software is distributed WITHOUT ANY WARRANTY; without even
+     the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+     PURPOSE.  See the above copyright notices for more information.
+                                                                                
+=========================================================================*/
+
 #ifndef GDCMDEBUG_H
 #define GDCMDEBUG_H
 
index f0f82ed195fe3a2e061f6142ee1c146d7db4b331..edef2e05a1a191c7bd6e6763ff17af258eb6f22b 100644 (file)
@@ -1,5 +1,21 @@
-// gdcmDicomDirElement.cxx
-//-----------------------------------------------------------------------------
+/*=========================================================================
+                                                                                
+  Program:   gdcm
+  Module:    $RCSfile: gdcmDicomDirElement.cxx,v $
+  Language:  C++
+  Date:      $Date: 2004/06/20 18:08:47 $
+  Version:   $Revision: 1.12 $
+                                                                                
+  Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
+  l'Image). All rights reserved. See Doc/License.txt or
+  http://www.creatis.insa-lyon.fr/Public/Gdcm/License.htm for details.
+                                                                                
+     This software is distributed WITHOUT ANY WARRANTY; without even
+     the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+     PURPOSE.  See the above copyright notices for more information.
+                                                                                
+=========================================================================*/
+
 #include <fstream>
 #include <stdio.h>    // For sprintf
 #include <iostream>
 #include "gdcmDictSet.h"
 
 
-/**
- * \ingroup gdcmDicomDirElement
- * \brief   Class for the chained lists from the file 'Dicts/DicomDir.dic'
- */
 //-----------------------------------------------------------------------------
 // Constructor / Destructor
 
 /**
- * \ingroup gdcmDicomDirElement
  * \brief   constructor : populates the chained lists 
  *          from the file 'Dicts/DicomDir.dic'
  */
index cfbb4c638d0aa0df54af3dd1d08bf42bad4eb8ac..578dfa77783cc89864dd6680d7a24347d275123e 100644 (file)
@@ -1,5 +1,21 @@
-// gdcmDicomDirElement.h
-//-----------------------------------------------------------------------------
+/*=========================================================================
+                                                                                
+  Program:   gdcm
+  Module:    $RCSfile: gdcmDicomDirElement.h,v $
+  Language:  C++
+  Date:      $Date: 2004/06/20 18:08:47 $
+  Version:   $Revision: 1.8 $
+                                                                                
+  Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
+  l'Image). All rights reserved. See Doc/License.txt or
+  http://www.creatis.insa-lyon.fr/Public/Gdcm/License.htm for details.
+                                                                                
+     This software is distributed WITHOUT ANY WARRANTY; without even
+     the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+     PURPOSE.  See the above copyright notices for more information.
+                                                                                
+=========================================================================*/
+
 #ifndef GDCMDICOMDIRELEMENT_H
 #define GDCMDICOMDIRELEMENT_H
 
 typedef struct
 {
    /// DicomGroup number
-       unsigned short int group;
+   unsigned short int group;
    /// DicomElement number
-       unsigned short int elem;
-   /// value (coded as a std::string) of the Element   
-       std::string value;
+   unsigned short int elem;
+   /// value (coded as a std::string) of the Element
+   std::string value;
 } gdcmElement;
 
 typedef std::list<gdcmElement> ListDicomDirMetaElem;
@@ -28,7 +44,7 @@ typedef std::list<gdcmElement> ListDicomDirImageElem;
 /**
  * \ingroup gdcmDicomDirElement
  * \brief    gdcmDicomDirElement represents elements contained in a dicom dir
- *
+ *           Class for the chained lists from the file 'Dicts/DicomDir.dic'
  */
 class GDCM_EXPORT gdcmDicomDirElement
 {
@@ -37,7 +53,6 @@ public:
    ~gdcmDicomDirElement(void);
 
   /**
-    * \ingroup gdcmParser
     * \brief   canonical Printer 
     * \sa    SetPrintLevel
   */ 
index a8905981bc6e7102c4b1025bfa937399a490a578..445bbb974ddd23e254c3155363a6d6a6e3dc012b 100644 (file)
@@ -1,5 +1,21 @@
-// gdcmDicomDirImage.cxx
-//-----------------------------------------------------------------------------
+/*=========================================================================
+                                                                                
+  Program:   gdcm
+  Module:    $RCSfile: gdcmDicomDirImage.cxx,v $
+  Language:  C++
+  Date:      $Date: 2004/06/20 18:08:47 $
+  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
+  http://www.creatis.insa-lyon.fr/Public/Gdcm/License.htm for details.
+                                                                                
+     This software is distributed WITHOUT ANY WARRANTY; without even
+     the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+     PURPOSE.  See the above copyright notices for more information.
+                                                                                
+=========================================================================*/
+
 #include "gdcmDicomDirImage.h"
 #include "gdcmValEntry.h"
 //-----------------------------------------------------------------------------
index e2d74927adde3c06b0af98ca75625710a7f9981e..82a0ced001404ef95ae73ccae7bba08ddf43c4ac 100644 (file)
@@ -1,5 +1,21 @@
-// gdcmDicomDirImage.h
-//-----------------------------------------------------------------------------
+/*=========================================================================
+                                                                                
+  Program:   gdcm
+  Module:    $RCSfile: gdcmDicomDirImage.h,v $
+  Language:  C++
+  Date:      $Date: 2004/06/20 18:08:47 $
+  Version:   $Revision: 1.5 $
+                                                                                
+  Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
+  l'Image). All rights reserved. See Doc/License.txt or
+  http://www.creatis.insa-lyon.fr/Public/Gdcm/License.htm for details.
+                                                                                
+     This software is distributed WITHOUT ANY WARRANTY; without even
+     the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+     PURPOSE.  See the above copyright notices for more information.
+                                                                                
+=========================================================================*/
+
 #ifndef GDCMDICOMIMAGE_H
 #define GDCMDICOMIMAGE_H
 
index 9a017cac190734902385c7a9dd4a07a630fd8754..2cec741b7163f9845d4600572a6d8acc2026c961 100644 (file)
@@ -1,5 +1,21 @@
-// gdcmDicomDirMeta.h
-//-----------------------------------------------------------------------------
+/*=========================================================================
+                                                                                
+  Program:   gdcm
+  Module:    $RCSfile: gdcmDicomDirMeta.cxx,v $
+  Language:  C++
+  Date:      $Date: 2004/06/20 18:08:47 $
+  Version:   $Revision: 1.4 $
+                                                                                
+  Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
+  l'Image). All rights reserved. See Doc/License.txt or
+  http://www.creatis.insa-lyon.fr/Public/Gdcm/License.htm for details.
+                                                                                
+     This software is distributed WITHOUT ANY WARRANTY; without even
+     the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+     PURPOSE.  See the above copyright notices for more information.
+                                                                                
+=========================================================================*/
+
 #include "gdcmDicomDirMeta.h"
 #include "gdcmDocument.h"
 
index eef83e02a1e2983717ab6b044803ab76e19f6347..1f9b3a40de8c40aab065e99a5c36489caccf2384 100644 (file)
@@ -1,5 +1,21 @@
-// gdcmDicomDirMeta.h
-//-----------------------------------------------------------------------------
+/*=========================================================================
+                                                                                
+  Program:   gdcm
+  Module:    $RCSfile: gdcmDicomDirMeta.h,v $
+  Language:  C++
+  Date:      $Date: 2004/06/20 18:08:47 $
+  Version:   $Revision: 1.4 $
+                                                                                
+  Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
+  l'Image). All rights reserved. See Doc/License.txt or
+  http://www.creatis.insa-lyon.fr/Public/Gdcm/License.htm for details.
+                                                                                
+     This software is distributed WITHOUT ANY WARRANTY; without even
+     the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+     PURPOSE.  See the above copyright notices for more information.
+                                                                                
+=========================================================================*/
+
 #ifndef GDCMDICOMDIRMETA_H
 #define GDCMDICOMDIRMETA_H
 
index 5c42ad6d65a63629f96bbb566a6a81d3f2443d3e..e4c646d0275001f138edeefc362c6885add8a43a 100644 (file)
@@ -1,5 +1,21 @@
-// gdcmDicomDirPatient.cxx
-//-----------------------------------------------------------------------------
+/*=========================================================================
+                                                                                
+  Program:   gdcm
+  Module:    $RCSfile: gdcmDicomDirPatient.cxx,v $
+  Language:  C++
+  Date:      $Date: 2004/06/20 18:08:47 $
+  Version:   $Revision: 1.8 $
+                                                                                
+  Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
+  l'Image). All rights reserved. See Doc/License.txt or
+  http://www.creatis.insa-lyon.fr/Public/Gdcm/License.htm for details.
+                                                                                
+     This software is distributed WITHOUT ANY WARRANTY; without even
+     the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+     PURPOSE.  See the above copyright notices for more information.
+                                                                                
+=========================================================================*/
+
 #include "gdcmDicomDirPatient.h"
 #include "gdcmDicomDirElement.h"
 #include "gdcmGlobal.h"
index 87c039bdea25d90e023a722c2c3bd0e4e6216742..cbd99e4a5774dbeb6ca42567f796d1c1fe396700 100644 (file)
@@ -1,5 +1,21 @@
-// gdcmDicomDirPatient.h
-//-----------------------------------------------------------------------------
+/*=========================================================================
+                                                                                
+  Program:   gdcm
+  Module:    $RCSfile: gdcmDicomDirPatient.h,v $
+  Language:  C++
+  Date:      $Date: 2004/06/20 18:08:47 $
+  Version:   $Revision: 1.4 $
+                                                                                
+  Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
+  l'Image). All rights reserved. See Doc/License.txt or
+  http://www.creatis.insa-lyon.fr/Public/Gdcm/License.htm for details.
+                                                                                
+     This software is distributed WITHOUT ANY WARRANTY; without even
+     the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+     PURPOSE.  See the above copyright notices for more information.
+                                                                                
+=========================================================================*/
+
 #ifndef GDCMPATIENT_H
 #define GDCMPATIENT_H
 
index f3566ae099b6769c67a65228f62444076cf10e09..ecdb07c29ddcd296011de71cf4b276e388f02732 100644 (file)
@@ -1,5 +1,21 @@
-// gdcmDicomDirSerie.cxx
-//-----------------------------------------------------------------------------
+/*=========================================================================
+                                                                                
+  Program:   gdcm
+  Module:    $RCSfile: gdcmDicomDirSerie.cxx,v $
+  Language:  C++
+  Date:      $Date: 2004/06/20 18:08:47 $
+  Version:   $Revision: 1.10 $
+                                                                                
+  Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
+  l'Image). All rights reserved. See Doc/License.txt or
+  http://www.creatis.insa-lyon.fr/Public/Gdcm/License.htm for details.
+                                                                                
+     This software is distributed WITHOUT ANY WARRANTY; without even
+     the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+     PURPOSE.  See the above copyright notices for more information.
+                                                                                
+=========================================================================*/
+
 #include "gdcmDicomDirSerie.h"
 #include "gdcmDicomDirElement.h"
 #include "gdcmGlobal.h"
index c009dc081f5f69dec16f051120c52517d13db356..f96f18bfca3102858131de3e7212218249848547 100644 (file)
@@ -1,5 +1,21 @@
-// gdcmDicomDirSerie.h
-//-----------------------------------------------------------------------------
+/*=========================================================================
+                                                                                
+  Program:   gdcm
+  Module:    $RCSfile: gdcmDicomDirSerie.h,v $
+  Language:  C++
+  Date:      $Date: 2004/06/20 18:08:47 $
+  Version:   $Revision: 1.4 $
+                                                                                
+  Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
+  l'Image). All rights reserved. See Doc/License.txt or
+  http://www.creatis.insa-lyon.fr/Public/Gdcm/License.htm for details.
+                                                                                
+     This software is distributed WITHOUT ANY WARRANTY; without even
+     the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+     PURPOSE.  See the above copyright notices for more information.
+                                                                                
+=========================================================================*/
+
 #ifndef GDCMDICOMDIRSERIE_H
 #define GDCMDICOMDIRSERIE_H
 
index 9a9f401c27984a0419ffda4e0b746084b551baf7..3dffdb3a6e1d2e437eee769db7bf8eb9120a7ca1 100644 (file)
@@ -1,5 +1,21 @@
-// gdcmDicomDirStudy.cxx
-//-----------------------------------------------------------------------------
+/*=========================================================================
+                                                                                
+  Program:   gdcm
+  Module:    $RCSfile: gdcmDicomDirStudy.cxx,v $
+  Language:  C++
+  Date:      $Date: 2004/06/20 18:08:47 $
+  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
+  http://www.creatis.insa-lyon.fr/Public/Gdcm/License.htm for details.
+                                                                                
+     This software is distributed WITHOUT ANY WARRANTY; without even
+     the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+     PURPOSE.  See the above copyright notices for more information.
+                                                                                
+=========================================================================*/
+
 #include "gdcmDicomDirStudy.h"
 #include "gdcmDicomDirElement.h"
 #include "gdcmGlobal.h"
index 75dbfa862bf158e1caf7df15d37280adfe511991..26c7834f0c78c0b045b49fb9cc4373fca86a58f4 100644 (file)
@@ -1,5 +1,21 @@
-// gdcmDicomDirStudy.h
-//-----------------------------------------------------------------------------
+/*=========================================================================
+                                                                                
+  Program:   gdcm
+  Module:    $RCSfile: gdcmDicomDirStudy.h,v $
+  Language:  C++
+  Date:      $Date: 2004/06/20 18:08:47 $
+  Version:   $Revision: 1.4 $
+                                                                                
+  Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
+  l'Image). All rights reserved. See Doc/License.txt or
+  http://www.creatis.insa-lyon.fr/Public/Gdcm/License.htm for details.
+                                                                                
+     This software is distributed WITHOUT ANY WARRANTY; without even
+     the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+     PURPOSE.  See the above copyright notices for more information.
+                                                                                
+=========================================================================*/
+
 #ifndef GDCMDICOMDIRSTUDY_H
 #define GDCMDICOMDIRSTUDY_H
 
index 46edb403e836229cf88e29f171d4c5e9b11ff5db..4a210c3bf572ba126dde3bd43beb1239bd044dba 100644 (file)
@@ -1,5 +1,21 @@
-// gdcmDict.cxx
-//-----------------------------------------------------------------------------
+/*=========================================================================
+                                                                                
+  Program:   gdcm
+  Module:    $RCSfile: gdcmDict.cxx,v $
+  Language:  C++
+  Date:      $Date: 2004/06/20 18:08:47 $
+  Version:   $Revision: 1.35 $
+                                                                                
+  Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
+  l'Image). All rights reserved. See Doc/License.txt or
+  http://www.creatis.insa-lyon.fr/Public/Gdcm/License.htm for details.
+                                                                                
+     This software is distributed WITHOUT ANY WARRANTY; without even
+     the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+     PURPOSE.  See the above copyright notices for more information.
+                                                                                
+=========================================================================*/
+
 #include "gdcmDict.h"
 #include "gdcmUtil.h"
 #include "gdcmDebug.h"
@@ -31,6 +47,7 @@ gdcmDict::gdcmDict(std::string & FileName) {
       from >> element;
       from >> vr;
       from >> fourth;
+      eatwhite(from);
       getline(from, name);    /// MEMORY LEAK in std::getline<>
 
       gdcmDictEntry * newEntry = new gdcmDictEntry(group, element,
index 66f0df52ed2207d1a0cefe565150beb13e813353..9931f7bcab26a123c54d07c08c1f7bd776cf3178 100644 (file)
@@ -1,5 +1,21 @@
-// gdcmDict.h
-//-----------------------------------------------------------------------------
+/*=========================================================================
+                                                                                
+  Program:   gdcm
+  Module:    $RCSfile: gdcmDict.h,v $
+  Language:  C++
+  Date:      $Date: 2004/06/20 18:08:47 $
+  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
+  http://www.creatis.insa-lyon.fr/Public/Gdcm/License.htm for details.
+                                                                                
+     This software is distributed WITHOUT ANY WARRANTY; without even
+     the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+     PURPOSE.  See the above copyright notices for more information.
+                                                                                
+=========================================================================*/
+
 #ifndef GDCMDICT_H
 #define GDCMDICT_H
 
@@ -28,22 +44,22 @@ typedef std::map<TagName, gdcmDictEntry*> TagNameHT;
 class GDCM_EXPORT gdcmDict {
 public:
    gdcmDict(std::string & FileName);
-       ~gdcmDict();
+   ~gdcmDict();
 
 // Print
-       void Print(std::ostream &os = std::cout);
-       void PrintByKey(std::ostream &os = std::cout);
-       void PrintByName(std::ostream &os = std::cout); 
+   void Print(std::ostream &os = std::cout);
+   void PrintByKey(std::ostream &os = std::cout);
+   void PrintByName(std::ostream &os = std::cout);
 
 // Entries
    bool AddNewEntry (gdcmDictEntry *NewEntry);
-       bool ReplaceEntry(gdcmDictEntry *NewEntry);
-       bool RemoveEntry (TagKey key);
-       bool RemoveEntry (guint16 group, guint16 element);
-
+   bool ReplaceEntry(gdcmDictEntry *NewEntry);
+   bool RemoveEntry (TagKey key);
+   bool RemoveEntry (guint16 group, guint16 element);
+   
 // Tag
-       gdcmDictEntry *GetDictEntryByName(TagName name);
-       gdcmDictEntry *GetDictEntryByNumber(guint16 group, guint16 element);
+   gdcmDictEntry *GetDictEntryByName(TagName name);
+   gdcmDictEntry *GetDictEntryByNumber(guint16 group, guint16 element);
 
    std::list<std::string> *GetDictEntryNames(void);
    std::map<std::string, std::list<std::string> > *
@@ -67,9 +83,9 @@ private:
    /// ASCII file holding the Dictionnary
    std::string filename;
    /// Access through TagKey (see alternate access with NameHt)
-       TagKeyHT  KeyHt;
+   TagKeyHT  KeyHt;
    /// Access through TagName (see alternate access with KeyHt)
-       TagNameHT NameHt;
+   TagNameHT NameHt;
 };
 
 //-----------------------------------------------------------------------------
index 598a083ca58c50a0fd463af00fdb5e791ea17f80..8001f2d990cb47604808c18b20593c7425f9522c 100644 (file)
@@ -1,5 +1,21 @@
-// gdcmDictEntry.cxx
-//-----------------------------------------------------------------------------
+/*=========================================================================
+                                                                                
+  Program:   gdcm
+  Module:    $RCSfile: gdcmDictEntry.cxx,v $
+  Language:  C++
+  Date:      $Date: 2004/06/20 18:08:47 $
+  Version:   $Revision: 1.21 $
+                                                                                
+  Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
+  l'Image). All rights reserved. See Doc/License.txt or
+  http://www.creatis.insa-lyon.fr/Public/Gdcm/License.htm for details.
+                                                                                
+     This software is distributed WITHOUT ANY WARRANTY; without even
+     the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+     PURPOSE.  See the above copyright notices for more information.
+                                                                                
+=========================================================================*/
+
 #include "gdcmDictEntry.h"
 #include "gdcmDebug.h"
 
index affbd53d4438c8561fce349b41f67c282bd70f78..fda8b998202a0acba57912461d2ff866362022ba 100644 (file)
@@ -1,5 +1,21 @@
-// gdcmDictEntry.h
-//-----------------------------------------------------------------------------
+/*=========================================================================
+                                                                                
+  Program:   gdcm
+  Module:    $RCSfile: gdcmDictEntry.h,v $
+  Language:  C++
+  Date:      $Date: 2004/06/20 18:08:47 $
+  Version:   $Revision: 1.14 $
+                                                                                
+  Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
+  l'Image). All rights reserved. See Doc/License.txt or
+  http://www.creatis.insa-lyon.fr/Public/Gdcm/License.htm for details.
+                                                                                
+     This software is distributed WITHOUT ANY WARRANTY; without even
+     the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+     PURPOSE.  See the above copyright notices for more information.
+                                                                                
+=========================================================================*/
+
 #ifndef GDCMDICTENTRY_H
 #define GDCMDICTENTRY_H
 
index 882344aeef27d64adc399083d7e3b3b4f851b66f..e15f6a7f1a9a07e8c852d0542b3eb97946191aec 100644 (file)
@@ -1,5 +1,21 @@
-// gdcmDictEntry
-//-----------------------------------------------------------------------------
+/*=========================================================================
+                                                                                
+  Program:   gdcm
+  Module:    $RCSfile: gdcmDictSet.cxx,v $
+  Language:  C++
+  Date:      $Date: 2004/06/20 18:08:47 $
+  Version:   $Revision: 1.31 $
+                                                                                
+  Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
+  l'Image). All rights reserved. See Doc/License.txt or
+  http://www.creatis.insa-lyon.fr/Public/Gdcm/License.htm for details.
+                                                                                
+     This software is distributed WITHOUT ANY WARRANTY; without even
+     the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+     PURPOSE.  See the above copyright notices for more information.
+                                                                                
+=========================================================================*/
+
 #include "gdcmDictSet.h"
 #include "gdcmDebug.h"
 #include <fstream>
index 2c480fff5971b89aafb541324273b2cc40fb4539..c4cca7c9944541ff74a64f19140eb332423961cd 100644 (file)
@@ -1,5 +1,21 @@
-// gdcmDictSet.h
-//-----------------------------------------------------------------------------
+/*=========================================================================
+                                                                                
+  Program:   gdcm
+  Module:    $RCSfile: gdcmDictSet.h,v $
+  Language:  C++
+  Date:      $Date: 2004/06/20 18:08:47 $
+  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
+  http://www.creatis.insa-lyon.fr/Public/Gdcm/License.htm for details.
+                                                                                
+     This software is distributed WITHOUT ANY WARRANTY; without even
+     the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+     PURPOSE.  See the above copyright notices for more information.
+                                                                                
+=========================================================================*/
+
 #ifndef GDCMDICTSET_H
 #define GDCMDICTSET_H
 
index 5f8f3ccc2536bb4eb548efe2ed4dced09dec67a3..e30f633728778482278b0bd9a99bff737d5fdd9c 100644 (file)
@@ -1,5 +1,21 @@
-// gdcmDirList.cxx
-//-----------------------------------------------------------------------------
+/*=========================================================================
+                                                                                
+  Program:   gdcm
+  Module:    $RCSfile: gdcmDirList.cxx,v $
+  Language:  C++
+  Date:      $Date: 2004/06/20 18:08:47 $
+  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
+  http://www.creatis.insa-lyon.fr/Public/Gdcm/License.htm for details.
+                                                                                
+     This software is distributed WITHOUT ANY WARRANTY; without even
+     the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+     PURPOSE.  See the above copyright notices for more information.
+                                                                                
+=========================================================================*/
+
 #include "gdcmDirList.h"
 #include "gdcmUtil.h"
 
index 0ffb6c1ebcc63c88abcdf696b9eab5821870cffc..de3576664a5a896d14a1ab423e332cba38bc19ed 100644 (file)
@@ -1,5 +1,21 @@
-// gdcmDirList.h
-//-----------------------------------------------------------------------------
+/*=========================================================================
+                                                                                
+  Program:   gdcm
+  Module:    $RCSfile: gdcmDirList.h,v $
+  Language:  C++
+  Date:      $Date: 2004/06/20 18:08:47 $
+  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
+  http://www.creatis.insa-lyon.fr/Public/Gdcm/License.htm for details.
+                                                                                
+     This software is distributed WITHOUT ANY WARRANTY; without even
+     the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+     PURPOSE.  See the above copyright notices for more information.
+                                                                                
+=========================================================================*/
+
 #ifndef GDCMDIRLIST_H
 #define GDCMDIRLIST_H
 
index e1154793d64849fdd02d0e2e9b2a343ec473855c..0afb302f29365000ad3a1f872ad36d6393af9bbe 100644 (file)
@@ -1,6 +1,20 @@
-// gdcmDocEntry.cxx
-//-----------------------------------------------------------------------------
-//
+/*=========================================================================
+                                                                                
+  Program:   gdcm
+  Module:    $RCSfile: gdcmDocEntry.cxx,v $
+  Language:  C++
+  Date:      $Date: 2004/06/20 18:08:47 $
+  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
+  http://www.creatis.insa-lyon.fr/Public/Gdcm/License.htm for details.
+                                                                                
+     This software is distributed WITHOUT ANY WARRANTY; without even
+     the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+     PURPOSE.  See the above copyright notices for more information.
+                                                                                
+=========================================================================*/
 
 #include "gdcmDocEntry.h"
 #include "gdcmTS.h"
index 33a8b2dfb86122cef59a1e6ae31a5d3089335bfb..2f7dc1d411635537206ace78fbaaffb6bb048930 100644 (file)
@@ -1,5 +1,21 @@
-// gdcmDocEntry.h
-//-----------------------------------------------------------------------------
+/*=========================================================================
+                                                                                
+  Program:   gdcm
+  Module:    $RCSfile: gdcmDocEntry.h,v $
+  Language:  C++
+  Date:      $Date: 2004/06/20 18:08:47 $
+  Version:   $Revision: 1.9 $
+                                                                                
+  Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
+  l'Image). All rights reserved. See Doc/License.txt or
+  http://www.creatis.insa-lyon.fr/Public/Gdcm/License.htm for details.
+                                                                                
+     This software is distributed WITHOUT ANY WARRANTY; without even
+     the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+     PURPOSE.  See the above copyright notices for more information.
+                                                                                
+=========================================================================*/
+
 #ifndef GDCMDocEntry_H
 #define GDCMDocEntry_H
 
index 9b7286f06a28e627fcf8d8d3e7b7879a7e7a2d42..c888737b5fb46c80588d287593e2c1f5124474a8 100644 (file)
@@ -1,6 +1,21 @@
-// gdcmDocEntrySet.cxx
-//-----------------------------------------------------------------------------
-//
+/*=========================================================================
+                                                                                
+  Program:   gdcm
+  Module:    $RCSfile: gdcmDocEntrySet.cxx,v $
+  Language:  C++
+  Date:      $Date: 2004/06/20 18:08:47 $
+  Version:   $Revision: 1.9 $
+                                                                                
+  Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
+  l'Image). All rights reserved. See Doc/License.txt or
+  http://www.creatis.insa-lyon.fr/Public/Gdcm/License.htm for details.
+                                                                                
+     This software is distributed WITHOUT ANY WARRANTY; without even
+     the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+     PURPOSE.  See the above copyright notices for more information.
+                                                                                
+=========================================================================*/
+
 #include <errno.h>
 #include "gdcmDebug.h"
 #include "gdcmCommon.h"
index 48e183d0deedc0fba06d02ea94c22c688fa12c64..95e6b9ab849a26f598cf234eda356def002a2988 100644 (file)
@@ -1,5 +1,21 @@
-// gdcmDocEntrySet.h
-//-----------------------------------------------------------------------------
+/*=========================================================================
+                                                                                
+  Program:   gdcm
+  Module:    $RCSfile: gdcmDocEntrySet.h,v $
+  Language:  C++
+  Date:      $Date: 2004/06/20 18:08:47 $
+  Version:   $Revision: 1.10 $
+                                                                                
+  Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
+  l'Image). All rights reserved. See Doc/License.txt or
+  http://www.creatis.insa-lyon.fr/Public/Gdcm/License.htm for details.
+                                                                                
+     This software is distributed WITHOUT ANY WARRANTY; without even
+     the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+     PURPOSE.  See the above copyright notices for more information.
+                                                                                
+=========================================================================*/
+
 #ifndef GDCMDOCENTRYSET_H
 #define GDCMDOCENTRYSET_H
 
index 3e3c3ac1bdf1d3ef6ce2a8f5050ab5379481d4fe..834a3d1ee13b168e63cf21c765698512da512624 100644 (file)
@@ -1,5 +1,20 @@
-// gdcmDocument.cxx
-//-----------------------------------------------------------------------------
+/*=========================================================================
+                                                                                
+  Program:   gdcm
+  Module:    $RCSfile: gdcmDocument.cxx,v $
+  Language:  C++
+  Date:      $Date: 2004/06/20 18:08:47 $
+  Version:   $Revision: 1.19 $
+                                                                                
+  Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
+  l'Image). All rights reserved. See Doc/License.txt or
+  http://www.creatis.insa-lyon.fr/Public/Gdcm/License.htm for details.
+                                                                                
+     This software is distributed WITHOUT ANY WARRANTY; without even
+     the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+     PURPOSE.  See the above copyright notices for more information.
+                                                                                
+=========================================================================*/
 
 #include "gdcmDocument.h"
 #include "gdcmValEntry.h"
index b9d59ac01ad4b9b8621b53f1413b6a4546df2953..8c10b27500bfcca3d4259cf753881e08b5b6d0a5 100644 (file)
@@ -1,6 +1,21 @@
-// gdcmElementSet.cxx
-//-----------------------------------------------------------------------------
-//
+/*=========================================================================
+                                                                                
+  Program:   gdcm
+  Module:    $RCSfile: gdcmElementSet.cxx,v $
+  Language:  C++
+  Date:      $Date: 2004/06/20 18:08:47 $
+  Version:   $Revision: 1.8 $
+                                                                                
+  Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
+  l'Image). All rights reserved. See Doc/License.txt or
+  http://www.creatis.insa-lyon.fr/Public/Gdcm/License.htm for details.
+                                                                                
+     This software is distributed WITHOUT ANY WARRANTY; without even
+     the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+     PURPOSE.  See the above copyright notices for more information.
+                                                                                
+=========================================================================*/
+
 #include "gdcmElementSet.h"
 #include "gdcmDebug.h"
 
index 826b85cf32d27375d488bc41aacf9ec81fb2e292..56486efe4ecbf98e429ef0ed1ac8b2bc939acc87 100644 (file)
@@ -1,4 +1,20 @@
-// gdcmElementSet.h
+/*=========================================================================
+                                                                                
+  Program:   gdcm
+  Module:    $RCSfile: gdcmElementSet.h,v $
+  Language:  C++
+  Date:      $Date: 2004/06/20 18:08:47 $
+  Version:   $Revision: 1.8 $
+                                                                                
+  Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
+  l'Image). All rights reserved. See Doc/License.txt or
+  http://www.creatis.insa-lyon.fr/Public/Gdcm/License.htm for details.
+                                                                                
+     This software is distributed WITHOUT ANY WARRANTY; without even
+     the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+     PURPOSE.  See the above copyright notices for more information.
+                                                                                
+=========================================================================*/
 
 #ifndef GDCMELEMENTSET_H
 #define GDCMELEMENTSET_H
index 2d2a9b06322be94a26534e5c7cecff1608a1a911..037156051d30ba1abb35afe9a428e66aeca620f5 100644 (file)
@@ -1,5 +1,21 @@
-// gdcmException.cxx
-//-----------------------------------------------------------------------------
+/*=========================================================================
+                                                                                
+  Program:   gdcm
+  Module:    $RCSfile: gdcmException.cxx,v $
+  Language:  C++
+  Date:      $Date: 2004/06/20 18:08:47 $
+  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
+  http://www.creatis.insa-lyon.fr/Public/Gdcm/License.htm for details.
+                                                                                
+     This software is distributed WITHOUT ANY WARRANTY; without even
+     the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+     PURPOSE.  See the above copyright notices for more information.
+                                                                                
+=========================================================================*/
+
 #include "gdcmException.h"
 
 #include <typeinfo>
index 510ef725bbf3c63169b8d8c47ea2db07080e232f..95d9a3c56115ee3b6fc85c2ccdc450b9d7d84fa4 100644 (file)
@@ -1,5 +1,21 @@
-// gdcmException.h
-//-----------------------------------------------------------------------------
+/*=========================================================================
+                                                                                
+  Program:   gdcm
+  Module:    $RCSfile: gdcmException.h,v $
+  Language:  C++
+  Date:      $Date: 2004/06/20 18:08:47 $
+  Version:   $Revision: 1.13 $
+                                                                                
+  Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
+  l'Image). All rights reserved. See Doc/License.txt or
+  http://www.creatis.insa-lyon.fr/Public/Gdcm/License.htm for details.
+                                                                                
+     This software is distributed WITHOUT ANY WARRANTY; without even
+     the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+     PURPOSE.  See the above copyright notices for more information.
+                                                                                
+=========================================================================*/
+
 #ifndef GDCM_EXCEPTION_H
 #define GDCM_EXCEPTION_H
 
index 288e53ce29c253c0c10fb3ca6e7ff8bc66b4d8af..d4ff733034f663532d3a920e2ddf9faab854299a 100644 (file)
@@ -1,5 +1,21 @@
-// gdcmFile.cxx
-//-----------------------------------------------------------------------------
+/*=========================================================================
+                                                                                
+  Program:   gdcm
+  Module:    $RCSfile: gdcmFile.cxx,v $
+  Language:  C++
+  Date:      $Date: 2004/06/20 18:08:47 $
+  Version:   $Revision: 1.103 $
+                                                                                
+  Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
+  l'Image). All rights reserved. See Doc/License.txt or
+  http://www.creatis.insa-lyon.fr/Public/Gdcm/License.htm for details.
+                                                                                
+     This software is distributed WITHOUT ANY WARRANTY; without even
+     the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+     PURPOSE.  See the above copyright notices for more information.
+                                                                                
+=========================================================================*/
+
 #include "gdcmFile.h"
 #include "gdcmDebug.h"
 #include "jpeg/ljpg/jpegless.h"
index 959069881e9b430bdcb024a41d5efc3a621ffe87..dd5b4655e87e720530cc6f336f11014260b4cbd4 100644 (file)
@@ -1,5 +1,21 @@
-// gdcmFile.h
-//-----------------------------------------------------------------------------
+/*=========================================================================
+                                                                                
+  Program:   gdcm
+  Module:    $RCSfile: gdcmFile.h,v $
+  Language:  C++
+  Date:      $Date: 2004/06/20 18:08:47 $
+  Version:   $Revision: 1.30 $
+                                                                                
+  Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
+  l'Image). All rights reserved. See Doc/License.txt or
+  http://www.creatis.insa-lyon.fr/Public/Gdcm/License.htm for details.
+                                                                                
+     This software is distributed WITHOUT ANY WARRANTY; without even
+     the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+     PURPOSE.  See the above copyright notices for more information.
+                                                                                
+=========================================================================*/
+
 #ifndef GDCMFILE_H
 #define GDCMFILE_H
 
index 7be5abe6d0ab6225952ebad9e4bb199e499be7ae..f6278f622705beef9b621e6a7958d48601fdfc06 100644 (file)
@@ -1,5 +1,21 @@
-// gdcmGlobal.cxx
-//-----------------------------------------------------------------------------
+/*=========================================================================
+                                                                                
+  Program:   gdcm
+  Module:    $RCSfile: gdcmGlobal.cxx,v $
+  Language:  C++
+  Date:      $Date: 2004/06/20 18:08:47 $
+  Version:   $Revision: 1.2 $
+                                                                                
+  Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
+  l'Image). All rights reserved. See Doc/License.txt or
+  http://www.creatis.insa-lyon.fr/Public/Gdcm/License.htm for details.
+                                                                                
+     This software is distributed WITHOUT ANY WARRANTY; without even
+     the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+     PURPOSE.  See the above copyright notices for more information.
+                                                                                
+=========================================================================*/
+
 #include "gdcmGlobal.h"
 #include "gdcmDebug.h"
 #include <stdio.h>
index e17c8ed5941126dee481b4a8b7262f8d68bb4f00..677f97cc6c2f3c8f2028591c78e35aff6048d5e9 100644 (file)
@@ -1,5 +1,21 @@
-// gdcmGlobal.h
-//-----------------------------------------------------------------------------
+/*=========================================================================
+                                                                                
+  Program:   gdcm
+  Module:    $RCSfile: gdcmGlobal.h,v $
+  Language:  C++
+  Date:      $Date: 2004/06/20 18:08:47 $
+  Version:   $Revision: 1.2 $
+                                                                                
+  Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
+  l'Image). All rights reserved. See Doc/License.txt or
+  http://www.creatis.insa-lyon.fr/Public/Gdcm/License.htm for details.
+                                                                                
+     This software is distributed WITHOUT ANY WARRANTY; without even
+     the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+     PURPOSE.  See the above copyright notices for more information.
+                                                                                
+=========================================================================*/
+
 #ifndef GDCMGLOBAL_H
 #define GDCMGLOBAL_H
 
index b8b91119bf9acb407bd4d83db9d63bc6101ce86e..19d008908d49f313d0015f87912bc6297513e53d 100644 (file)
@@ -1,5 +1,21 @@
-// gdcmHeader.cxx
-//-----------------------------------------------------------------------------
+/*=========================================================================
+                                                                                
+  Program:   gdcm
+  Module:    $RCSfile: gdcmHeader.cxx,v $
+  Language:  C++
+  Date:      $Date: 2004/06/20 18:08:47 $
+  Version:   $Revision: 1.165 $
+                                                                                
+  Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
+  l'Image). All rights reserved. See Doc/License.txt or
+  http://www.creatis.insa-lyon.fr/Public/Gdcm/License.htm for details.
+                                                                                
+     This software is distributed WITHOUT ANY WARRANTY; without even
+     the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+     PURPOSE.  See the above copyright notices for more information.
+                                                                                
+=========================================================================*/
+
 #include "gdcmHeader.h"
 #include "gdcmGlobal.h"
 #include "gdcmUtil.h"
@@ -85,12 +101,11 @@ gdcmHeader::~gdcmHeader (void) {
 // Public
 
 /**
- * \ingroup gdcmHeader
  * \brief  This predicate, based on hopefully reasonable heuristics,
- *         decides whether or not the current gdcmParser was properly parsed
+ *         decides whether or not the current gdcmHeader was properly parsed
  *         and contains the mandatory information for being considered as
  *         a well formed and usable Dicom/Acr File.
- * @return true when gdcmParser is the one of a reasonable Dicom/Acr file,
+ * @return true when gdcmHeader is the one of a reasonable Dicom/Acr file,
  *         false otherwise. 
  */
 bool gdcmHeader::IsReadable(void) {
index ad4881ff016211188a7bef9d36cac4f311299b6f..88c5dcdbe876a6d632ac09e7deda4a3fbe653bf3 100644 (file)
@@ -1,10 +1,25 @@
-// gdcmHeader.h
-//-----------------------------------------------------------------------------
+/*=========================================================================
+                                                                                
+  Program:   gdcm
+  Module:    $RCSfile: gdcmHeader.h,v $
+  Language:  C++
+  Date:      $Date: 2004/06/20 18:08:48 $
+  Version:   $Revision: 1.74 $
+                                                                                
+  Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
+  l'Image). All rights reserved. See Doc/License.txt or
+  http://www.creatis.insa-lyon.fr/Public/Gdcm/License.htm for details.
+                                                                                
+     This software is distributed WITHOUT ANY WARRANTY; without even
+     the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+     PURPOSE.  See the above copyright notices for more information.
+                                                                                
+=========================================================================*/
+
 #ifndef GDCMHEADER_H
 #define GDCMHEADER_H
 
 #include "gdcmCommon.h"
-//#include "gdcmParser.h"
 #include "gdcmDocument.h"
 //-----------------------------------------------------------------------------
 /**
index 54f9b4ec897fcf5ec4890e5e0fdab234e62d9526..1b1af705be2c14e6c164129a9f881278fac274c4 100644 (file)
@@ -1,5 +1,21 @@
-// gdcmHeaderHelper.cxx
-//-----------------------------------------------------------------------------
+/*=========================================================================
+                                                                                
+  Program:   gdcm
+  Module:    $RCSfile: gdcmHeaderHelper.cxx,v $
+  Language:  C++
+  Date:      $Date: 2004/06/20 18:08:48 $
+  Version:   $Revision: 1.37 $
+                                                                                
+  Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
+  l'Image). All rights reserved. See Doc/License.txt or
+  http://www.creatis.insa-lyon.fr/Public/Gdcm/License.htm for details.
+                                                                                
+     This software is distributed WITHOUT ANY WARRANTY; without even
+     the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+     PURPOSE.  See the above copyright notices for more information.
+                                                                                
+=========================================================================*/
+
 #include "gdcmHeaderHelper.h"
 #include "gdcmDirList.h"
 
index 9fdcffbde4ea5e682b0910a58c9bd7f4aff52527..9381f7f9656304d216835c7fa5c6da30a28b41f6 100644 (file)
@@ -1,5 +1,21 @@
-// gdcmHeaderHelper.h
-//-----------------------------------------------------------------------------
+/*=========================================================================
+                                                                                
+  Program:   gdcm
+  Module:    $RCSfile: gdcmHeaderHelper.h,v $
+  Language:  C++
+  Date:      $Date: 2004/06/20 18:08:48 $
+  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
+  http://www.creatis.insa-lyon.fr/Public/Gdcm/License.htm for details.
+                                                                                
+     This software is distributed WITHOUT ANY WARRANTY; without even
+     the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+     PURPOSE.  See the above copyright notices for more information.
+                                                                                
+=========================================================================*/
+
 #ifndef GDCMHEADERHELPER_H
 #define GDCMHEADERHELPER_H
 
index 25cba3b529467488347a2d931d5401dbc93eed43..73172ae2238d9cb8880422cb309345e3696fe576 100644 (file)
@@ -1,5 +1,21 @@
-// gdcmObject.cxx
-//-----------------------------------------------------------------------------
+/*=========================================================================
+                                                                                
+  Program:   gdcm
+  Module:    $RCSfile: gdcmObject.cxx,v $
+  Language:  C++
+  Date:      $Date: 2004/06/20 18:08:48 $
+  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
+  http://www.creatis.insa-lyon.fr/Public/Gdcm/License.htm for details.
+                                                                                
+     This software is distributed WITHOUT ANY WARRANTY; without even
+     the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+     PURPOSE.  See the above copyright notices for more information.
+                                                                                
+=========================================================================*/
+
 #include "gdcmObject.h"
 #include "gdcmGlobal.h"
 #include "gdcmDebug.h"
index 13eff6806b7b8cb72d4e8a3a3d426b76a5fa7610..92a10313c7dccbde1c721423c97054d11c470374 100644 (file)
@@ -1,5 +1,21 @@
-// gdcmObject.h
-//-----------------------------------------------------------------------------
+/*=========================================================================
+                                                                                
+  Program:   gdcm
+  Module:    $RCSfile: gdcmObject.h,v $
+  Language:  C++
+  Date:      $Date: 2004/06/20 18:08:48 $
+  Version:   $Revision: 1.17 $
+                                                                                
+  Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
+  l'Image). All rights reserved. See Doc/License.txt or
+  http://www.creatis.insa-lyon.fr/Public/Gdcm/License.htm for details.
+                                                                                
+     This software is distributed WITHOUT ANY WARRANTY; without even
+     the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+     PURPOSE.  See the above copyright notices for more information.
+                                                                                
+=========================================================================*/
+
 #ifndef GDCMOBJECT_H
 #define GDCMOBJECT_H
 
@@ -7,7 +23,6 @@
 #include <list>
 #include "gdcmCommon.h"
 #include "gdcmDocEntry.h"
-//#include "gdcmParser.h"
 #include "gdcmDocument.h"
 #include "gdcmDicomDirElement.h"
 #include "gdcmSQItem.h"
@@ -26,7 +41,6 @@ class GDCM_EXPORT gdcmObject : public gdcmSQItem
 public:
 
    /**
-    * \ingroup gdcmParser
     * \brief   Sets the print level for the Dicom Header 
     * \note    0 for Light Print; 1 for 'medium' Print, 2 for Heavy
     */
@@ -38,13 +52,13 @@ public:
 
 protected:
 
- // constructor and destructor are protected to avoid end user to instanciate this class.
+   // Constructor and destructor are protected to avoid end user to
+   // instanciate from this class.
    gdcmObject(TagDocEntryHT *ptagHT, int depth = 0);
    virtual ~gdcmObject(void);
 
-// variables :
-
-///\brief detail level to be printed 
+// Members :
+   ///\brief detail level to be printed 
    int printLevel;
 
 private:
index c7233f3026ff494a411ccaa4843935fb32e5fa31..268492e75c77ec86616f974e63b541322aa3c183 100644 (file)
@@ -1,5 +1,21 @@
-// gdcmParse.cxx
-//-----------------------------------------------------------------------------
+/*=========================================================================
+                                                                                
+  Program:   gdcm
+  Module:    $RCSfile: gdcmParsePixels.cxx,v $
+  Language:  C++
+  Date:      $Date: 2004/06/20 18:08:48 $
+  Version:   $Revision: 1.6 $
+                                                                                
+  Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
+  l'Image). All rights reserved. See Doc/License.txt or
+  http://www.creatis.insa-lyon.fr/Public/Gdcm/License.htm for details.
+                                                                                
+     This software is distributed WITHOUT ANY WARRANTY; without even
+     the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+     PURPOSE.  See the above copyright notices for more information.
+                                                                                
+=========================================================================*/
+
 #include "gdcmCommon.h"
 #include "gdcmFile.h"
 
index 14f2431c5b465a0976d14c78facfcbcd9bda39e7..52f9a9f23927feb731ed0785304df96e33c32936 100644 (file)
@@ -1,8 +1,24 @@
-// gdcmRLE.cxx
-//-----------------------------------------------------------------------------
+/*=========================================================================
+                                                                                
+  Program:   gdcm
+  Module:    $RCSfile: gdcmRLE.cxx,v $
+  Language:  C++
+  Date:      $Date: 2004/06/20 18:08:48 $
+  Version:   $Revision: 1.18 $
+                                                                                
+  Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
+  l'Image). All rights reserved. See Doc/License.txt or
+  http://www.creatis.insa-lyon.fr/Public/Gdcm/License.htm for details.
+                                                                                
+     This software is distributed WITHOUT ANY WARRANTY; without even
+     the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+     PURPOSE.  See the above copyright notices for more information.
+                                                                                
+=========================================================================*/
+
 #include <stdio.h>
 #include "gdcmFile.h"
-#include <ctype.h>             // to declare isprint()
+#include <ctype.h>     // For isprint()
 
 #define str2num(str, typeNum) *((typeNum *)(str))
 
index 9aa9b71623227522e021c423d1a5dabe92a99ecc..e08ae79cda38dfa1ce787e31e744183682f03d96 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmSQItem.h,v $
   Language:  C++
-  Date:      $Date: 2004/06/19 23:51:04 $
-  Version:   $Revision: 1.8 $
+  Date:      $Date: 2004/06/20 18:08:48 $
+  Version:   $Revision: 1.9 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -50,10 +50,10 @@ public:
     
    std::string GetEntryByNumber(guint16 group, guint16 element);
    std::string GetEntryByName(TagName name);
-       
+
    inline int GetSQItemNumber() { return SQItemNumber;};
 
-   inline void SetSQItemNumber(int itemNumber) { SQItemNumber=itemNumber;};                 
+   inline void SetSQItemNumber(int itemNumber) { SQItemNumber=itemNumber;};
 protected:
 
 // DocEntry related utilities 
index 2273a11f31ad7325f883a789cf841aad7ac55203..11f048daf885dd33cadeb71a15957360d7fcccca 100644 (file)
@@ -1,6 +1,21 @@
-// gdcmSeqEntry.cxx
-//-----------------------------------------------------------------------------
-//
+/*=========================================================================
+                                                                                
+  Program:   gdcm
+  Module:    $RCSfile: gdcmSeqEntry.cxx,v $
+  Language:  C++
+  Date:      $Date: 2004/06/20 18:08:48 $
+  Version:   $Revision: 1.12 $
+                                                                                
+  Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
+  l'Image). All rights reserved. See Doc/License.txt or
+  http://www.creatis.insa-lyon.fr/Public/Gdcm/License.htm for details.
+                                                                                
+     This software is distributed WITHOUT ANY WARRANTY; without even
+     the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+     PURPOSE.  See the above copyright notices for more information.
+                                                                                
+=========================================================================*/
+
 #include "gdcmSeqEntry.h"
 #include "gdcmSQItem.h"
 #include "gdcmTS.h"
index 69aae0401b9699d99fa47eca876a9c0d1c7d6a27..8ba49bf06963f15b3cf39151968c9841a3b31b62 100644 (file)
@@ -1,4 +1,20 @@
-// gdcmSeqEntry.h
+/*=========================================================================
+                                                                                
+  Program:   gdcm
+  Module:    $RCSfile: gdcmSeqEntry.h,v $
+  Language:  C++
+  Date:      $Date: 2004/06/20 18:08:48 $
+  Version:   $Revision: 1.10 $
+                                                                                
+  Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
+  l'Image). All rights reserved. See Doc/License.txt or
+  http://www.creatis.insa-lyon.fr/Public/Gdcm/License.htm for details.
+                                                                                
+     This software is distributed WITHOUT ANY WARRANTY; without even
+     the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+     PURPOSE.  See the above copyright notices for more information.
+                                                                                
+=========================================================================*/
 
 #ifndef GDCMSQDOCENTRY_H
 #define GDCMSQDOCENTRY_H
@@ -29,8 +45,8 @@ public:
    /// \brief Sets the Sequence Delimitation Item
    inline void SetSequenceDelimitationItem(gdcmDocEntry * e) { seq_term = e;}
        
-   void AddEntry(gdcmSQItem *it, int itemNumber);      
-   gdcmSQItem *GetSQItemByOrdinalNumber(int itemNumber);       
+   void AddEntry(gdcmSQItem *it, int itemNumber);
+   gdcmSQItem *GetSQItemByOrdinalNumber(int itemNumber);
 
    void SetDepthLevel(int depth);
          
index e6543d8cd4a6f9c49e778380de2a58d356983760..cc214c63690c40b7094e1c754f1d5b7efa61bed5 100644 (file)
@@ -1,5 +1,21 @@
-// gdcmTS.cxx
-//-----------------------------------------------------------------------------
+/*=========================================================================
+                                                                                
+  Program:   gdcm
+  Module:    $RCSfile: gdcmTS.cxx,v $
+  Language:  C++
+  Date:      $Date: 2004/06/20 18:08:48 $
+  Version:   $Revision: 1.18 $
+                                                                                
+  Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
+  l'Image). All rights reserved. See Doc/License.txt or
+  http://www.creatis.insa-lyon.fr/Public/Gdcm/License.htm for details.
+                                                                                
+     This software is distributed WITHOUT ANY WARRANTY; without even
+     the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+     PURPOSE.  See the above copyright notices for more information.
+                                                                                
+=========================================================================*/
+
 #include <fstream>
 #include <string>
 #include <iostream>
@@ -25,6 +41,7 @@ gdcmTS::gdcmTS(void)
 
    while (!from.eof()) {
       from >> key;
+      eatwhite(from);
       getline(from, name);    /// MEMORY LEAK
 
       if(key!="") 
index 65b4a35d728e786fa387a5459feef9867d1da3fe..f3e6e04c1d0d6b90f9d69e010cb35bb26362993e 100644 (file)
@@ -1,5 +1,21 @@
-// gdcmTS.h
-//-----------------------------------------------------------------------------
+/*=========================================================================
+                                                                                
+  Program:   gdcm
+  Module:    $RCSfile: gdcmTS.h,v $
+  Language:  C++
+  Date:      $Date: 2004/06/20 18:08:48 $
+  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
+  http://www.creatis.insa-lyon.fr/Public/Gdcm/License.htm for details.
+                                                                                
+     This software is distributed WITHOUT ANY WARRANTY; without even
+     the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+     PURPOSE.  See the above copyright notices for more information.
+                                                                                
+=========================================================================*/
+
 #ifndef GDCMTS_H
 #define GDCMTS_H
 
index c6a9d0365d3f24bd109a49ed64acd5da43632638..cabc9675112250c470f7a2decc523f3c7080b7fc 100644 (file)
@@ -1,5 +1,21 @@
-// gdcmUtil.cxx
-//-----------------------------------------------------------------------------
+/*=========================================================================
+                                                                                
+  Program:   gdcm
+  Module:    $RCSfile: gdcmUtil.cxx,v $
+  Language:  C++
+  Date:      $Date: 2004/06/20 18:08:48 $
+  Version:   $Revision: 1.44 $
+                                                                                
+  Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
+  l'Image). All rights reserved. See Doc/License.txt or
+  http://www.creatis.insa-lyon.fr/Public/Gdcm/License.htm for details.
+                                                                                
+     This software is distributed WITHOUT ANY WARRANTY; without even
+     the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+     PURPOSE.  See the above copyright notices for more information.
+                                                                                
+=========================================================================*/
+
 #include "gdcmUtil.h"
 #include "gdcmDebug.h"
 #include <stdio.h>
index 403397b7f419bd5ce24eb668b2eb15493508057b..ae4f23f4e2f22fca66307c155d675be82befe032 100644 (file)
@@ -1,5 +1,21 @@
-// gdcmUtil.h
-//-----------------------------------------------------------------------------
+/*=========================================================================
+                                                                                
+  Program:   gdcm
+  Module:    $RCSfile: gdcmUtil.h,v $
+  Language:  C++
+  Date:      $Date: 2004/06/20 18:08:48 $
+  Version:   $Revision: 1.29 $
+                                                                                
+  Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
+  l'Image). All rights reserved. See Doc/License.txt or
+  http://www.creatis.insa-lyon.fr/Public/Gdcm/License.htm for details.
+                                                                                
+     This software is distributed WITHOUT ANY WARRANTY; without even
+     the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+     PURPOSE.  See the above copyright notices for more information.
+                                                                                
+=========================================================================*/
+
 #ifndef GDCMUTIL_H
 #define GDCMUTIL_H
 
index 12370084c5d39d408fb226c2cc210acb751e21db..dbe4d2d5f109ccd79e5afc26bce7f7b0d74ea5c4 100644 (file)
@@ -1,5 +1,21 @@
-// gdcmVR.cxx
-//-----------------------------------------------------------------------------
+/*=========================================================================
+                                                                                
+  Program:   gdcm
+  Module:    $RCSfile: gdcmVR.cxx,v $
+  Language:  C++
+  Date:      $Date: 2004/06/20 18:08:48 $
+  Version:   $Revision: 1.13 $
+                                                                                
+  Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
+  l'Image). All rights reserved. See Doc/License.txt or
+  http://www.creatis.insa-lyon.fr/Public/Gdcm/License.htm for details.
+                                                                                
+     This software is distributed WITHOUT ANY WARRANTY; without even
+     the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+     PURPOSE.  See the above copyright notices for more information.
+                                                                                
+=========================================================================*/
+
 #include <fstream>
 
 #include <iostream>
index 7dd8e1ff8c1924937445c3dc83eb48bf748b727e..8d18dfddfc5d35d934f0e167b8eafb36ff3eeeeb 100644 (file)
@@ -1,5 +1,21 @@
-// gdcmVR.h
-//-----------------------------------------------------------------------------
+/*=========================================================================
+                                                                                
+  Program:   gdcm
+  Module:    $RCSfile: gdcmVR.h,v $
+  Language:  C++
+  Date:      $Date: 2004/06/20 18:08:48 $
+  Version:   $Revision: 1.9 $
+                                                                                
+  Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
+  l'Image). All rights reserved. See Doc/License.txt or
+  http://www.creatis.insa-lyon.fr/Public/Gdcm/License.htm for details.
+                                                                                
+     This software is distributed WITHOUT ANY WARRANTY; without even
+     the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+     PURPOSE.  See the above copyright notices for more information.
+                                                                                
+=========================================================================*/
+
 #ifndef GDCMVR_H
 #define GDCMVR_H
 
@@ -21,7 +37,7 @@ typedef std::map<VRKey, VRAtr> VRHT;    // Value Representation Hash Table
 class GDCM_EXPORT gdcmVR 
 {
 public:
-       gdcmVR(void);
+   gdcmVR(void);
    ~gdcmVR();
 
    void Print(std::ostream &os = std::cout);
index 656dd2a12cf1ea908b0ad07cee03cef89547b27c..045ce967714968f632a32758ede41333fd5ba498 100644 (file)
@@ -1,6 +1,21 @@
-// gdcmValEntry.cxx
-//-----------------------------------------------------------------------------
-//
+/*=========================================================================
+                                                                                
+  Program:   gdcm
+  Module:    $RCSfile: gdcmValEntry.cxx,v $
+  Language:  C++
+  Date:      $Date: 2004/06/20 18:08:48 $
+  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
+  http://www.creatis.insa-lyon.fr/Public/Gdcm/License.htm for details.
+                                                                                
+     This software is distributed WITHOUT ANY WARRANTY; without even
+     the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+     PURPOSE.  See the above copyright notices for more information.
+                                                                                
+=========================================================================*/
+
 #include "gdcmValEntry.h"
 #include "gdcmTS.h"
 #include "gdcmGlobal.h"
@@ -27,12 +42,12 @@ gdcmValEntry::gdcmValEntry(gdcmDictEntry* e) : gdcmDocEntry(e) {
  */
 gdcmValEntry::gdcmValEntry(gdcmDocEntry* e) : gdcmDocEntry(e->GetDictEntry()){
    this->UsableLength = e->GetLength();
-       this->ReadLength   = e->GetReadLength();        
-       this->ImplicitVR   = e->IsImplicitVR();
-       this->Offset       = e->GetOffset();    
-       this->printLevel   = e->GetPrintLevel();        
-       this->SQDepthLevel = e->GetDepthLevel();        
-       
+   this->ReadLength   = e->GetReadLength();
+   this->ImplicitVR   = e->IsImplicitVR();
+   this->Offset       = e->GetOffset();
+   this->printLevel   = e->GetPrintLevel();
+   this->SQDepthLevel = e->GetDepthLevel();
+
    this->voidArea = NULL; // will be in BinEntry ?
 }
 
index 9a5912ba1e5cc739e5073fa67ebeb0cdff912f47..164b910f77c16421bb23aaa544bf0757c8564411 100644 (file)
@@ -1,5 +1,21 @@
-// gdcmValEntry.h
-//-----------------------------------------------------------------------------
+/*=========================================================================
+                                                                                
+  Program:   gdcm
+  Module:    $RCSfile: gdcmValEntry.h,v $
+  Language:  C++
+  Date:      $Date: 2004/06/20 18:08:48 $
+  Version:   $Revision: 1.10 $
+                                                                                
+  Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
+  l'Image). All rights reserved. See Doc/License.txt or
+  http://www.creatis.insa-lyon.fr/Public/Gdcm/License.htm for details.
+                                                                                
+     This software is distributed WITHOUT ANY WARRANTY; without even
+     the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+     PURPOSE.  See the above copyright notices for more information.
+                                                                                
+=========================================================================*/
+
 #ifndef GDCMValEntry_H
 #define GDCMValEntry_H
 
@@ -19,7 +35,7 @@ class GDCM_EXPORT gdcmValEntry  : public gdcmDocEntry {
 public:
 
    gdcmValEntry(gdcmDictEntry* e);
-       gdcmValEntry(gdcmDocEntry* d); 
+   gdcmValEntry(gdcmDocEntry* d); 
    ~gdcmValEntry(void);
 
    /// \brief Returns the 'Value' (e.g. "Dupond Marcel") converted into a
@@ -35,7 +51,7 @@ public:
 protected:
 
    /// \brief for 'non string' values. Will be move to gdcmBinEntry, later
-       void* voidArea;  // clean it out later
+   void* voidArea;  // clean it out later
    
 private: