X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmRLEFrame.h;h=e6cc6882b26eca58b1e7123afc2c37ec01589ab9;hb=f58d0f1e0e1680554dcd631817b7f81968fdb950;hp=a4af1a8631b938b27fab306361ef8a14081c12d1;hpb=6d79b5e185867ef00629f1ccb279c32daa6357d2;p=gdcm.git diff --git a/src/gdcmRLEFrame.h b/src/gdcmRLEFrame.h index a4af1a86..e6cc6882 100644 --- a/src/gdcmRLEFrame.h +++ b/src/gdcmRLEFrame.h @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmRLEFrame.h,v $ Language: C++ - Date: $Date: 2005/11/28 16:50:33 $ - Version: $Revision: 1.18 $ + Date: $Date: 2007/08/22 16:14:04 $ + Version: $Revision: 1.22 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -17,15 +17,15 @@ =========================================================================*/ -#ifndef GDCMRLEFRAME_H -#define GDCMRLEFRAME_H +#ifndef _GDCMRLEFRAME_H_ +#define _GDCMRLEFRAME_H_ #include "gdcmBase.h" #include #include -namespace gdcm +namespace GDCM_NAME_SPACE { /** * \brief Utility class for summerizing the informations of a SINGLE RLE @@ -43,13 +43,13 @@ namespace gdcm * - the offsets of each segment of the frame, * - the (corresponding) lengths of each segment of the frame. */ - class GDCM_EXPORT RLEFrame : public Base +class GDCM_EXPORT RLEFrame : public Base { friend class File; friend class RLEFramesInfo; private: RLEFrame() { NumberOfFragments = 0; } - void Print( std::ostream &os = std::cout, std::string indent = "" ); + void Print( std::ostream &os = std::cout, std::string const &indent = "" ); void SetNumberOfFragments(unsigned int number) { NumberOfFragments = number; } @@ -64,7 +64,6 @@ private: bool ReadAndDecompressRLEFragment( uint8_t *subRaw, long fragmentSize, long rawSegmentSize, std::ifstream *fp ); -//private: unsigned int NumberOfFragments; long Offset[15]; long Length[15];