X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmDict.cxx;h=c72dd48b7a9c41de580008850352aaf5206f7b97;hb=4dd42f8153a4d5ea8d2524b3c6670e80232f73b4;hp=50e775ea17835a0e26c7577adb4f7fa5e5473cb4;hpb=4b4569ba7d0829cf3782ff6b5bbe5ae1009466e6;p=gdcm.git diff --git a/src/gdcmDict.cxx b/src/gdcmDict.cxx index 50e775ea..c72dd48b 100644 --- a/src/gdcmDict.cxx +++ b/src/gdcmDict.cxx @@ -3,12 +3,12 @@ Program: gdcm Module: $RCSfile: gdcmDict.cxx,v $ Language: C++ - Date: $Date: 2004/08/01 02:39:09 $ - Version: $Revision: 1.41 $ + Date: $Date: 2004/10/08 04:43:38 $ + Version: $Revision: 1.44 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or - http://www.creatis.insa-lyon.fr/Public/Gdcm/License.htm for details. + http://www.creatis.insa-lyon.fr/Public/Gdcm/License.html for details. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR @@ -28,7 +28,7 @@ // Constructor / Destructor /** * \brief Construtor - * @param FileName from which to build the dictionary. + * @param filename from which to build the dictionary. */ gdcmDict::gdcmDict(std::string const & filename) { @@ -49,7 +49,7 @@ gdcmDict::gdcmDict(std::string const & filename) from >> element; from >> vr; from >> fourth; - eatwhite(from); + from >> std::ws; // used to be eatwhite(from); std::getline(from, name); /// MEMORY LEAK in std::getline<> gdcmDictEntry * newEntry = new gdcmDictEntry(group, element, @@ -145,7 +145,7 @@ void gdcmDict::PrintByName(std::ostream& os) /** * \ingroup gdcmDict * \brief adds a new Dicom Dictionary Entry - * @param NewEntry entry to add + * @param newEntry entry to add * @return false if Dicom Element already exists */ bool gdcmDict::AddNewEntry(gdcmDictEntry *newEntry) @@ -168,7 +168,7 @@ bool gdcmDict::AddNewEntry(gdcmDictEntry *newEntry) /** * \ingroup gdcmDict * \brief replaces an already existing Dicom Element by a new one - * @param NewEntry new entry (overwrites any previous one with same tag) + * @param newEntry new entry (overwrites any previous one with same tag) * @return false if Dicom Element doesn't exist */ bool gdcmDict::ReplaceEntry(gdcmDictEntry *newEntry)