#include <vtkDirectory.h>
Inheritance diagram for vtkDirectory:
vtkDirectory provides a portable way of finding the names of the files in a system directory.
Definition at line 33 of file vtkDirectory.h.
typedef vtkObject | Superclass |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
static int | IsTypeOf (const char *type) |
static vtkDirectory * | SafeDownCast (vtkObject *o) |
Public Member Functions | |
virtual void | PrintSelf (ostream &os, vtkIndent indent) |
int | Open (const char *dir) |
int | GetNumberOfFiles () |
const char * | GetFile (int index) |
Static Public Member Functions | |
static vtkDirectory * | New () |
static const char * | GetCurrentWorkingDirectory (char *buf, unsigned int len) |
static int | MakeDirectory (const char *dir) |
static int | CreateDirectory (const char *dir) |
Protected Member Functions | |
void | CleanUpFilesAndPath () |
vtkDirectory () | |
~vtkDirectory () |
|
Return the class name as a string. Reimplemented from vtkObject. Definition at line 38 of file vtkDirectory.h. |
|
|
|
|
|
Return the class name as a string. Reimplemented from vtkObject. |
|
Return the class name as a string. Reimplemented from vtkObject. |
|
Return the class name as a string. Reimplemented from vtkObject. |
|
Return the class name as a string. Reimplemented from vtkObject. |
|
Create a new vtkDirectory object. Reimplemented from vtkObject. |
|
Print directory to stream. Reimplemented from vtkObject. |
|
Open 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. |
|
Return the number of files in the current directory. Definition at line 53 of file vtkDirectory.h. |
|
Return the file at the given index, the indexing is 0 based |
|
Get the current working directory. |
|
Create directory. Needs rework to do all the testing and to work on all platforms. |
|
|
|
|