[Insight-users] directory listing

Rashindra Manniesing r.manniesing at erasmusmc.nl
Sun Nov 1 04:15:48 EST 2009


I normally use boost::filesystem to obtain the content of a directory.
Using two lines of code eg

bf::path  inputdir (m_DirName)
bf::directory_iterator it (inputdir)

we have an iterator over the contents of the directory, platform independent.

I was wondering, how to do this easily in ITK (without boost and without
going too much into low level programming, but with eg functions provided
by SystemTools.hxx)?





More information about the Insight-users mailing list