18 #ifndef itkRegularExpressionSeriesFileNames_h
19 #define itkRegularExpressionSeriesFileNames_h
20 #include "ITKIOImageBaseExport.h"
92 itkSetStringMacro(RegularExpression);
93 itkGetStringMacro(RegularExpression);
98 itkSetMacro(SubMatch,
unsigned int);
99 itkGetConstMacro(SubMatch,
unsigned int);
105 itkSetMacro(NumericSort,
bool);
106 itkGetConstMacro(NumericSort,
bool);
107 itkBooleanMacro(NumericSort);
112 const std::vector< std::string > & GetFileNames();
118 m_NumericSort(false),
119 m_RegularExpression(
".*\\.([0-9]+)")
122 virtual void PrintSelf(std::ostream & os,
Indent indent)
const ITK_OVERRIDE;
126 void operator=(const Self &) ITK_DELETE_FUNCTION;
128 std::
string m_Directory;
129 unsigned int m_SubMatch;
131 std::
string m_RegularExpression;
133 std::vector< std::
string > m_FileNames;
137 #endif // itkRegularExpressionSeriesFileNames_h
Light weight base class for most itk classes.
RegularExpressionSeriesFileNames()
SmartPointer< Self > Pointer
~RegularExpressionSeriesFileNames()
Portable directory/filename traversal.
RegularExpressionSeriesFileNames Self
Generate an ordered sequence of filenames that match a regular expression.
Control indentation during Print() invocation.
Base class for most ITK classes.