Go to the documentation of this file.
28 #ifndef vtkPDirectory_h
29 #define vtkPDirectory_h
31 #include "vtkParallelCoreModule.h"
int Open(const char *dir)
const char * GetFile(vtkIdType index) const
Return the file at the given index, the indexing is 0 based.
abstract base class for most VTK objects
const char * GetPath() const
Return the path to Open'ed directory.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkPDirectory * New()
bool Load(const std::string &)
Open/Load the specified directory and load the names of the files in that directory.
a simple class to control print indentation
~vtkPDirectory() override
int FileIsDirectory(const char *name)
Return true if the file is a directory.
vtkIdType GetNumberOfFiles() const
Return the number of files in the current directory.
a vtkAbstractArray subclass for strings
void Clear()
Clear the internal structure.