X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmDicomDirElement.cxx;h=b393d5dd00b93fe579af715a671b646f36e63b2b;hb=ed0cb816b9fbe45a5dfead3f7d95194e0cbbd3a4;hp=2769450b6aeb523fdf803068f5302cd069f91365;hpb=ce71ebf1247644cdd76a7a65a5ff024cb380071b;p=gdcm.git diff --git a/src/gdcmDicomDirElement.cxx b/src/gdcmDicomDirElement.cxx index 2769450b..b393d5dd 100644 --- a/src/gdcmDicomDirElement.cxx +++ b/src/gdcmDicomDirElement.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmDicomDirElement.cxx,v $ Language: C++ - Date: $Date: 2004/11/04 15:59:37 $ - Version: $Revision: 1.22 $ + Date: $Date: 2005/01/18 07:53:42 $ + Version: $Revision: 1.27 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -40,9 +40,7 @@ DicomDirElement::DicomDirElement() std::ifstream from(filename.c_str()); if(!from) { - dbg.Verbose(2, - "DicomDirElement::DicomDirElement: can't open dictionary", - filename.c_str()); + gdcmVerboseMacro( "Can't open dictionary" << filename.c_str()); FillDefaultDIRDict( this ); } else @@ -78,7 +76,6 @@ DicomDirElement::DicomDirElement() } /** - * \ingroup DicomDirElement * \brief canonical destructor */ DicomDirElement::~DicomDirElement() @@ -93,7 +90,6 @@ DicomDirElement::~DicomDirElement() //----------------------------------------------------------------------------- // Print /** - * \ingroup DicomDirElement * \brief Print all * \todo add a 'Print Level' check * @param os The output stream to be written to. @@ -146,8 +142,13 @@ void DicomDirElement::Print(std::ostream &os) //----------------------------------------------------------------------------- // Public -bool DicomDirElement::AddNewEntry(std::string const & type, - Element const & elem) +/** + * \brief AddNewEntry + * @param type type + * @param elem elem + */ +bool DicomDirElement::AddNewEntry(std::string const &type, + Element const &elem) { if( type == "metaElem" ) {