X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmDirList.h;h=0ffb6c1ebcc63c88abcdf696b9eab5821870cffc;hb=cecf8a0bb86a9b3223a9d02d1106a564aa6ef7f9;hp=2dae2fcb84b9cab425bf3e0b9c4f16844b281c3d;hpb=4d59e5e9778e5abff13d13d576ef92ce81498b6f;p=gdcm.git diff --git a/src/gdcmDirList.h b/src/gdcmDirList.h index 2dae2fcb..0ffb6c1e 100644 --- a/src/gdcmDirList.h +++ b/src/gdcmDirList.h @@ -1,4 +1,4 @@ -// gdcmDir.h +// gdcmDirList.h //----------------------------------------------------------------------------- #ifndef GDCMDIRLIST_H #define 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; };