]> Creatis software - gdcm.git/blobdiff - src/gdcmDicomDirSerie.h
* src/gdcmDicomDir*.[h|cxx] : rename methods to be logik in their name.
[gdcm.git] / src / gdcmDicomDirSerie.h
index 4449d20d0008d84de66b3476fa72611eeb5d0ae3..751400477ed396ad5f0f7817b1ddf4cc15902424 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmDicomDirSerie.h,v $
   Language:  C++
-  Date:      $Date: 2005/01/18 07:53:42 $
-  Version:   $Revision: 1.21 $
+  Date:      $Date: 2005/01/20 11:09:23 $
+  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
@@ -41,15 +41,13 @@ public:
    void Print( std::ostream &os = std::cout, std::string const & indent = "" );
    void WriteContent( std::ofstream *fp, FileType t );
  
-   /// Returns the IMAGE chained List for this SERIE.
-   ListDicomDirImage const &GetDicomDirImages() const { return Images; };
-
    // should avoid exposing internal mechanism
-   DicomDirImage *GetFirstEntry();
-   DicomDirImage *GetNextEntry();
+   DicomDirImage *GetFirstImage();
+   DicomDirImage *GetNextImage();
+   DicomDirImage *GetLastImage();
         
    /// adds the passed IMAGE to the IMAGE chained List for this SERIE.    
-   void AddDicomDirImage(DicomDirImage *obj) { Images.push_back(obj); };
+   void AddImage(DicomDirImage *obj) { Images.push_back(obj); };
 
    DicomDirImage *NewImage();
 
@@ -58,7 +56,7 @@ private:
    ///chained list of DicomDirImages (to be exploited recursively)
    ListDicomDirImage Images;
    /// iterator on the DicomDirImages of the current DicomDirSerie
-   ListDicomDirImage::iterator ItDicomDirImage;
+   ListDicomDirImage::iterator ItImage;
 };
 } // end namespace gdcm
 //-----------------------------------------------------------------------------