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/28 17:01:29 $
+ Version: $Revision: 1.32 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
from.getline(buff, 1024, '"');
elem.Value = buff;
- AddNewEntry(type, elem);
+ AddEntry(type, elem);
}
from.getline(buff, 1024, '\n');
}
// Print
/**
* \brief Print all
- * \todo add a 'Print Level' check
* @param os The output stream to be written to.
*/
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 )
{