- /// \warning Assumes all elements in the list have the same global infos.
- /// Assumes the list is not empty.
- Header* GetGdcmHeader() { return CoherentGdcmFileList.front(); }
-
- typedef std::list<Header* > GdcmHeaderList;
-
- /// \brief Gets the *coherent* File List
- /// @return the *coherent* File List
- const GdcmHeaderList& GetGdcmFileList() { return CoherentGdcmFileList; }
+ /// \brief Gets the FIRST *coherent* File List.
+ /// Deprecated; kept not to break the API
+ /// \note Caller must call OrderGdcmFileList first
+ /// @return the (first) *coherent* File List
+ const GdcmFileList &GetGdcmFileList() { return
+ *CoherentGdcmFileListHT.begin()->second; }
+
+ GdcmFileList *GetFirstCoherentFileList();
+ GdcmFileList *GetNextCoherentFileList();
+ GdcmFileList *GetCoherentFileList(std::string SerieUID);