]> Creatis software - gdcm.git/commitdiff
* Remove compilation warnings
authorregrain <regrain>
Wed, 26 Oct 2005 08:04:15 +0000 (08:04 +0000)
committerregrain <regrain>
Wed, 26 Oct 2005 08:04:15 +0000 (08:04 +0000)
   -- BeNours

src/gdcmDicomDirElement.cxx
src/gdcmDicomDirElement.h
src/gdcmDictGroupName.cxx
src/gdcmDictGroupName.h
src/gdcmTS.cxx
src/gdcmTS.h
src/gdcmVR.cxx
src/gdcmVR.h

index 4af127cd3b5e8b0bc251c6c7adaa22b7c4481c31..b96ae416b5b4321683eb59264e6027b204573893 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmDicomDirElement.cxx,v $
   Language:  C++
-  Date:      $Date: 2005/10/19 12:01:50 $
-  Version:   $Revision: 1.40 $
+  Date:      $Date: 2005/10/26 08:04:15 $
+  Version:   $Revision: 1.41 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -169,7 +169,7 @@ void DicomDirElement::AddDicomDirElement(DicomDirType type,
  * \brief   Print all
  * @param   os The output stream to be written to.
  */
-void DicomDirElement::Print(std::ostream &os)
+void DicomDirElement::Print(std::ostream &os,std::string const &)
 {
    std::ostringstream s;
    std::list<DicomElement>::iterator it;
index 37c605ec09ddf71e7b8277734254b12a18351d0c..e3e0983ed5d56a017a7c168991b343329ed666b4 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmDicomDirElement.h,v $
   Language:  C++
-  Date:      $Date: 2005/10/25 14:52:33 $
-  Version:   $Revision: 1.33 $
+  Date:      $Date: 2005/10/26 08:04:15 $
+  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
@@ -75,7 +75,8 @@ public:
    /**
     * \brief   canonical Printer 
     */ 
-   void Print(std::ostream &os);
+   virtual void Print(std::ostream &os = std::cout, 
+                      std::string const &indent = "" );
 
    /**
     * \brief   returns a reference to the chained List 
index 66194b34b162f5c7a5a7edb2bfb55f7ac8964894..9d07f287fe8a486fbf8883f1a55893013a22204f 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmDictGroupName.cxx,v $
   Language:  C++
-  Date:      $Date: 2005/10/23 15:32:30 $
-  Version:   $Revision: 1.5 $
+  Date:      $Date: 2005/10/26 08:04:15 $
+  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
@@ -103,7 +103,7 @@ const TagName &DictGroupName::GetName(uint16_t group)
  * \brief   Print all 
  * @param   os The output stream to be written to.
  */
-void DictGroupName::Print(std::ostream &os) 
+void DictGroupName::Print(std::ostream &os,std::string const &
 {
    std::ostringstream s;
 
index c31266d6cd52211a12f22f2f239267a666b35a80..e75c0704a971567fba3c0514898b23506d3d554c 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmDictGroupName.h,v $
   Language:  C++
-  Date:      $Date: 2005/10/25 14:52:34 $
-  Version:   $Revision: 1.4 $
+  Date:      $Date: 2005/10/26 08:04:15 $
+  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
@@ -44,7 +44,8 @@ class GDCM_EXPORT DictGroupName : public RefCounter
 public:
    static DictGroupName *New() {return new DictGroupName();}
 
-   void Print(std::ostream &os = std::cout);
+   virtual void Print(std::ostream &os = std::cout, 
+                      std::string const &indent = "" );
 
    const TagName &GetName(uint16_t group);
 
index c6277defe07548797e39c8df047fa454f169f293..96e9cb562ccfa99d3809d8f54915dbf9c0e27090 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmTS.cxx,v $
   Language:  C++
-  Date:      $Date: 2005/10/25 17:51:17 $
-  Version:   $Revision: 1.51 $
+  Date:      $Date: 2005/10/26 08:04:16 $
+  Version:   $Revision: 1.52 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -346,7 +346,7 @@ const char* TS::GetSpecialTransferSyntax(SpecialType t)
  * \brief   Print all 
  * @param   os The output stream to be written to.
  */
-void TS::Print(std::ostream &os
+void TS::Print(std::ostream &os,std::string const &)
 {
    std::ostringstream s;
 
index 8a5e340886feb1b1ef833d43b7d7aa7404f60231..1033846f146e70436829bfcb03f8f6e19dba81c4 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmTS.h,v $
   Language:  C++
-  Date:      $Date: 2005/10/25 14:52:35 $
-  Version:   $Revision: 1.22 $
+  Date:      $Date: 2005/10/26 08:04:16 $
+  Version:   $Revision: 1.23 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -68,7 +68,8 @@ public:
 public:
    static TS *New() {return new TS();}
 
-   void Print(std::ostream &os = std::cout);
+   virtual void Print(std::ostream &os = std::cout, 
+                      std::string const &indent = "" );
 
    int Count(TSKey const &key);
    TSAtr const &GetValue(TSKey const &key);
index 03150d58b1ba6d1753774cd6a065a0a2eebc9fda..839e1617096db2da51e5bd36048573b68f9e400a 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmVR.cxx,v $
   Language:  C++
-  Date:      $Date: 2005/10/23 14:56:27 $
-  Version:   $Revision: 1.46 $
+  Date:      $Date: 2005/10/26 08:04:16 $
+  Version:   $Revision: 1.47 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -185,7 +185,7 @@ bool VR::IsValidVR(VRKey const &key)
  * \brief   Print all 
  * @param   os The output stream to be written to.
  */
-void VR::Print(std::ostream &os) 
+void VR::Print(std::ostream &os,std::string const &
 {
    for (VRHT::iterator it = vr.begin(); it != vr.end(); ++it)
    {
index 7a2af7b5b5c5cdfafd8d35b948222ff337233d37..2fed34d18eec9b28ee3c865b9c145ee305fcf18e 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmVR.h,v $
   Language:  C++
-  Date:      $Date: 2005/10/25 14:52:35 $
-  Version:   $Revision: 1.25 $
+  Date:      $Date: 2005/10/26 08:04:16 $
+  Version:   $Revision: 1.26 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -46,7 +46,8 @@ class GDCM_EXPORT VR : public RefCounter
 public:
    static VR *New() {return new VR();}
 
-   void Print(std::ostream &os = std::cout);
+   virtual void Print(std::ostream &os = std::cout, 
+                      std::string const &indent = "" );
 
    /// \brief   Get the count for an element
    int Count(VRKey const &key) { return vr.count(key); };