]> Creatis software - gdcm.git/blobdiff - src/gdcmSerieHeader.h
2005-01-13 Jean-Pierre Roux <jpr@creatis.univ-lyon1.fr>
[gdcm.git] / src / gdcmSerieHeader.h
index fe95a31bb8876393f53caf8de9ddd91af0f235b1..32c12f8c194753a1c5eadcbba938ec0e0ffc01b3 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmSerieHeader.h,v $
   Language:  C++
-  Date:      $Date: 2004/12/03 20:16:58 $
-  Version:   $Revision: 1.2 $
+  Date:      $Date: 2005/01/11 15:15:38 $
+  Version:   $Revision: 1.4 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -26,10 +26,9 @@ namespace gdcm
 {
 class Header;
 //-----------------------------------------------------------------------------
-/*
- * \defgroup SerieHeader
+/**
+ * \ingroup SerieHeader
  * \brief  
- *
  * - This class should be used for a stack of 2D dicom images.
  * - For a multiframe dicom image better use directly SerieHeader
 */
@@ -40,20 +39,20 @@ public:
     ~SerieHeader();
 
    /// \todo should return bool or throw error ?
-   void AddFileName(std::string const & filename);
+   void AddFileName(std::string const &filename);
    void AddGdcmFile(Header *file);
-   void SetDirectory(std::string const & dir);
+   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.
-   HeaderGetGdcmHeader() { return CoherentGdcmFileList.front(); }
+   Header *GetGdcmHeader() { return CoherentGdcmFileList.front(); }
 
    typedef std::list<Header* > GdcmHeaderList;
 
    /// \brief Gets the *coherent* File List
    /// @return the *coherent* File List
-   const GdcmHeaderListGetGdcmFileList() { return CoherentGdcmFileList; }
+   const GdcmHeaderList &GetGdcmFileList() { return CoherentGdcmFileList; }
 
 private:
    bool ImagePositionPatientOrdering();