]> Creatis software - gdcm.git/commitdiff
ENH: TestHash.cxx add gdcm header to shut up stoopid warnings
authormalaterre <malaterre>
Thu, 7 Oct 2004 16:55:15 +0000 (16:55 +0000)
committermalaterre <malaterre>
Thu, 7 Oct 2004 16:55:15 +0000 (16:55 +0000)
- gdcmCommon.h some typoes
- gdcmDirList some style

Testing/TestHash.cxx
src/gdcmCommon.h
src/gdcmDirList.h

index 771b7bba472031e7f9a304d8c0b019e3f7ddb0c9..e712e355b616065ed8bc5b19810511fbf542ed77 100644 (file)
@@ -1,11 +1,11 @@
+#include "gdcmCommon.h" //to shut up warnings
 // Checks the basic functionalities of STL <map>.
 #include <map>
 #include <string>
 #include <iostream>
-#include <stdio.h>
-
-int TestHash( int, char * [] ) {
 
+int TestHash( int, char * [] )
+{
    std::cout << "Test::TestHash : " << std::endl;
    std::cout << "   Checks that the basic STL <map> functionalities required "
              << std::endl
index c0db974c4436c34c3f748414735c6e6df9df8609..452fa3f2b42f83cce64fd9ad74a306675f7c06dd 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmCommon.h,v $
   Language:  C++
-  Date:      $Date: 2004/09/27 08:39:05 $
-  Version:   $Revision: 1.33 $
+  Date:      $Date: 2004/10/07 16:55:16 $
+  Version:   $Revision: 1.34 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -96,9 +96,9 @@ const std::string GDCM_BINLOADED = "gdcm::Binary data loaded";
 const std::string GDCM_NOTLOADED = "gdcm::NotLoaded";
 const std::string GDCM_UNREAD    = "gdcm::UnRead";
 
-/// \brief gdcmTagKey is made to old an "universal" (as in URL, Universal
+/// \brief gdcmTagKey is made to hold an "universal" (as in URL, Universal
 ///        Ressource Locator)  key to a gdcmDocEntry i.e. a dicom tag.
-///        A dicom tag allways has a group and an element, but a set of tags
+///        A dicom tag always has a group and an element, but a set of tags
 ///        embeded in various (optionally nested) sequences and sharing
 ///        the same group and element all share the same (group, element)
 ///        "identifier". Hence the (group, element) cannot be used as an
index 4348c791d7241efcdbf5ccc99662f3fafa8d4a33..6926ff02fee658ac3e2a52dbb1fc251fdc2904a6 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmDirList.h,v $
   Language:  C++
-  Date:      $Date: 2004/09/27 08:39:06 $
-  Version:   $Revision: 1.9 $
+  Date:      $Date: 2004/10/07 16:55:16 $
+  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
@@ -33,9 +33,9 @@ class GDCM_EXPORT gdcmDirList: public std::list<std::string>
 {
 public :
    gdcmDirList(std::string dirName,bool recursive=false);
-   virtual ~gdcmDirList(void);
+   virtual ~gdcmDirList();
 
-   std::string GetDirName(void);
+   std::string GetDirName();
 
    /// Character '\' 
    static const char SEPARATOR_X;