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
#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
{
* @param mode Load mode to be used
*/
void SetLoadMode (int mode) { if (LoadMode != mode)
- LoadMode = mode, IsDocumentModified = true; }
+ LoadMode=mode, IsDocumentModified = true; }
protected:
// Methods
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
/**
* \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()
}
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"