Class for manipulation directories.
More...
#include <gdcmDirectory.h>
List of all members.
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:
-
DumpToSQLITE3.cxx, gdcmorthoplanes.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`.
FilenamesType const& gdcm::Directory::GetDirectories |
( |
) |
const [inline] |
Return the Directories traversed.
FilenamesType const& gdcm::Directory::GetFilenames |
( |
) |
const [inline] |
FilenameType const& gdcm::Directory::GetToplevel |
( |
) |
const [inline] |
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: