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/20 11:09:23 $
+ Version: $Revision: 1.28 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
std::ifstream from(filename.c_str());
if(!from)
{
- dbg.Verbose(2,
- "DicomDirElement::DicomDirElement: can't open dictionary",
- filename.c_str());
+ gdcmVerboseMacro( "Can't open DicomDirElement dictionary"
+ << filename.c_str());
FillDefaultDIRDict( this );
}
else
}
/**
- * \ingroup DicomDirElement
* \brief canonical destructor
*/
DicomDirElement::~DicomDirElement()
//-----------------------------------------------------------------------------
// Print
/**
- * \ingroup DicomDirElement
* \brief Print all
* \todo add a 'Print Level' check
* @param os The output stream to be written to.
//-----------------------------------------------------------------------------
// 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" )
{