36 #ifndef vtkGlobFileNames_h
37 #define vtkGlobFileNames_h
39 #include "vtkIOCoreModule.h"
77 vtkSetStringMacro(Directory);
78 vtkGetStringMacro(Directory);
120 vtkSetStringMacro(Pattern);
121 vtkGetStringMacro(Pattern);
find files that match a wildcard pattern
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
const char * GetNthFileName(int index)
Return the file at the given index, the indexing is 0 based.
void PrintSelf(ostream &os, vtkIndent indent) override
Print directory to stream.
int AddFileNames(const char *pattern)
Search for all files that match the given expression, sort them, and add them to the output.
a simple class to control print indentation
abstract base class for most VTK objects
a vtkAbstractArray subclass for strings