Go to the documentation of this file.
34 #ifndef vtkSortFileNames_h
35 #define vtkSortFileNames_h
37 #include "vtkIOCoreModule.h"
43 class vtkStringArrayVector;
62 vtkGetMacro(Grouping,
int);
76 vtkGetMacro(NumericSort,
int);
86 vtkGetMacro(IgnoreCase,
int);
97 vtkGetMacro(SkipDirectories,
int);
166 vtkStringArrayVector *output);
virtual void Update()
Update the output filenames from the input filenames.
void SetInputFileNames(vtkStringArray *input)
Set a list of file names to group and sort.
record modification and/or execution time
abstract base class for most VTK objects
vtkStringArray * InputFileNames
virtual vtkStringArray * GetNthGroup(int i)
Get the Nth group of file names.
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
virtual void GroupFileNames(vtkStringArray *input, vtkStringArrayVector *output)
Separate a string array into groups and append them to the output.
virtual void SortFileNames(vtkStringArray *input, vtkStringArray *output)
Sort the input string array, and append the results to the output.
vtkStringArray * FileNames
a simple class to control print indentation
virtual void Execute()
Fill the output.
vtkStringArrayVector * Groups
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
static vtkSortFileNames * New()
a vtkAbstractArray subclass for strings
Group and sort a set of filenames.
virtual vtkStringArray * GetFileNames()
Get the full list of sorted filenames.
virtual int GetNumberOfGroups()
Get the number of groups that the names were split into, if grouping is on.