X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmDicomDirElement.cxx;h=54cbce0b43f906898f0be9eaf7aa0488c023fab4;hb=c67ffef593e7635d8dfa7d3fe63d702e5afafc3e;hp=47e0750e1a4ed41f5285cdc4ba8372d4a58ebdc0;hpb=93748f382dadb5c9240c4156ce7bbe9dcc8da44f;p=gdcm.git diff --git a/src/gdcmDicomDirElement.cxx b/src/gdcmDicomDirElement.cxx index 47e0750e..54cbce0b 100644 --- a/src/gdcmDicomDirElement.cxx +++ b/src/gdcmDicomDirElement.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmDicomDirElement.cxx,v $ Language: C++ - Date: $Date: 2005/01/20 17:15:54 $ - Version: $Revision: 1.30 $ + Date: $Date: 2005/01/24 14:14:10 $ + Version: $Revision: 1.31 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -84,7 +84,7 @@ DicomDirElement::DicomDirElement() from.getline(buff, 1024, '"'); elem.Value = buff; - AddNewEntry(type, elem); + AddEntry(type, elem); } from.getline(buff, 1024, '\n'); } @@ -159,12 +159,11 @@ void DicomDirElement::Print(std::ostream &os) //----------------------------------------------------------------------------- // Public /** - * \brief AddNewEntry + * \brief Add an entry * @param type type * @param elem elem */ -bool DicomDirElement::AddNewEntry(DicomDirType type, - Element const &elem) +bool DicomDirElement::AddEntry(DicomDirType type, Element const &elem) { switch( type ) {