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
namespace gdcm
{
-
/**
* \brief Utility class for gathering the informations of the collection
* of RLE frame[s] (see \ref RLEFrame) when handling
*/
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