-// gdcmDir.h
+// gdcmDirList.h
//-----------------------------------------------------------------------------
#ifndef GDCMDIRLIST_H
#define GDCMDIRLIST_H
#include <list>
//-----------------------------------------------------------------------------
+/**
+ * \ingroup gdcmDirList
+ * \brief List containing the file headers from root directory.
+ */
class GDCM_EXPORT gdcmDirList: public std::list<std::string>
{
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;
};