]> Creatis software - gdcm.git/blobdiff - src/gdcmHeaderHelper.h
ENH: /binary_write/ gdcm source. Now even on big endian we are writting little endian...
[gdcm.git] / src / gdcmHeaderHelper.h
index f2305d414c756d701242edea29135f90033beca4..5dc42bfc916e123e479e13b4da4c32380f6fc559 100644 (file)
@@ -3,12 +3,12 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmHeaderHelper.h,v $
   Language:  C++
-  Date:      $Date: 2004/07/02 13:55:28 $
-  Version:   $Revision: 1.20 $
+  Date:      $Date: 2004/10/12 04:35:46 $
+  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
-  http://www.creatis.insa-lyon.fr/Public/Gdcm/License.htm for details.
+  http://www.creatis.insa-lyon.fr/Public/Gdcm/License.html for details.
                                                                                 
      This software is distributed WITHOUT ANY WARRANTY; without even
      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
 
 #include "gdcmHeader.h"
 
+namespace gdcm 
+{
+
 //-----------------------------------------------------------------------------
 /*
- * \defgroup gdcmSerieHeader
+ * \defgroup SerieHeader
  * \brief  
  *
  * - This class should be used for a stack of 2D dicom images.
- * - For a multiframe dicom image better use directly gdcmHeaderHelper
+ * - For a multiframe dicom image better use directly HeaderHelper
 */
-class GDCM_EXPORT gdcmSerieHeader 
+class GDCM_EXPORT SerieHeader 
 {
 public:
-    gdcmSerieHeader();
-    ~gdcmSerieHeader();
+    SerieHeader();
+    ~SerieHeader();
 
    /// \todo should return bool or throw error ?
    void AddFileName(std::string const & filename);
-   void AddGdcmFile(gdcmHeader *file);
+   void AddGdcmFile(Header *file);
    void SetDirectory(std::string const & dir);
    void OrderGdcmFileList();
    
    /// \warning Assumes all elements in the list have the same global infos.
    ///          Assumes the list is not empty.
-   gdcmHeader* GetGdcmHeader() { return CoherentGdcmFileList.front(); }
+   Header* GetGdcmHeader() { return CoherentGdcmFileList.front(); }
 
-   typedef std::list<gdcmHeader* > GdcmHeaderList;
+   typedef std::list<Header* > GdcmHeaderList;
 
    /// \brief Gets the *coherent* File List
    /// @return the *coherent* File List
@@ -59,5 +62,7 @@ private:
    GdcmHeaderList CoherentGdcmFileList;
 };
 
+} // end namespace gdcm
+
 //-----------------------------------------------------------------------------
 #endif