Class for manipulation directories.
More...
#include <gdcmDirectory.h>
|
| unsigned int | Explore (FilenameType const &name, bool recursive) |
| | Return number of file found when 'recursive'ly exploring directory name
|
| |
Class for manipulation directories.
- Note
- This implementation provide a cross platform implementation for manipulating directories: 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
- ClinicalTrialIdentificationWorkflow.cs, DecompressImageMultiframe.cs, DiscriminateVolume.cxx, DumpToSQLITE3.cxx, DumpVisusChange.cxx, GenerateDICOMDIR.cs, GenerateRTSTRUCT.cxx, ReadUTF8QtDir.cxx, ScanDirectory.cs, SortImage.cxx, StandardizeFiles.cs, VolumeSorter.cxx, gdcmorthoplanes.cxx, reslicesphere.cxx, and threadgdcm.cxx.
◆ FilenamesType
◆ FilenameType
◆ Directory()
| gdcm::Directory::Directory |
( |
| ) |
|
|
default |
◆ ~Directory()
| gdcm::Directory::~Directory |
( |
| ) |
|
|
default |
◆ Explore()
| unsigned int gdcm::Directory::Explore |
( |
FilenameType const & |
name, |
|
|
bool |
recursive |
|
) |
| |
|
protected |
Return number of file found when 'recursive'ly exploring directory name
◆ GetDirectories()
Return the Directories traversed.
◆ GetFilenames()
Set/Get the file names within the directory.
- Examples
- ClinicalTrialIdentificationWorkflow.cs, DecompressImageMultiframe.cs, DiscriminateVolume.cxx, DumpToSQLITE3.cxx, DumpVisusChange.cxx, GenerateDICOMDIR.cs, GenerateRTSTRUCT.cxx, ReadUTF8QtDir.cxx, ScanDirectory.cs, SortImage.cxx, StandardizeFiles.cs, VolumeSorter.cxx, gdcmorthoplanes.cxx, reslicesphere.cxx, and threadgdcm.cxx.
◆ GetToplevel()
Get the name of the toplevel directory.
◆ Load()
| unsigned int gdcm::Directory::Load |
( |
FilenameType const & |
name, |
|
|
bool |
recursive = false |
|
) |
| |
construct a list of filenames and subdirectory beneath directory: name
- Warning
- : hidden file and hidden directory are not loaded.
- Examples
- ClinicalTrialIdentificationWorkflow.cs, DecompressImageMultiframe.cs, DiscriminateVolume.cxx, DumpToSQLITE3.cxx, DumpVisusChange.cxx, GenerateDICOMDIR.cs, GenerateRTSTRUCT.cxx, ReadUTF8QtDir.cxx, ScanDirectory.cs, SortImage.cxx, StandardizeFiles.cs, VolumeSorter.cxx, gdcmorthoplanes.cxx, reslicesphere.cxx, and threadgdcm.cxx.
◆ Print()
| void gdcm::Directory::Print |
( |
std::ostream & |
os = std::cout | ) |
const |
◆ operator<<
| std::ostream & operator<< |
( |
std::ostream & |
_os, |
|
|
const Directory & |
d |
|
) |
| |
|
friend |
The documentation for this class was generated from the following file: