diff --git a/Code/ApplicationEngine/otbWrapperParameterGroup.h b/Code/ApplicationEngine/otbWrapperParameterGroup.h index d4a52ec38fe1d6882dabc79c84be7e65850e052d..4c9c30d7c20c372863de74214faf078848d82ae0 100644 --- a/Code/ApplicationEngine/otbWrapperParameterGroup.h +++ b/Code/ApplicationEngine/otbWrapperParameterGroup.h @@ -67,6 +67,12 @@ public: std::vector<std::string> GetParametersKeys(bool recursive = true); + // Always has value + bool HasValue() const + { + return true; + } + protected: ParameterGroup(); virtual ~ParameterGroup(); diff --git a/Code/ApplicationEngine/otbWrapperRadiusParameter.h b/Code/ApplicationEngine/otbWrapperRadiusParameter.h index b3f0b852fb8ddfb9e97296c3107ce5d533207fa3..7d9585f8921aa25a9c421de5536b875a4406f947 100644 --- a/Code/ApplicationEngine/otbWrapperRadiusParameter.h +++ b/Code/ApplicationEngine/otbWrapperRadiusParameter.h @@ -44,6 +44,11 @@ public: /** RTTI support */ itkTypeMacro(RadiusParameter, Parameter); + bool HasValue() const + { + return true; + } + protected: /** Constructor */ RadiusParameter()