 |
VTK
9.1.0
|
Go to the documentation of this file.
45 #ifndef vtkDirectory_h
46 #define vtkDirectory_h
48 #include "vtkCommonSystemModule.h"
136 static int CreateDirectoryInternal(
const char*
dir);
vtkIdType GetNumberOfFiles()
Return the number of files in the current directory.
VTK_FILEPATH const char * GetFile(vtkIdType index)
Return the file at the given index, the indexing is 0 based.
static int Rename(VTK_FILEPATH const char *oldname, VTK_FILEPATH const char *newname)
Rename a file or directory.
static VTK_FILEPATH const char * GetCurrentWorkingDirectory(char *buf, unsigned int len)
Get the current working directory.
void PrintSelf(ostream &os, vtkIndent indent) override
Print directory to stream.
abstract base class for most VTK objects
int FileIsDirectory(VTK_FILEPATH const char *name)
Return true if the file is a directory.
static int DeleteDirectory(VTK_FILEPATH const char *dir)
Remove a directory.
a simple class to control print indentation
void CleanUpFilesAndPath()
OS independent class for access and manipulation of system directories.
int Open(VTK_FILEPATH const char *dir)
Open the specified directory and load the names of the files in that directory.
a vtkAbstractArray subclass for strings
static vtkDirectory * New()
Create a new vtkDirectory object.
static int MakeDirectory(VTK_FILEPATH const char *dir)
Create directory.