21 #ifndef otbWrapperStringListInterface_h
22 #define otbWrapperStringListInterface_h
28 #include "OTBApplicationEngineExport.h"
51 virtual void SetListFromFileName(
const StringVector&) = 0;
54 virtual void AddNullElement();
57 virtual void InsertNullElement(std::size_t = -1) = 0;
60 virtual void AddFromFileName(
const std::string&) = 0;
63 virtual void Insert(
const std::string& filename, std::size_t = -1) = 0;
66 virtual void SetNthFileName(std::size_t,
const std::string&) = 0;
78 virtual std::string GetNthFileName(std::size_t i)
const = 0;
81 virtual void Erase(std::size_t
id);
84 virtual void Erase(std::size_t start, std::size_t count) = 0;
87 virtual std::size_t Size()
const = 0;
90 virtual bool IsActive(std::size_t)
const = 0;
93 virtual const std::string& GetToolTip(std::size_t)
const = 0;
96 virtual void Swap(std::size_t, std::size_t) = 0;
99 virtual Role GetDirection(std::size_t)
const;
102 virtual Role GetDirection()
const = 0;
105 virtual const std::string& GetFilenameFilter(std::size_t)
const;
108 virtual const std::string& GetFilenameFilter()
const;
111 virtual bool IsFilename()
const;
125 #endif // otbWrapperStringListInterface_h