X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmRLEFramesInfo.h;h=5d7c2232c89735c8e76718f7e5e00d4a24beb8d2;hb=d0dd94b3bab6007ec04534a451f456ceebd6dca7;hp=a83be408858de092dd3138cda949fcbeb696fbb1;hpb=d00078b5e19310b379c8339fa8fe38362e8ca392;p=gdcm.git diff --git a/src/gdcmRLEFramesInfo.h b/src/gdcmRLEFramesInfo.h index a83be408..5d7c2232 100644 --- a/src/gdcmRLEFramesInfo.h +++ b/src/gdcmRLEFramesInfo.h @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmRLEFramesInfo.h,v $ Language: C++ - Date: $Date: 2005/01/20 16:17:00 $ - Version: $Revision: 1.10 $ + Date: $Date: 2005/01/28 15:42:22 $ + Version: $Revision: 1.13 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -26,7 +26,6 @@ namespace gdcm { - /** * \brief Utility class for gathering the informations of the collection * of RLE frame[s] (see \ref RLEFrame) when handling @@ -43,14 +42,20 @@ namespace gdcm */ class GDCM_EXPORT RLEFramesInfo { - typedef std::list< RLEFrame* > RLEFrameList; -friend class Document; -friend class FileHelper; -friend class PixelReadConvert; - RLEFrameList Frames; public: ~RLEFramesInfo(); void Print( std::ostream &os = std::cout, std::string indent = "" ); + + void AddFrame(RLEFrame *frame); + + RLEFrame *GetFirstFrame(); + RLEFrame *GetNexttFrame(); + +private: + typedef std::list RLEFrameList; + + RLEFrameList Frames; + RLEFrameList::iterator ItFrames; }; } // end namespace gdcm