X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmHeader.cxx;h=a623626f2efae27c0645295f9543749ec735acb6;hb=00e89cde772e18e4f2baab2b01680330af909d59;hp=afe5e6d0ccac7cd5483e4a00654ff7cf72eb42d5;hpb=d1722eb98897b805be46612057abdcda1bd4bdaa;p=gdcm.git diff --git a/src/gdcmHeader.cxx b/src/gdcmHeader.cxx index afe5e6d0..a623626f 100644 --- a/src/gdcmHeader.cxx +++ b/src/gdcmHeader.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmHeader.cxx,v $ Language: C++ - Date: $Date: 2004/10/09 03:42:51 $ - Version: $Revision: 1.191 $ + Date: $Date: 2004/10/10 00:42:54 $ + Version: $Revision: 1.192 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -114,7 +114,7 @@ void gdcmHeader::Write(FILE* fp,FileType filetype) { // no (GrPixel, NumPixel) element std::string s_lgPix; - s_lgPix = Format("%d", i_lgPix+12); + s_lgPix = gdcmUtil::Format("%d", i_lgPix+12); ReplaceOrCreateByNumber(s_lgPix,GrPixel, 0x0000); } @@ -1114,7 +1114,7 @@ int gdcmHeader::GetLUTNbits() } tokens.clear(); // clean any previous value - Tokenize ( lutDescription, tokens, "\\" ); + gdcmUtil::Tokenize ( lutDescription, tokens, "\\" ); //LutLength=atoi(tokens[0].c_str()); //LutDepth=atoi(tokens[1].c_str()); @@ -1332,13 +1332,13 @@ std::string gdcmHeader::GetTransfertSyntaxName() void gdcmHeader::SetImageDataSize(size_t ImageDataSize) { ///FIXME I don't understand this code wh ydo we set two times 'car' ? - std::string car = Format("%d", ImageDataSize); + std::string car = gdcmUtil::Format("%d", ImageDataSize); gdcmDocEntry *a = GetDocEntryByNumber(GrPixel, NumPixel); a->SetLength(ImageDataSize); ImageDataSize += 8; - car = Format("%d", ImageDataSize); + car = gdcmUtil::Format("%d", ImageDataSize); SetEntryByNumber(car, GrPixel, NumPixel); }