X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmDicomDirElement.h;h=2e0b9c410c466842caa31b8671389f48f094ddb2;hb=f5a3357d5243ea55d994eda5ff406edbdbe5077c;hp=ffd97fdd1addac23accb35119216a6164d4c9dd6;hpb=ac0c6624e5206f25f5adc7deb53f937e00e6e264;p=gdcm.git diff --git a/src/gdcmDicomDirElement.h b/src/gdcmDicomDirElement.h index ffd97fdd..2e0b9c41 100644 --- a/src/gdcmDicomDirElement.h +++ b/src/gdcmDicomDirElement.h @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmDicomDirElement.h,v $ Language: C++ - Date: $Date: 2005/01/11 15:15:38 $ - Version: $Revision: 1.19 $ + Date: $Date: 2005/01/20 17:15:54 $ + Version: $Revision: 1.21 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -27,7 +27,7 @@ namespace gdcm { //----------------------------------------------------------------------------- -typedef struct +GDCM_EXPORT typedef struct { /// DicomGroup number unsigned short int Group; @@ -101,10 +101,8 @@ public: ListDicomDirImageElem const &GetDicomDirImageElements() const { return DicomDirImageList; }; - /** - * Public method to add an element - */ - bool AddNewEntry(std::string const &type, Element const &elem); + // Public method to add an element + bool AddNewEntry(DicomDirType type, Element const &elem); private: /// Elements chained list, related to the MetaElements of DICOMDIR