]> Creatis software - gdcm.git/blobdiff - src/gdcmRLEFramesInfo.h
COMP: Solve both problem of push_back missing in VS6 (already fixed) and no need...
[gdcm.git] / src / gdcmRLEFramesInfo.h
index a83be408858de092dd3138cda949fcbeb696fbb1..5d7c2232c89735c8e76718f7e5e00d4a24beb8d2 100644 (file)
@@ -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<RLEFrame *> RLEFrameList;
+
+   RLEFrameList Frames;
+   RLEFrameList::iterator ItFrames;
 };
 } // end namespace gdcm