]> Creatis software - gdcm.git/blobdiff - src/gdcmDicomDirElement.h
ENH: Add two new methods: GetCurrentThreadID and ProcessID. This could be usefull...
[gdcm.git] / src / gdcmDicomDirElement.h
index ffd97fdd1addac23accb35119216a6164d4c9dd6..2e0b9c410c466842caa31b8671389f48f094ddb2 100644 (file)
@@ -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