2 //-----------------------------------------------------------------------------
6 #include "gdcmCommon.h"
11 //-----------------------------------------------------------------------------
13 * \ingroup gdcmDirList
14 * \brief List containing the file headers from root directory.
16 class GDCM_EXPORT gdcmDirList: public std::list<std::string>
19 gdcmDirList(std::string dirName,bool recursive=false);
20 virtual ~gdcmDirList(void);
22 std::string GetDirName(void);
25 static const char SEPARATOR_X;
27 static const char SEPARATOR_WIN;
28 /// depending on the O.S.
29 static const std::string SEPARATOR;
32 void Explore(std::string dirName,bool recursive=false);
33 /// name of the root directory to explore
37 //-----------------------------------------------------------------------------