OTB
9.0.0
Orfeo Toolbox
|
#include <otbWrapperStringListParameter.h>
Public Types | |
typedef itk::SmartPointer< const Self > | ConstPointer |
typedef itk::SmartPointer< Self > | Pointer |
typedef StringListParameter | Self |
typedef StringListInterface::StringVector | StringListType |
typedef ParameterList< StringParameter > | Superclass |
Public Types inherited from otb::Wrapper::ParameterList< StringParameter > | |
typedef itk::SmartPointer< const Self > | ConstPointer |
typedef std::vector< typename StringParameter ::Pointer > | ParameterVector |
typedef itk::SmartPointer< Self > | Pointer |
typedef ParameterList | Self |
typedef AbstractParameterList | Superclass |
Public Types inherited from otb::Wrapper::AbstractParameterList | |
typedef AbstractParameterList | 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 Types inherited from otb::Wrapper::StringListInterface | |
typedef std::vector< std::string > | StringVector |
Public Member Functions | |
void | AddString (const std::string &value) |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
Role | GetDirection () const override |
virtual Role | GetDirection () const=0 |
virtual Role | GetDirection (std::vcl_size_t) const |
virtual const char * | GetNameOfClass () const |
std::string | GetNthElement (std::vcl_size_t) const |
ParameterType | GetType () const override |
StringListInterface::StringVector | GetValue () const |
bool | IsFilename () const override |
void | SetNthElement (std::vcl_size_t, const std::string &) |
void | SetValue (const StringListInterface::StringVector &) |
Public Member Functions inherited from otb::Wrapper::ParameterList< StringParameter > | |
ParameterVector::const_iterator | begin () const |
ParameterVector::const_iterator | end () const |
virtual void | Erase (std::vcl_size_t id) |
virtual void | Erase (std::vcl_size_t start, std::vcl_size_t count)=0 |
virtual const char * | GetNameOfClass () const |
void | ClearValue () override |
bool | HasValue () const override |
void | SetListFromFileName (const StringVector &) override |
void | InsertNullElement (std::vcl_size_t=-1) override |
void | AddFromFileName (const std::string &) override |
void | Insert (const std::string &, std::vcl_size_t=-1) override |
void | InsertElement (typename StringParameter ::Pointer, std::vcl_size_t=-1) |
void | SetNthFileName (std::vcl_size_t, const std::string &) override |
std::vcl_size_t | SetStrings (const StringVector &) override |
std::vcl_size_t | GetStrings (StringVector &) const override |
StringVector | GetFileNameList () const override |
std::string | GetNthFileName (std::vcl_size_t) const override |
const std::string & | GetToolTip (std::vcl_size_t) const override |
void | Erase (std::vcl_size_t start, std::vcl_size_t count) override |
std::vcl_size_t | Size () const override |
bool | IsActive (vcl_size_t) const override |
void | Swap (std::vcl_size_t, std::vcl_size_t) override |
StringParameter ::Pointer | GetNthElement (std::vcl_size_t) |
std::vector< std::string > | ToStringList () const override |
void | FromStringList (const std::vector< std::string > &value) 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 | HasValue () const =0 |
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 () |
void | TypeError (const std::string &target_type) const |
virtual int | ToInt () const |
virtual float | ToFloat () const |
virtual double | ToDouble () const |
virtual std::string | ToString () const |
virtual std::vector< std::string > | ToStringList () const |
virtual void | FromInt (int) |
virtual void | FromFloat (float) |
virtual void | FromDouble (double) |
virtual void | FromString (const std::string &) |
Public Member Functions inherited from otb::Wrapper::StringListInterface | |
virtual void | AddNullElement () |
virtual void | Erase (std::vcl_size_t id) |
virtual Role | GetDirection (std::vcl_size_t) const |
virtual const std::string & | GetFilenameFilter () const |
virtual const std::string & | GetFilenameFilter (std::vcl_size_t) const |
virtual StringVector | GetFileNameList () const =0 |
virtual bool | IsActive (std::vcl_size_t) const =0 |
virtual std::vcl_size_t | Size () const =0 |
Static Public Member Functions | |
static Pointer | New () |
Protected Member Functions | |
StringListParameter () | |
~StringListParameter () override | |
Protected Member Functions inherited from otb::Wrapper::ParameterList< StringParameter > | |
ParameterList () | |
~ParameterList () override | |
void | SetObjectList (L &, const L &, From, Get) |
L::ObjectType * | GetObjectList (L &, Get) |
const L::ObjectType * | GetObjectList (L &, Get) const |
void | AddData (D *, From) |
StringParameter ::Pointer | FromData (D *, Set, const std::string &description=std::string()) |
StringParameter ::Pointer & | FromData (typename StringParameter ::Pointer &, D *, Set, const std::string &description=std::string()) |
Protected Member Functions inherited from otb::Wrapper::AbstractParameterList | |
AbstractParameterList () | |
~AbstractParameterList () override | |
Protected Member Functions inherited from otb::Wrapper::Parameter | |
Parameter () | |
Protected Member Functions inherited from otb::Wrapper::StringListInterface | |
StringListInterface () | |
Private Member Functions | |
void | operator= (const StringListParameter &)=delete |
StringListParameter (const StringListParameter &)=delete | |
Additional Inherited Members | |
Protected Attributes inherited from otb::Wrapper::ParameterList< StringParameter > | |
ParameterVector | m_Parameters |
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 list of string parameter for the wrapper framework.
Definition at line 41 of file otbWrapperStringListParameter.h.
typedef itk::SmartPointer<const Self> otb::Wrapper::StringListParameter::ConstPointer |
Definition at line 50 of file otbWrapperStringListParameter.h.
typedef itk::SmartPointer<Self> otb::Wrapper::StringListParameter::Pointer |
Definition at line 49 of file otbWrapperStringListParameter.h.
Standard class typedef
Definition at line 47 of file otbWrapperStringListParameter.h.
Definition at line 52 of file otbWrapperStringListParameter.h.
Definition at line 48 of file otbWrapperStringListParameter.h.
|
protected |
Constructor
|
overrideprotected |
Destructor
|
privatedelete |
void otb::Wrapper::StringListParameter::AddString | ( | const std::string & | value | ) |
virtual::itk::LightObject::Pointer otb::Wrapper::StringListParameter::CreateAnother | ( | void | ) | const |
|
overridevirtual |
Implements otb::Wrapper::StringListInterface.
virtual Role otb::Wrapper::StringListInterface::GetDirection |
virtual Role otb::Wrapper::StringListInterface::GetDirection |
|
virtual |
RTTI support
Reimplemented from otb::Wrapper::AbstractParameterList.
std::string otb::Wrapper::StringListParameter::GetNthElement | ( | std::vcl_size_t | ) | const |
Get the value
|
inlineoverridevirtual |
Get the dynamic type as declared in WrapperTypes.h
Implements otb::Wrapper::Parameter.
Definition at line 82 of file otbWrapperStringListParameter.h.
References otb::Wrapper::ParameterType_StringList.
StringListInterface::StringVector otb::Wrapper::StringListParameter::GetValue | ( | ) | const |
Get the value
|
overridevirtual |
Reimplemented from otb::Wrapper::StringListInterface.
|
static |
Defining ::New() static method
|
privatedelete |
void otb::Wrapper::StringListParameter::SetNthElement | ( | std::vcl_size_t | , |
const std::string & | |||
) |
Get the value
void otb::Wrapper::StringListParameter::SetValue | ( | const StringListInterface::StringVector & | ) |
Set the value