]> Creatis software - gdcm.git/blobdiff - src/gdcmRLEFrame.h
ENH: Adding 'gdcm' namespace. Be nice with me this was a ~13000 lines patch. Also...
[gdcm.git] / src / gdcmRLEFrame.h
index 3f288ecfc83ce7b4f03b78fde1d196dc55532901..f1e27c6e3316a7eb5207dd375b030964b0a7b93b 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmRLEFrame.h,v $
   Language:  C++
-  Date:      $Date: 2004/10/08 16:27:20 $
-  Version:   $Revision: 1.4 $
+  Date:      $Date: 2004/10/12 04:35:47 $
+  Version:   $Revision: 1.5 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -21,7 +21,8 @@
 #define GDCMRLEFRAME_H
 
 #include "gdcmCommon.h"
-
+namespace gdcm 
+{
 /**
  * \brief Utility class for summerizing the informations of a SINGLE RLE
  *        frame of an "Encapsulated RLE Compressed Image" (refer to
  *          both the above RLE Header and the itemlength of the frame).
  *
  *        Each instance of this class (they can be as many instances for
- *        a given gdcmDocument as they are frames and they are collected in
- *        a \ref gdcmRLEFramesInfo ) describes :
+ *        a given Document as they are frames and they are collected in
+ *        a \ref RLEFramesInfo ) describes :
  *        - the total number of segments (up to 15),
  *        - the offsets of each segment of the frame,
  *        - the (corresponding) lengths of each segment of the frame.
  */
-class GDCM_EXPORT gdcmRLEFrame
+class GDCM_EXPORT RLEFrame
 {
-friend class gdcmDocument;
-friend class gdcmFile;
-friend class gdcmPixelConvert;
+friend class Document;
+friend class File;
+friend class PixelConvert;
    int     NumberFragments;
    long    Offset[15];
    long    Length[15];
-   gdcmRLEFrame() { NumberFragments = 0; }
+   RLEFrame() { NumberFragments = 0; }
    
 };
-
+} // end namespace gdcm
 //-----------------------------------------------------------------------------
 #endif