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