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