X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmFileHelper.cxx;h=33d9f0f8f0dd6ead58f468e0404aa916017d98ee;hb=7350639601914cd8ab02bfb0d6668c5bf56ce2f4;hp=a1cfd210b9f1a45ec058f9f9efce5cb1fd65acd7;hpb=016aa39f27667edc2756025e2630b09f229664fc;p=gdcm.git diff --git a/src/gdcmFileHelper.cxx b/src/gdcmFileHelper.cxx index a1cfd210..33d9f0f8 100644 --- a/src/gdcmFileHelper.cxx +++ b/src/gdcmFileHelper.cxx @@ -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 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 -