]> Creatis software - gdcm.git/blob - src/gdcmJPEGFragmentsInfo.h
ENH: Adding 'gdcm' namespace. Be nice with me this was a ~13000 lines patch. Also...
[gdcm.git] / src / gdcmJPEGFragmentsInfo.h
1 /*=========================================================================
2                                                                                 
3   Program:   gdcm
4   Module:    $RCSfile: gdcmJPEGFragmentsInfo.h,v $
5   Language:  C++
6   Date:      $Date: 2004/10/12 04:35:46 $
7   Version:   $Revision: 1.2 $
8                                                                                 
9   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
10   l'Image). All rights reserved. See Doc/License.txt or
11   http://www.creatis.insa-lyon.fr/Public/Gdcm/License.html for details.
12                                                                                 
13      This software is distributed WITHOUT ANY WARRANTY; without even
14      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
15      PURPOSE.  See the above copyright notices for more information.
16                                                                                 
17 =========================================================================*/
18
19
20 #ifndef GDCMJPEGFRAGMENTSINFO_H
21 #define GDCMJPEGFRAGMENTSINFO_H
22
23 #include "gdcmJPEGFragment.h"
24 #include <list>
25 namespace gdcm 
26 {
27
28 /**
29  * \brief Utility class for gathering the informations of the collection
30  *        of JPEG fragment[s] (see \ref JPEGFragment)  when handling
31  *        "Encapsulated JPEG Compressed Images". 
32  *        The informations on each frame are obtained during the parsing
33  *        of a Document (refer to
34  *         \ref Document::ComputeJPEGFragmentInfo() ).
35  *        They shall be used when (if necessary) decoding the fragments.
36  *
37  *        This class is simply a stl list<> of \ref JPEGFragment.
38  */
39 class GDCM_EXPORT JPEGFragmentsInfo
40 {
41    typedef std::list< JPEGFragment* > JPEGFragmentsList;
42 friend class Document;
43 friend class File;
44 friend class PixelConvert;
45    JPEGFragmentsList Fragments;
46 public:
47    ~JPEGFragmentsInfo();
48 };
49 } // end namespace gdcm
50
51 //-----------------------------------------------------------------------------
52 #endif