X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmDicomDirElement.h;h=8a17cbedcf749dd037583bef53536e462be293ca;hb=74e3bc05fade5a18f193e7d1122c74756c0e689e;hp=9c739802c3bb0d6b9b21703e3154cc3f7b806ae2;hpb=7b3410ee413b056e0e599a4800ea836c8b56152b;p=gdcm.git diff --git a/src/gdcmDicomDirElement.h b/src/gdcmDicomDirElement.h index 9c739802..8a17cbed 100644 --- a/src/gdcmDicomDirElement.h +++ b/src/gdcmDicomDirElement.h @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmDicomDirElement.h,v $ Language: C++ - Date: $Date: 2004/10/25 04:08:20 $ - Version: $Revision: 1.14 $ + Date: $Date: 2005/01/05 15:38:28 $ + Version: $Revision: 1.17 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -58,7 +58,6 @@ public: /** * \brief canonical Printer - * \sa SetPrintLevel */ void Print(std::ostream &os); @@ -102,6 +101,11 @@ public: ListDicomDirImageElem const & GetDicomDirImageElements() const { return DicomDirImageList; }; + /** + * Public method to add an element + */ + bool AddNewEntry(std::string const & type, Element const & elem); + private: /// Elements chained list, related to the MetaElements of DICOMDIR ListDicomDirMetaElem DicomDirMetaList; @@ -112,7 +116,6 @@ private: /// Elements chained list, related to the SerieElements of DICOMDIR ListDicomDirSerieElem DicomDirSerieList; /// Elements chained list, related to the ImageElements of DICOMDIR - ListDicomDirImageElem DicomDirImageList; }; } // end namespace gdcm