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