]> Creatis software - gdcm.git/blobdiff - src/gdcmSerieHeader.h
Coding Style + Doxygenation
[gdcm.git] / src / gdcmSerieHeader.h
index fe95a31bb8876393f53caf8de9ddd91af0f235b1..1a94d7cd49c545790d19cad702e0cb9014677ac0 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/06 20:03:28 $
+  Version:   $Revision: 1.3 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -40,20 +40,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();