]> Creatis software - gdcm.git/blobdiff - src/gdcmDirList.cxx
Doxygenation
[gdcm.git] / src / gdcmDirList.cxx
index 71c09f24a242d0f742ded301c2180a0ede5351e2..3d8dd2ea155641ae8eb6789a18aede2ce557f93c 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmDirList.cxx,v $
   Language:  C++
-  Date:      $Date: 2004/07/26 19:36:56 $
-  Version:   $Revision: 1.18 $
+  Date:      $Date: 2004/08/30 16:15:40 $
+  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
@@ -107,7 +107,7 @@ int gdcmDirList::Explore(std::string dirName, bool recursive)
       }
       else
       {
-         this->push_back(dirName+fileName);
+         push_back(dirName+fileName);
          numberOfFiles++;
       }
 
@@ -135,9 +135,9 @@ int gdcmDirList::Explore(std::string dirName, bool recursive)
    {
       fileName = dirName + d->d_name;
       stat(fileName.c_str(), &buf); //really discard output ?
-      if( S_ISREG(buf.st_mode) ) //is it a regular file?
+      if( S_ISREG(buf.st_mode) )    //is it a regular file?
       {
-         this->push_back( fileName );
+         push_back( fileName );
          numberOfFiles++;
       }
       else if( S_ISDIR(buf.st_mode) ) //directory?