X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmDirList.h;h=0ffb6c1ebcc63c88abcdf696b9eab5821870cffc;hb=8cdbf11a3b1f8427281f31a9fd2a70aa66d620fa;hp=e9cf3c5583bdf142a9a77aa9febb77fe0ffed0df;hpb=bc3e7a63638ffb3aa7460bf579ae65002ac6770c;p=gdcm.git diff --git a/src/gdcmDirList.h b/src/gdcmDirList.h index e9cf3c55..0ffb6c1e 100644 --- a/src/gdcmDirList.h +++ b/src/gdcmDirList.h @@ -9,6 +9,10 @@ #include //----------------------------------------------------------------------------- +/** + * \ingroup gdcmDirList + * \brief List containing the file headers from root directory. + */ class GDCM_EXPORT gdcmDirList: public std::list { public : @@ -17,14 +21,16 @@ public : std::string GetDirName(void); + /// Character '\' static const char SEPARATOR_X; + /// Character '/' static const char SEPARATOR_WIN; + /// depending on the O.S. static const std::string SEPARATOR; private : - void NormalizePath(std::string &dirName); void Explore(std::string dirName,bool recursive=false); - + /// name of the root directory to explore std::string name; };