21 #ifndef otbExtendedFilenameHelper_h
22 #define otbExtendedFilenameHelper_h
27 #include "itkObject.h"
28 #include "itkObjectFactory.h"
29 #include "OTBCommonExport.h"
59 virtual void SetExtendedFileName(
const char* extFname);
61 virtual void SetExtendedFileName(
const std::string& extFname);
65 itkGetStringMacro(ExtendedFileName);
66 itkGetStringMacro(SimpleFileName);
80 bool SetString(
const std::string& str,
size_t start = 0,
size_t size = std::string::npos);
82 void Print(std::ostream& os);
87 std::vector<ExtendedFilenameHelper::GenericBandRange> GetGenericBandRange(
const std::string& bandRange)
const;
92 bool ResolveBandRange(
const std::string& bandRange,
const unsigned int& nbBands, std::vector<unsigned int>& output)
const;
104 void operator=(
const Self&) =
delete;
105 itkSetStringMacro(SimpleFileName);
113 #endif // otbExtendedFilenameHelper_h