Class for manipulation directories.
More...
#include <gdcmDirectory.h>
List of all members.
Protected Member Functions |
unsigned int | Explore (FilenameType const &name, bool recursive) |
| Return number of file found when 'recursive'ly exploring directory name
|
Detailed Description
Class for manipulation directories.
- Note:
- This implementation provide a cross platform implementation for manipulating directores: basically traversing directories and harvesting files
-
will not take into account unix type hidden file recursive option will not look into UNIX type hidden directory (those starting with a '.')
-
Since python or C# provide there own equivalent implementation, in which case gdcm::Directory does not make much sense.
- Examples:
- DiscriminateVolume.cxx, DumpToSQLITE3.cxx, gdcmorthoplanes.cxx, ReadUTF8QtDir.cxx, reslicesphere.cxx, SortImage.cxx, threadgdcm.cxx, and VolumeSorter.cxx.
Member Typedef Documentation
Constructor & Destructor Documentation
gdcm::Directory::Directory |
( |
| ) |
|
|
inline |
gdcm::Directory::~Directory |
( |
| ) |
|
|
inline |
Member Function Documentation
unsigned int gdcm::Directory::Explore |
( |
FilenameType const & |
name, |
|
|
bool |
recursive |
|
) |
| |
|
protected |
Return number of file found when 'recursive'ly exploring directory name
Return the Directories traversed.
Get the name of the toplevel directory.
unsigned int gdcm::Directory::Load |
( |
FilenameType const & |
name, |
|
|
bool |
recursive = false |
|
) |
| |
|
inline |
void gdcm::Directory::Print |
( |
std::ostream & |
os = std::cout | ) |
const |
Friends And Related Function Documentation
std::ostream& operator<< |
( |
std::ostream & |
_os, |
|
|
const Directory & |
d |
|
) |
| |
|
friend |
The documentation for this class was generated from the following file: