Go to the documentation of this file.
39 #ifndef vtkGlobFileNames_h
40 #define vtkGlobFileNames_h
42 #include "vtkIOCoreModule.h"
80 vtkSetStringMacro(Directory);
81 vtkGetStringMacro(Directory);
123 vtkSetStringMacro(Pattern);
124 vtkGetStringMacro(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
find files that match a wildcard pattern
a vtkAbstractArray subclass for strings
~vtkGlobFileNames() override
int AddFileNames(const char *pattern)
Search for all files that match the given expression, sort them, and add them to the output.