21 #ifndef otbWrapperChoiceParameter_h
22 #define otbWrapperChoiceParameter_h
56 void AddChoice(std::string choicekey, std::string choiceName);
This class represent a multiple choice parameter for the wrapper framework.
bool HasValue() const override
itk::SmartPointer< Self > Pointer
int ToInt() const override
ParameterType GetType() const override
itk::SmartPointer< const Self > ConstPointer
virtual void SetValue(unsigned int v)
virtual unsigned int GetValue() const
ParameterGroup::Pointer GetChoiceParameterGroupByKey(std::string choiceKey)
std::vector< std::string > GetChoiceNames()
void FromInt(int value) override
ChoiceParameter(const ChoiceParameter &)=delete
std::string ToString() const override
std::vector< std::string > GetParametersKeys()
ParameterGroup::Pointer GetChoiceParameterGroupByIndex(int i)
unsigned int m_CurrentChoice
unsigned int GetNbChoices(void)
virtual void SetValue(std::string choiceKey)
std::vector< Choice > ChoiceList
void AddChoice(std::string choicekey, std::string choiceName)
std::vector< std::string > GetChoiceKeys()
~ChoiceParameter() override
void operator=(const ChoiceParameter &)=delete
void FromString(const std::string &value) override
std::string GetChoiceName(int i)
std::string GetChoiceKey(int i) const
void ClearValue() override
itk::SmartPointer< Self > Pointer
This class represent a parameter for the wrapper framework This class is a high level class represent...
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.
ParameterGroup::Pointer m_AssociatedParameter