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.
static int DeleteDirectory(const char *dir)
Remove a directory.
vtkIdType GetNumberOfFiles()
Return the number of files in the current directory.
static vtkDirectory * New()
Create a new vtkDirectory object.
int FileIsDirectory(const char *name)
Return true if the file is a directory.
int Open(const char *dir)
Open the specified directory and load the names of the files in that directory.
static int MakeDirectory(const char *dir)
Create directory.
void CleanUpFilesAndPath()
const char * GetFile(vtkIdType index)
Return the file at the given index, the indexing is 0 based.
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.
a simple class to control print indentation
abstract base class for most VTK objects
a vtkAbstractArray subclass for strings