X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmSerieHelper.h;h=1b9a8ff8fbc6d767697baaf95433412bacdd4d73;hb=a98b52385287bd4c6855758bdaa1d1ce2b7333be;hp=f0c486f21fb170c8b3e01716e51f8af73865554d;hpb=98cf38e32be18dc2b7d3d1a13e45f60717b008bc;p=gdcm.git diff --git a/src/gdcmSerieHelper.h b/src/gdcmSerieHelper.h index f0c486f2..1b9a8ff8 100644 --- a/src/gdcmSerieHelper.h +++ b/src/gdcmSerieHelper.h @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmSerieHelper.h,v $ Language: C++ - Date: $Date: 2005/12/16 13:48:46 $ - Version: $Revision: 1.34 $ + Date: $Date: 2006/01/18 15:25:07 $ + Version: $Revision: 1.36 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -114,13 +114,11 @@ public: { m_UseSeriesDetails = useSeriesDetails;} bool GetUseSeriesDetails( ){ return m_UseSeriesDetails; } - void AddSeriesDetail(uint16_t group, uint16_t elem); + void AddSeriesDetail(uint16_t group, uint16_t elem, bool convert); - // \brief Create a string that uniquely identifies a series. By default - // uses the SeriesUID. If UseSeriesDetails(true) has been called, - // then additional identifying information is used. std::string CreateUniqueSeriesIdentifier( File * inFile ); - + + std::string CreateUserDefinedFileIdentifier( File * inFile ); /** * \brief Sets the LoadMode as a boolean string. @@ -184,6 +182,7 @@ private: typedef struct { uint16_t group; uint16_t elem; + bool convert; } ExDetail; typedef std::vector SeriesExDetails; SeriesExDetails ExDetails; @@ -204,6 +203,7 @@ private: /// he may supply his own comparison function. BOOL_FUNCTION_PFILE_PFILE_POINTER UserLessThanFunction; + void Sort(FileList *fileList, bool (*pt2Func)( File *file1, File *file2) ); }; } // end namespace gdcm