X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=inline;f=src%2FgdcmFile.cxx;h=1fe7118d0212689afde55489598082f654143e6f;hb=22075f2f8d1da63aaed511defa7f40e8f6a2edb5;hp=0eb156243c0c753fcadb7844cba04e4d2c1c46bf;hpb=00aaf4d70ada57b16f0914337e0a71fab157e3cd;p=gdcm.git diff --git a/src/gdcmFile.cxx b/src/gdcmFile.cxx index 0eb15624..1fe7118d 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/09/05 08:20:08 $ - Version: $Revision: 1.266 $ + Date: $Date: 2005/09/20 09:07:56 $ + Version: $Revision: 1.269 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -71,19 +71,20 @@ // SUPINE // CS 2 Patient Orientation (0020 0020) -// When the coordinates of the image -// are always present, this field is almost never used. -// Better we don't trust it too much ... -// Found Values are : L\P -// L\FP -// P\F -// L\F -// P\FR -// R\F +// When the coordinates of the image +// are always present, this field is almost never used. +// Better we don't trust it too much ... +// Found Values are : +// L\P +// L\FP +// P\F +// L\F +// P\FR +// R\F // // (0020|0037) [Image Orientation (Patient)] [1\0\0\0\1\0 ] - + // --------------------------------------------------------------- // #include "gdcmFile.h" @@ -1494,7 +1495,7 @@ bool File::Write(std::string fileName, FileType writetype) if ( e0000 ) { std::ostringstream sLen; - sLen << ComputeGroup0002Length(writetype); + sLen << ComputeGroup0002Length( ); e0000->SetValue(sLen.str()); } @@ -1684,7 +1685,7 @@ bool File::ReadTag(uint16_t testGroup, uint16_t testElem) itemTagGroup = ReadInt16(); itemTagElem = ReadInt16(); } - catch ( FormatError e ) + catch ( FormatError /*e*/ ) { //std::cerr << e << std::endl; return false;