]> Creatis software - gdcm.git/commitdiff
Typo
authorjpr <jpr>
Sun, 6 Feb 2005 14:43:27 +0000 (14:43 +0000)
committerjpr <jpr>
Sun, 6 Feb 2005 14:43:27 +0000 (14:43 +0000)
src/gdcmDictSet.h
src/gdcmDirList.cxx
src/gdcmDocEntry.cxx
src/gdcmElementSet.cxx
src/gdcmJPEGFragment.h
src/gdcmJPEGFragmentsInfo.h
src/gdcmRLEFramesInfo.h
src/gdcmSerieHelper.h
src/gdcmValEntry.cxx

index 95a3fef53b9fa5982b36ce04e1864ec97a4df580..d92a75c5655a45a60d53b0e3d905378a2518ec0c 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmDictSet.h,v $
   Language:  C++
-  Date:      $Date: 2005/02/02 15:07:41 $
-  Version:   $Revision: 1.41 $
+  Date:      $Date: 2005/02/06 14:43:27 $
+  Version:   $Revision: 1.42 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -47,7 +47,7 @@ public:
 
    // Probabely useless !
    //EntryNamesList *GetPubDictEntryNames();
-   //EntryNamesByCatMapGetPubDictEntryNamesByCategory();
+   //EntryNamesByCatMap *GetPubDictEntryNamesByCategory();
 
    Dict *LoadDictFromFile( std::string const &fileName,
                            DictKey const &name );
index dbe3c05166666dee7d8bde669344e1da35b4cb3f..d75662650f83cb090cb68d62368d2332c8368929 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmDirList.cxx,v $
   Language:  C++
-  Date:      $Date: 2005/02/04 16:51:36 $
-  Version:   $Revision: 1.44 $
+  Date:      $Date: 2005/02/06 14:43:27 $
+  Version:   $Revision: 1.45 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -91,7 +91,7 @@ int DirList::Explore(std::string const &dirpath, bool recursive)
    HANDLE hFile = FindFirstFile((dirName+"*").c_str(), &fileData);
 
    for(BOOL b = (hFile != INVALID_HANDLE_VALUE); b;
-       b = FindNextFile(hFile,&fileData))
+       b = FindNextFile(hFile, &fileData))
    {
       fileName = fileData.cFileName;
       if( fileData.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY )
@@ -121,9 +121,9 @@ int DirList::Explore(std::string const &dirpath, bool recursive)
    }
 
    // According to POSIX, the dirent structure contains a field char d_name[]
-   // of  unspecified  size,  with  at most NAME_MAX characters preceding the
-   // terminating null character.  Use of other fields will harm the  porta-
-   // bility  of  your  programs.
+   // of  unspecified  size, with at most NAME_MAX characters preceding the
+   // terminating null character. Use of other fields will harm the  porta-
+   // bility of your programs.
 
    struct stat buf;
    dirent *d = 0;
index 474d5681305e2ad956335c115cab6ca3f6da9c45..32c5f2854bee08d6b2111dfcc7afa58191e18b92 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmDocEntry.cxx,v $
   Language:  C++
-  Date:      $Date: 2005/02/02 16:18:48 $
-  Version:   $Revision: 1.52 $
+  Date:      $Date: 2005/02/06 14:43:27 $
+  Version:   $Revision: 1.53 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -62,7 +62,7 @@ void DocEntry::WriteContent(std::ofstream *fp, FileType filetype)
    uint16_t group = GetGroup();
    VRKey vr       = GetVR();
    uint16_t el    = GetElement();
-   uint32_t lg  = GetLength();
+   uint32_t lgth  = GetLength();
 
    if ( group == 0xfffe && el == 0x0000 )
    {
@@ -95,7 +95,7 @@ void DocEntry::WriteContent(std::ofstream *fp, FileType filetype)
       }
 
       uint16_t z = 0;
-      uint16_t shortLgr = lgr;
+      uint16_t shortLgr = lgth;
 
       if (vr == GDCM_UNKNOWN)
       {
@@ -121,7 +121,7 @@ void DocEntry::WriteContent(std::ofstream *fp, FileType filetype)
             }
             else
             {
-               binary_write(*fp, lgr);
+               binary_write(*fp, lgth);
             }
          }
          else
@@ -138,7 +138,7 @@ void DocEntry::WriteContent(std::ofstream *fp, FileType filetype)
       }
       else
       {
-         binary_write(*fp, lgr);
+         binary_write(*fp, lgth);
       }
    }
 }
index 9b8becbaa52cae97612b83cc87747cfb95be99c6..dd168d1ea36576f61edaad336256e07f5cb0a2f8 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmElementSet.cxx,v $
   Language:  C++
-  Date:      $Date: 2005/02/05 01:37:08 $
-  Version:   $Revision: 1.56 $
+  Date:      $Date: 2005/02/06 14:43:27 $
+  Version:   $Revision: 1.57 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -31,7 +31,7 @@ namespace gdcm
  */
 //BOZ depthLevel is not usefull anymore
 ElementSet::ElementSet(int depthLevel) 
-              : DocEntrySet()
+          : DocEntrySet()
 {
   (void)depthLevel;
 }
