]> Creatis software - gdcm.git/blobdiff - src/gdcmDicomDir.h
* ENH : add methods in gdcmObject to get the hash table or the list of
[gdcm.git] / src / gdcmDicomDir.h
index b0bc7453254c1756998f572c4b1f353277849d29..3604104e0ea059aef8a8858eac64db13b3ce8f01 100644 (file)
@@ -8,9 +8,12 @@
 #include "gdcmPatient.h"
 #include "gdcmDicomDirElement.h"
 
+#include <list>
+#include <vector>
+
 //-----------------------------------------------------------------------------
 typedef std::list<gdcmPatient *> ListPatient;
-typedef std::list<gdcmHeader *>  ListHeader;
+typedef std::vector<gdcmHeader *>  ListHeader;
 
 //-----------------------------------------------------------------------------
 /*
@@ -61,6 +64,8 @@ private:
    void SetElements(std::string &path,ListHeader &list);
    void SetElement(std::string &path,gdcmDicomDirType type,gdcmHeader *header);
 
+   static bool HeaderLessThan(gdcmHeader *header1,gdcmHeader *header2);
+
    ListPatient patients;
 };