18#ifndef itkRegularExpressionSeriesFileNames_h
19#define itkRegularExpressionSeriesFileNames_h
20#include "ITKIOImageBaseExport.h"
94 itkSetStringMacro(RegularExpression);
95 itkGetStringMacro(RegularExpression);
100 itkSetMacro(SubMatch,
unsigned int);
101 itkGetConstMacro(SubMatch,
unsigned int);
107 itkSetMacro(NumericSort,
bool);
108 itkGetConstMacro(NumericSort,
bool);
109 itkBooleanMacro(NumericSort);
114 const std::vector<std::string> &
120 , m_RegularExpression(
".*\\.([0-9]+)")
127 std::string m_Directory{};
128 unsigned int m_SubMatch{ 1 };
129 bool m_NumericSort{
false };
130 std::string m_RegularExpression{};
132 std::vector<std::string> m_FileNames{};
Portable directory/filename traversal.
Control indentation during Print() invocation.
Light weight base class for most itk classes.
Base class for most ITK classes.
Generate an ordered sequence of filenames that match a regular expression.
void PrintSelf(std::ostream &os, Indent indent) const override
const std::vector< std::string > & GetFileNames()
~RegularExpressionSeriesFileNames() override=default
RegularExpressionSeriesFileNames()
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....