@@ -235,7 +235,7 @@ void ElementSet::Print(std::ostream &os, std::string const & )
 {
    for( TagDocEntryHT::const_iterator i = TagHT.begin(); i != TagHT.end(); ++i)
    {
-      DocEntryentry = i->second;
+      DocEntry *entry = i->second;
 
       entry->SetPrintLevel(PrintLevel);
       entry->Print(os);   
index 72de1f2b0856656302b3f78a4d02e11007141242..70f3312bc79f4a29da4be8739a4ee1a235016617 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmJPEGFragment.h,v $
   Language:  C++
-  Date:      $Date: 2005/02/04 16:51:36 $
-  Version:   $Revision: 1.16 $
+  Date:      $Date: 2005/02/06 14:43:27 $
+  Version:   $Revision: 1.17 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -48,9 +48,9 @@ public:
                                      uint8_t *buffer, int nBits, 
                                      int &statesuspension);
 
-   bool ReadJPEGFile8  (std::ifstreamfp, void *image_buffer, int &statesuspension );
-   bool ReadJPEGFile12 (std::ifstreamfp, void *image_buffer, int &statesuspension );
-   bool ReadJPEGFile16 (std::ifstreamfp, void *image_buffer, int &statesuspension );
+   bool ReadJPEGFile8  (std::ifstream *fp, void *image_buffer, int &statesuspension );
+   bool ReadJPEGFile12 (std::ifstream *fp, void *image_buffer, int &statesuspension );
+   bool ReadJPEGFile16 (std::ifstream *fp, void *image_buffer, int &statesuspension );
 
    void SetLength(uint32_t length) { Length = length; };
    uint32_t GetLength()            { return Length;   };
index 9b4b0fddf2529cf3dbbd7354d7e6084b50d114b4..879a4cc1cc4a7f46dfe36151b88a28554d33a287 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmJPEGFragmentsInfo.h,v $
   Language:  C++
-  Date:      $Date: 2005/01/31 05:24:21 $
-  Version:   $Revision: 1.19 $
+  Date:      $Date: 2005/02/06 14:43:28 $
+  Version:   $Revision: 1.20 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -42,9 +42,10 @@ class GDCM_EXPORT JPEGFragmentsInfo
 public:
    JPEGFragmentsInfo();
    ~JPEGFragmentsInfo();
-   void Print( std::ostream &os = std::cout, std::string const & indent = "" );
+   void Print( std::ostream &os = std::cout, std::string const &indent = "" );
 
-   void DecompressFromFile(std::ifstream *fp, uint8_t *buffer, int nBits, int numBytes, int length);
+   void DecompressFromFile(std::ifstream *fp, uint8_t *buffer, int nBits,
+                           int numBytes, int length);
 
    void AddFragment(JPEGFragment *fragment);
    JPEGFragment *GetFirstFragment();
@@ -57,7 +58,7 @@ private:
     //Some mathieu hack:
    int StateSuspension;
    void *SampBuffer;
-   charpimage;
+   char *pimage;
    JPEGFragmentsList Fragments;
    JPEGFragmentsList::iterator ItFragments;
 };
index f4dc27875ff1bb087b7465ee134d28f6f56b387f..c9036b6c494f0da143735ff25a30792a69c706a9 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmRLEFramesInfo.h,v $
   Language:  C++
-  Date:      $Date: 2005/01/31 06:17:22 $
-  Version:   $Revision: 1.17 $
+  Date:      $Date: 2005/02/06 14:43:28 $
+  Version:   $Revision: 1.18 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -45,8 +45,10 @@ class GDCM_EXPORT RLEFramesInfo
 public:
    ~RLEFramesInfo();
    void Print( std::ostream &os = std::cout, std::string indent = "" );
-   bool DecompressRLEFile( std::ifstream *fp, uint8_t *subRaw, int xSize, int ySize, int zSize, int bitsAllocated );
-   bool ConvertRLE16BitsFromRLE8Bits( uint8_t* subRaw, int xSize, int ySize, int NumberOfFrames );
+   bool DecompressRLEFile( std::ifstream *fp, uint8_t *subRaw, int xSize, 
+                           int ySize, int zSize, int bitsAllocated );
+   bool ConvertRLE16BitsFromRLE8Bits( uint8_t *subRaw, int xSize, int ySize, 
+                                      int NumberOfFrames );
 
    void AddFrame(RLEFrame *frame);
 
index deb2ac71c3e0d71c1bfa7f6328cf0ed9b4da0343..9376c17ec9f2d9b031b7d1597bd71bf860dd340f 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmSerieHelper.h,v $
   Language:  C++
-  Date:      $Date: 2005/02/05 02:43:06 $
-  Version:   $Revision: 1.5 $
+  Date:      $Date: 2005/02/06 14:43:28 $
+  Version:   $Revision: 1.6 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -46,7 +46,7 @@ public:
 
    SerieHelper();
    ~SerieHelper();
-   void Print(std::ostream &os = std::cout, std::string const & indent = "" );
+   void Print(std::ostream &os = std::cout, std::string const &indent = "" );
 
    /// \todo should return bool or throw error ?
    void AddFileName(std::string const &filename);
index 4fddd8831b4bbfffdabf2b808e8ef0ac3e937264..16302d552bcaf9674c3cab5008bf1af27565fbbe 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmValEntry.cxx,v $
   Language:  C++
-  Date:      $Date: 2005/02/02 16:18:49 $
-  Version:   $Revision: 1.56 $
+  Date:      $Date: 2005/02/06 14:43:28 $
+  Version:   $Revision: 1.57 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -75,7 +75,7 @@ void ValEntry::WriteContent(std::ofstream *fp, FileType filetype)
    }
 
    const VRKey &vr = GetVR();
-   unsigned int lgr = GetLength();
+   unsigned int lgth = GetLength();
    if (vr == "US" || vr == "SS")
    {
       // some 'Short integer' fields may be multivaluated
@@ -110,7 +110,7 @@ void ValEntry::WriteContent(std::ofstream *fp, FileType filetype)
       return;
    } 
 
-   gdcmAssertMacro( lgr == GetValue().length() );
+   gdcmAssertMacro( lgth == GetValue().length() );
    binary_write(*fp, GetValue());
 }