#include <itkDirectory.h>
Inheritance diagram for itk::Directory:
Public Types | |
typedef Directory | Self |
typedef Object | Superclass |
typedef SmartPointer< Self > | Pointer |
typedef SmartPointer< const Self > | ConstPointer |
Public Member Functions | |
virtual const char * | GetNameOfClass () const |
bool | Load (const char *dir) |
std::vector< std::string >::size_type | GetNumberOfFiles () |
const char * | GetFile (unsigned int index) |
Static Public Member Functions | |
Pointer | New () |
Protected Member Functions | |
Directory () | |
~Directory () | |
virtual void | PrintSelf (std::ostream &os, Indent indent) const |
itkDirectory provides a portable way of finding the names of the files in a system directory.
itkDirectory works with windows and unix only.
Definition at line 39 of file itkDirectory.h.
|
Reimplemented from itk::Object. Definition at line 46 of file itkDirectory.h. |
|
Reimplemented from itk::Object. Definition at line 45 of file itkDirectory.h. Referenced by New(). |
|
Standard class typedefs. Reimplemented from itk::Object. Definition at line 43 of file itkDirectory.h. Referenced by New(). |
|
Reimplemented from itk::Object. Definition at line 44 of file itkDirectory.h. |
|
|
|
|
|
Return the file at the given index, the indexing is 0 based |
|
Return the class name as a string. Reimplemented from itk::Object. |
|
Return the number of files in the current directory. Definition at line 61 of file itkDirectory.h. |
|
Load the specified directory and load the names of the files in that directory. 0 is returned if the directory can not be opened, 1 if it is opened. |
|
Method for creation through the object factory. Reimplemented from itk::Object. Definition at line 49 of file itkDirectory.h. References Pointer, Self, and itk::SmartPointer< Self >::UnRegister(). |
|
Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes. Reimplemented from itk::Object. |