OTB
9.0.0
Orfeo Toolbox
|
#include <otbWrapperNumericalParameter.h>
Public Types | |
typedef itk::SmartPointer< const Self > | ConstPointer |
typedef itk::SmartPointer< Self > | Pointer |
typedef T | ScalarType |
typedef NumericalParameter | Self |
typedef Parameter | Superclass |
Public Types inherited from otb::Wrapper::Parameter | |
typedef itk::SmartPointer< const Self > | ConstPointer |
typedef itk::SmartPointer< Self > | Pointer |
typedef Parameter | Self |
typedef itk::Object | Superclass |
Public Member Functions | |
void | ClearValue () override |
void | FromInt (int value) override |
void | FromString (const std::string &value) override |
virtual ScalarType | GetDefaultValue () |
virtual ScalarType | GetMaximumValue () |
virtual ScalarType | GetMinimumValue () |
ScalarType | GetValue () const |
bool | HasValue () const override |
void | Reset () override |
virtual void | SetDefaultValue (ScalarType _arg) |
virtual void | SetMaximumValue (ScalarType _arg) |
virtual void | SetMinimumValue (ScalarType _arg) |
void | SetValue (const std::string &valueStr) |
void | SetValue (ScalarType value) |
double | ToDouble () const override |
float | ToFloat () const override |
int | ToInt () const override |
std::string | ToString () const override |
Public Member Functions inherited from otb::Wrapper::Parameter | |
virtual const char * | GetNameOfClass () const |
virtual void | SetName (const std::string &) |
virtual const char * | GetName () const |
virtual void | SetDescription (const std::string &) |
virtual const std::string & | GetDescription () const |
virtual void | SetKey (const std::string &) |
virtual const char * | GetKey () const |
virtual void | SetActive (bool flag) |
bool | GetActive (bool recurseParents=false) const |
virtual void | SetMandatory (bool flag) |
virtual bool | GetMandatory () const |
virtual void | MandatoryOn () |
virtual void | MandatoryOff () |
virtual void | SetAutomaticValue (bool flag) |
virtual bool | GetAutomaticValue () const |
void | AutomaticValueOn () |
void | AutomaticValueOff () |
virtual void | SetUserLevel (const UserLevel level) |
virtual UserLevel | GetUserLevel () const |
virtual void | SetRole (const Role role) |
virtual Role | GetRole () const |
virtual bool | HasUserValue () const |
virtual void | SetUserValue (bool isUserValue) |
virtual void | SetRoot (const Parameter::Pointer root) |
virtual const Parameter::Pointer | GetRoot () const |
virtual bool | IsRoot () const |
virtual void | AddChild (Parameter::Pointer child) |
virtual std::vector< Parameter::Pointer > | GetChildrenList () |
virtual ParameterType | GetType () const =0 |
void | TypeError (const std::string &target_type) const |
virtual std::vector< std::string > | ToStringList () const |
virtual void | FromFloat (float) |
virtual void | FromDouble (double) |
virtual void | FromStringList (const std::vector< std::string > &) |
Protected Member Functions | |
NumericalParameter () | |
~NumericalParameter () override | |
Protected Member Functions inherited from otb::Wrapper::Parameter | |
Parameter () | |
Protected Attributes | |
ScalarType | m_DefaultValue |
ScalarType | m_MaximumValue |
ScalarType | m_MinimumValue |
boost::optional< T > | m_Value |
Protected Attributes inherited from otb::Wrapper::Parameter | |
std::string | m_Name |
std::string | m_Description |
std::string | m_Key |
bool | m_Mandatory |
bool | m_Active |
bool | m_UserValue |
UserLevel | m_UserLevel |
Role | m_Role |
itk::WeakPointer< Parameter > | m_Root |
std::vector< Parameter::Pointer > | m_ChildrenList |
Private Member Functions | |
NumericalParameter (const Parameter &)=delete | |
void | operator= (const Parameter &)=delete |
This class represents a numerical parameter.
Definition at line 39 of file otbWrapperNumericalParameter.h.
typedef itk::SmartPointer<const Self> otb::Wrapper::NumericalParameter< T >::ConstPointer |
Definition at line 46 of file otbWrapperNumericalParameter.h.
typedef itk::SmartPointer<Self> otb::Wrapper::NumericalParameter< T >::Pointer |
Definition at line 45 of file otbWrapperNumericalParameter.h.
typedef T otb::Wrapper::NumericalParameter< T >::ScalarType |
Typedef of the scalar type
Definition at line 49 of file otbWrapperNumericalParameter.h.
typedef NumericalParameter otb::Wrapper::NumericalParameter< T >::Self |
Standard class typedef
Definition at line 43 of file otbWrapperNumericalParameter.h.
typedef Parameter otb::Wrapper::NumericalParameter< T >::Superclass |
Definition at line 44 of file otbWrapperNumericalParameter.h.
|
inlineprotected |
Constructor
Definition at line 159 of file otbWrapperNumericalParameter.h.
|
inlineoverrideprotected |
Destructor
Definition at line 165 of file otbWrapperNumericalParameter.h.
|
privatedelete |
|
inlineoverridevirtual |
Name of the parameter
Reimplemented from otb::Wrapper::Parameter.
Definition at line 89 of file otbWrapperNumericalParameter.h.
|
inlineoverridevirtual |
Name of the parameter
Reimplemented from otb::Wrapper::Parameter.
Definition at line 140 of file otbWrapperNumericalParameter.h.
|
inlineoverridevirtual |
Name of the parameter
Reimplemented from otb::Wrapper::Parameter.
Definition at line 145 of file otbWrapperNumericalParameter.h.
|
virtual |
Get the default value
|
virtual |
Get the maximum value
|
virtual |
Get the minimum value
|
inline |
Definition at line 75 of file otbWrapperNumericalParameter.h.
|
inlineoverridevirtual |
Name of the parameter
Implements otb::Wrapper::Parameter.
Definition at line 84 of file otbWrapperNumericalParameter.h.
|
privatedelete |
|
inlineoverridevirtual |
Implement the reset method (replace value by default value)
Reimplemented from otb::Wrapper::Parameter.
Definition at line 52 of file otbWrapperNumericalParameter.h.
|
virtual |
Set the default value
|
virtual |
Set the maximum value
|
virtual |
Set the minimum value
|
inline |
Definition at line 69 of file otbWrapperNumericalParameter.h.
|
inline |
Set the value
Definition at line 58 of file otbWrapperNumericalParameter.h.
|
inlineoverridevirtual |
Name of the parameter
Reimplemented from otb::Wrapper::Parameter.
Definition at line 131 of file otbWrapperNumericalParameter.h.
|
inlineoverridevirtual |
Name of the parameter
Reimplemented from otb::Wrapper::Parameter.
Definition at line 122 of file otbWrapperNumericalParameter.h.
|
inlineoverridevirtual |
Parameter conversion functions. They are used by WrapperApplication to provide functions like SetParameterInt, GetParameterString, etc.
Reimplemented from otb::Wrapper::Parameter.
Definition at line 113 of file otbWrapperNumericalParameter.h.
|
inlineoverridevirtual |
Name of the parameter
Reimplemented from otb::Wrapper::Parameter.
Definition at line 150 of file otbWrapperNumericalParameter.h.
|
protected |
Default value (when applicable)
Definition at line 173 of file otbWrapperNumericalParameter.h.
|
protected |
Maximum value
Definition at line 179 of file otbWrapperNumericalParameter.h.
|
protected |
Minimum value
Definition at line 176 of file otbWrapperNumericalParameter.h.
|
protected |
Value
Definition at line 170 of file otbWrapperNumericalParameter.h.