Go to the documentation of this file.
39 #ifndef vtkGlobFileNames_h
40 #define vtkGlobFileNames_h
42 #include "vtkIOCoreModule.h"
80 vtkSetStringMacro(Directory);
98 vtkGetMacro(Recurse,
int);
123 vtkSetStringMacro(Pattern);
static vtkGlobFileNames * New()
Create a new vtkGlobFileNames object.
abstract base class for most VTK objects
int GetNumberOfFileNames()
Return the number of files found.
void Reset()
Reset the glob by clearing the list of output filenames.
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.
a simple class to control print indentation
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.
find files that match a wildcard pattern
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
a vtkAbstractArray subclass for strings
int AddFileNames(const char *pattern)
Search for all files that match the given expression, sort them, and add them to the output.