- inline gdcmHeader *GetGdcmHeader()
- {
- //Assume all element in the list have the same global infos
- return CoherentGdcmFileList.front();
- }
-
- std::list<gdcmHeader*>& GetGdcmFileList();
+ /// \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; }