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