X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=inline;f=src%2FgdcmDirList.h;h=7299f89abca458d66d80bd719ae2e59de6adfe3e;hb=c1a305b54c1a9dd1bfe2173940ba84ccd1b4bb27;hp=658079ea3cedfae480b93ce7e3907ed1c8b21e62;hpb=8b4006ce9e262e36f32ed56d877bc31de0a748a1;p=gdcm.git diff --git a/src/gdcmDirList.h b/src/gdcmDirList.h index 658079ea..7299f89a 100644 --- a/src/gdcmDirList.h +++ b/src/gdcmDirList.h @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmDirList.h,v $ Language: C++ - Date: $Date: 2007/07/13 08:17:21 $ - Version: $Revision: 1.35 $ + Date: $Date: 2009/02/05 09:03:26 $ + Version: $Revision: 1.37 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -16,8 +16,8 @@ =========================================================================*/ -#ifndef GDCMDIRLIST_H -#define GDCMDIRLIST_H +#ifndef _GDCMDIRLIST_H_ +#define _GDCMDIRLIST_H_ #include "gdcmBase.h" #include "gdcmDicomDirSerie.h" @@ -45,7 +45,7 @@ typedef std::vector DirListType; class GDCM_EXPORT DirList : public Base { public : - DirList(std::string const &dirName, bool recursive); + DirList(std::string const &dirName, bool recursive, bool all=false); DirList(DicomDirSerie *s); ~DirList(); @@ -66,7 +66,7 @@ public : std::string GetNext(); private : - int Explore(std::string const &dirName, bool recursive=false); + int Explore(std::string const &dirName, bool recursive=false, bool all=false); int Explore(DicomDirSerie *s); /// List of file names