27 #ifndef vtkGlobFileNames_h
28 #define vtkGlobFileNames_h
30 #include "vtkIOCoreModule.h"
33 VTK_ABI_NAMESPACE_BEGIN
129 VTK_ABI_NAMESPACE_END
find files that match a wildcard pattern
VTK_FILEPATH const char * GetNthFileName(int index)
Return the file at the given index, the indexing is 0 based.
void Reset()
Reset the glob by clearing the list of output filenames.
static vtkGlobFileNames * New()
Create a new vtkGlobFileNames object.
int GetNumberOfFileNames()
Return the number of files found.
~vtkGlobFileNames() override
int AddFileNames(VTK_FILEPATH const char *pattern)
Search for all files that match the given expression, sort them, and add them to the output.
vtkGetFilePathMacro(Directory)
Set the directory in which to perform the glob.
vtkSetFilePathMacro(Directory)
Set the directory in which to perform the glob.
vtkSetFilePathMacro(Pattern)
Set the wildcard pattern.
vtkGetFilePathMacro(Pattern)
Set the wildcard pattern.
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