#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 Methods | |
virtual const char * | GetClassName () const |
bool | Load (const char *dir) |
int | GetNumberOfFiles () |
const char * | GetFile (unsigned int index) |
Static Public Methods | |
Pointer | New () |
Protected Methods | |
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. |
|
Standard class typedefs. Reimplemented from itk::Object. Definition at line 43 of file itkDirectory.h. |
|
Reimplemented from itk::Object. Definition at line 44 of file itkDirectory.h. |
|
|
|
|
|
Return the class name as a string. Reimplemented from itk::Object. |
|
Return the file at the given index, the indexing is 0 based |
|
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 itk::Object::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. |