]> Creatis software - gdcm.git/blobdiff - src/gdcmRLEFramesInfo.h
* FIX : remove so many friend between classes
[gdcm.git] / src / gdcmRLEFramesInfo.h
index d5ff6e103b6abcb0157fc70390181b32167bc085..a88a670ad4e5e639625e8ee0a880471fba693f82 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmRLEFramesInfo.h,v $
   Language:  C++
-  Date:      $Date: 2004/10/12 04:35:47 $
-  Version:   $Revision: 1.5 $
+  Date:      $Date: 2005/01/26 16:28:58 $
+  Version:   $Revision: 1.12 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
 #define GDCMRLEFRAMESINFO_H
 
 #include "gdcmRLEFrame.h"
+
 #include <list>
+
 namespace gdcm 
 {
-
 /**
  * \brief Utility class for gathering the informations of the collection
  *        of RLE frame[s] (see \ref RLEFrame)  when handling
@@ -41,13 +42,18 @@ namespace gdcm
  */
 class GDCM_EXPORT RLEFramesInfo
 {
-   typedef std::list< RLEFrame* > RLEFrameList;
-friend class Document;
-friend class File;
-friend class PixelConvert;
-   RLEFrameList Frames;
 public:
    ~RLEFramesInfo();
+   void Print( std::ostream &os = std::cout, std::string indent = "" );
+
+   void AddFrame(RLEFrame *frame);
+
+private:
+   typedef std::list<RLEFrame *> RLEFrameList;
+
+   RLEFrameList Frames;
+
+   friend class PixelReadConvert;
 };
 } // end namespace gdcm