OTB
9.0.0
Orfeo Toolbox
|
#include <otbWrapperBoolParameter.h>
Public Types | |
typedef itk::SmartPointer< const Self > | ConstPointer |
typedef itk::SmartPointer< Self > | Pointer |
typedef BoolParameter | 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 | |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
void | FromInt (int value) override |
void | FromString (const std::string &value) override |
virtual const char * | GetNameOfClass () const |
ParameterType | GetType () const override |
bool | GetValue () const |
std::string | GetValueAsString () const |
bool | HasValue () const override |
void | SetValue (bool state) |
void | SetValue (const std::string &str) |
int | ToInt () const override |
std::string | ToString () const override |
Public Member Functions inherited from otb::Wrapper::Parameter | |
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 void | Reset () |
virtual bool | HasUserValue () const |
virtual void | SetUserValue (bool isUserValue) |
virtual void | ClearValue () |
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 () |
void | TypeError (const std::string &target_type) const |
virtual float | ToFloat () const |
virtual double | ToDouble () const |
virtual std::vector< std::string > | ToStringList () const |
virtual void | FromFloat (float) |
virtual void | FromDouble (double) |
virtual void | FromStringList (const std::vector< std::string > &) |
Static Public Member Functions | |
static Pointer | New () |
Protected Member Functions | |
BoolParameter () | |
~BoolParameter () override | |
Protected Member Functions inherited from otb::Wrapper::Parameter | |
Parameter () | |
Private Member Functions | |
BoolParameter (const BoolParameter &)=delete | |
void | operator= (const BoolParameter &)=delete |
Private Attributes | |
bool | m_Value |
Additional Inherited Members | |
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 |
This class represent a boolean parameter for the wrapper framework.
Definition at line 38 of file otbWrapperBoolParameter.h.
typedef itk::SmartPointer<const Self> otb::Wrapper::BoolParameter::ConstPointer |
Definition at line 45 of file otbWrapperBoolParameter.h.
typedef itk::SmartPointer<Self> otb::Wrapper::BoolParameter::Pointer |
Definition at line 44 of file otbWrapperBoolParameter.h.
Standard class typedef
Definition at line 42 of file otbWrapperBoolParameter.h.
Definition at line 43 of file otbWrapperBoolParameter.h.
|
protected |
Constructor
|
inlineoverrideprotected |
Destructor
Definition at line 79 of file otbWrapperBoolParameter.h.
|
privatedelete |
virtual::itk::LightObject::Pointer otb::Wrapper::BoolParameter::CreateAnother | ( | void | ) | const |
|
overridevirtual |
Name of the parameter
Reimplemented from otb::Wrapper::Parameter.
|
overridevirtual |
Name of the parameter
Reimplemented from otb::Wrapper::Parameter.
|
virtual |
RTTI support
Reimplemented from otb::Wrapper::Parameter.
|
overridevirtual |
Get the dynamic type as declared in WrapperTypes.h
Implements otb::Wrapper::Parameter.
bool otb::Wrapper::BoolParameter::GetValue | ( | ) | const |
std::string otb::Wrapper::BoolParameter::GetValueAsString | ( | ) | const |
|
inlineoverridevirtual |
This parameter is ON/OFF switch, it always has a value
Implements otb::Wrapper::Parameter.
Definition at line 54 of file otbWrapperBoolParameter.h.
|
static |
Defining ::New() static method
|
privatedelete |
void otb::Wrapper::BoolParameter::SetValue | ( | bool | state | ) |
void otb::Wrapper::BoolParameter::SetValue | ( | const std::string & | str | ) |
|
overridevirtual |
Parameter conversion functions. They are used by WrapperApplication to provide functions like SetParameterInt, GetParameterString, etc.
Reimplemented from otb::Wrapper::Parameter.
|
overridevirtual |
Name of the parameter
Reimplemented from otb::Wrapper::Parameter.
|
private |
Definition at line 87 of file otbWrapperBoolParameter.h.