#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 35 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) |
int | FileIsDirectory (const char *name) |
virtual vtkStringArray * | GetFiles () |
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 40 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. |
|
Return the file at the given index, the indexing is 0 based |
|
Return true if the file is a directory. If the file is not an absolute path, it is assumed to be relative to the opened directory. If no directory has been opened, it is assumed to be relative to the current working directory. |
|
Get an array that contains all the file names. |
|
Get the current working directory. |
|
Create directory. Needs rework to do all the testing and to work on all platforms. |
|
|
|
|