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