X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmSerieHeader.h;h=b6a8a76da083d6e308a6452055b68c6027611e10;hb=53d8646509a5a15166422a0d41533be61670c6aa;hp=55893b9e54c7df1a50d2d57a47440eb671211391;hpb=a0e1e2a8b7226c17d30c3368f438e3e5c439105f;p=gdcm.git diff --git a/src/gdcmSerieHeader.h b/src/gdcmSerieHeader.h index 55893b9e..b6a8a76d 100644 --- a/src/gdcmSerieHeader.h +++ b/src/gdcmSerieHeader.h @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmSerieHeader.h,v $ Language: C++ - Date: $Date: 2005/01/14 21:03:55 $ - Version: $Revision: 1.5 $ + Date: $Date: 2005/01/14 21:30:53 $ + Version: $Revision: 1.6 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -42,16 +42,12 @@ public: /// \todo should return bool or throw error ? void AddFileName(std::string const &filename); - void AddGdcmFile(Header *file); void SetDirectory(std::string const &dir); void OrderGdcmFileList(); - /// \warning Assumes all elements in the list have the same global infos. - /// Assumes the list is not empty. - Header *GetGdcmHeader() { return CoherentGdcmFileList.front(); } - /// \brief Gets the *coherent* File List /// @return the *coherent* File List + /// Caller must call OrderGdcmFileList first const GdcmHeaderList &GetGdcmFileList() { return CoherentGdcmFileList; } private: