X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmDicomDir.h;h=3604104e0ea059aef8a8858eac64db13b3ce8f01;hb=a23d3b0e36743664f22f42269224f305ccf50fdb;hp=b0bc7453254c1756998f572c4b1f353277849d29;hpb=4a07b1470f68d316f570fef1f07b9f9c77e90ee1;p=gdcm.git diff --git a/src/gdcmDicomDir.h b/src/gdcmDicomDir.h index b0bc7453..3604104e 100644 --- a/src/gdcmDicomDir.h +++ b/src/gdcmDicomDir.h @@ -8,9 +8,12 @@ #include "gdcmPatient.h" #include "gdcmDicomDirElement.h" +#include +#include + //----------------------------------------------------------------------------- typedef std::list ListPatient; -typedef std::list ListHeader; +typedef std::vector 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; };