]> Creatis software - gdcm.git/commitdiff
JPEGFragmentsInfo declares PixelReadConvert as friend.
authorjpr <jpr>
Fri, 18 Nov 2005 14:49:15 +0000 (14:49 +0000)
committerjpr <jpr>
Fri, 18 Nov 2005 14:49:15 +0000 (14:49 +0000)
All its members are private, in order not to confuse users.

src/gdcmJPEGFragmentsInfo.h

index 879a4cc1cc4a7f46dfe36151b88a28554d33a287..a34c6ff0b03546c88509ebd438fdac01a8285cc9 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmJPEGFragmentsInfo.h,v $
   Language:  C++
-  Date:      $Date: 2005/02/06 14:43:28 $
-  Version:   $Revision: 1.20 $
+  Date:      $Date: 2005/11/18 14:49:15 $
+  Version:   $Revision: 1.21 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -39,7 +39,10 @@ namespace gdcm
  */
 class GDCM_EXPORT JPEGFragmentsInfo
 {
-public:
+friend class File;
+friend class PixelReadConvert;
+
+private:
    JPEGFragmentsInfo();
    ~JPEGFragmentsInfo();
    void Print( std::ostream &os = std::cout, std::string const &indent = "" );
@@ -52,7 +55,7 @@ public:
    JPEGFragment *GetNextFragment();
    unsigned int GetFragmentCount();
 
-private:
+//private:
    typedef std::list<JPEGFragment *> JPEGFragmentsList;
 
     //Some mathieu hack: