X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmSerieHeader.cxx;h=d4f65013b564f8307ea698cf12ae3d403268cd6d;hb=7059f7f1ad9d1466d7b752a40cfeb95ba81aa3d8;hp=ff773d8b3bab92d1e88f816bdd69f9393b7a692b;hpb=ba78e6c6d47d6db1528e8e88e5ebde7296a26692;p=gdcm.git diff --git a/src/gdcmSerieHeader.cxx b/src/gdcmSerieHeader.cxx index ff773d8b..d4f65013 100644 --- a/src/gdcmSerieHeader.cxx +++ b/src/gdcmSerieHeader.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmSerieHeader.cxx,v $ Language: C++ - Date: $Date: 2004/12/03 20:16:58 $ - Version: $Revision: 1.2 $ + Date: $Date: 2005/01/07 22:19:48 $ + Version: $Revision: 1.4 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -55,7 +55,7 @@ SerieHeader::~SerieHeader() * \brief add a File to the list based on file name * @param filename Name of the file to deal with */ -void SerieHeader::AddFileName(std::string const & filename) +void SerieHeader::AddFileName(std::string const &filename) { Header *header = new Header( filename ); CoherentGdcmFileList.push_back( header ); @@ -74,7 +74,7 @@ void SerieHeader::AddGdcmFile(Header *file) * \brief Sets the Directory * @param dir Name of the directory to deal with */ -void SerieHeader::SetDirectory(std::string const & dir) +void SerieHeader::SetDirectory(std::string const &dir) { DirList filenames_list(dir); //OS specific @@ -213,7 +213,7 @@ bool SerieHeader::ImagePositionPatientOrdering() GdcmHeaderVector CoherentGdcmFileVector(n); // CoherentGdcmFileVector.reserve( n ); CoherentGdcmFileVector.resize( n ); - // assert( CoherentGdcmFileVector.capacity() >= n ); + // gdcmAssertMacro( CoherentGdcmFileVector.capacity() >= n ); float step = (max - min)/(n - 1); int pos;