]> Creatis software - gdcm.git/blobdiff - src/gdcmFileHelper.cxx
* src/*.cxx : first parss to normalize file organisation
[gdcm.git] / src / gdcmFileHelper.cxx
index a1cfd210b9f1a45ec058f9f9efce5cb1fd65acd7..33d9f0f8f0dd6ead58f468e0404aa916017d98ee 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmFileHelper.cxx,v $
   Language:  C++
-  Date:      $Date: 2005/01/26 16:28:58 $
-  Version:   $Revision: 1.8 $
+  Date:      $Date: 2005/02/01 10:29:55 $
+  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
@@ -34,8 +34,6 @@
 
 namespace gdcm 
 {
-typedef std::pair<TagDocEntryHT::iterator,TagDocEntryHT::iterator> IterHT;
-
 //-------------------------------------------------------------------------
 // Constructor / Destructor
 /**
@@ -124,17 +122,6 @@ FileHelper::~FileHelper()
    FileInternal = 0;
 }
 
-//-----------------------------------------------------------------------------
-// Print
-void FileHelper::Print(std::ostream &os, std::string const &)
-{
-   FileInternal->SetPrintLevel(PrintLevel);
-   FileInternal->Print(os);
-
-   PixelReadConverter->SetPrintLevel(PrintLevel);
-   PixelReadConverter->Print(os);
-}
-
 //-----------------------------------------------------------------------------
 // Public
 /**
@@ -609,7 +596,6 @@ uint8_t* FileHelper::GetLutRGBA()
 
 //-----------------------------------------------------------------------------
 // Protected
-
 /**
  * \brief Check the write integrity
  *
@@ -943,7 +929,7 @@ BinEntry *FileHelper::CopyBinEntry(uint16_t group,uint16_t elem)
 }
 
 //-----------------------------------------------------------------------------
-// Protected
+// Private
 /**
  * \brief Factorization for various forms of constructors.
  */
@@ -988,8 +974,15 @@ uint8_t *FileHelper::GetRaw()
 }
 
 //-----------------------------------------------------------------------------
-// Private
+// Print
+void FileHelper::Print(std::ostream &os, std::string const &)
+{
+   FileInternal->SetPrintLevel(PrintLevel);
+   FileInternal->Print(os);
+
+   PixelReadConverter->SetPrintLevel(PrintLevel);
+   PixelReadConverter->Print(os);
+}
 
 //-----------------------------------------------------------------------------
 } // end namespace gdcm
-