From: jpr Date: Sat, 30 Jul 2005 18:17:08 +0000 (+0000) Subject: Comments X-Git-Tag: Version1.2.bp~247 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=25742c0834b017860b1a079436fc8e705129aec2;p=gdcm.git Comments --- diff --git a/src/gdcmDocument.h b/src/gdcmDocument.h index d032a388..c7c6fc71 100644 --- a/src/gdcmDocument.h +++ b/src/gdcmDocument.h @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmDocument.h,v $ Language: C++ - Date: $Date: 2005/07/17 04:28:55 $ - Version: $Revision: 1.117 $ + Date: $Date: 2005/07/30 18:19:44 $ + Version: $Revision: 1.118 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -30,7 +30,8 @@ #define NO_SEQ 0x00000001 // Don't load odd groups #define NO_SHADOW 0x00000002 // Don't load Sequences -#define NO_SHADOWSEQ 0x00000004 // Don't load Sequences if they belong to odd group +#define NO_SHADOWSEQ 0x00000004 // Don't load Sequences if they belong + // to an odd group // (*exclusive* from NO_SEQ and NO_SHADOW) namespace gdcm { @@ -113,7 +114,7 @@ typedef std::list ListElements; * @param mode Load mode to be used */ void SetLoadMode (int mode) { if (LoadMode != mode) - LoadMode = mode, IsDocumentModified = true; } + LoadMode=mode, IsDocumentModified = true; } protected: // Methods diff --git a/src/gdcmFile.cxx b/src/gdcmFile.cxx index e1c6c35f..f79b64e7 100644 --- a/src/gdcmFile.cxx +++ b/src/gdcmFile.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmFile.cxx,v $ Language: C++ - Date: $Date: 2005/07/24 02:34:41 $ - Version: $Revision: 1.263 $ + Date: $Date: 2005/07/30 18:17:08 $ + Version: $Revision: 1.264 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -785,8 +785,8 @@ int File::GetBitsStored() /** * \brief Retrieve the number of Bits Allocated - * (8, 12 -compacted ACR-NEMA files-, 16, ...) - * @return The encountered number of Bits Allocated, 0 by default. + * (8, 12 -compacted ACR-NEMA files-, 16, 24 -old RGB ACR-NEMA files-,) + * @return The encountered Number of Bits Allocated, 0 by default. * 0 means the file is NOT USABLE. The caller has to check it ! */ int File::GetBitsAllocated() @@ -920,8 +920,8 @@ std::string File::GetPixelType() } else if ( bitsAlloc == "24" ) { - // (in order no to be messed up - bitsAlloc = "8"; // by old RGB images) + // (in order no to be messed up by old RGB images) + bitsAlloc = "8"; } std::string sign = GetEntryValue(0x0028, 0x0103);//"Pixel Representation"