OTB  9.0.0
Orfeo Toolbox
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | List of all members
otb::Wrapper::OutputVectorDataParameter Class Reference

#include <otbWrapperOutputVectorDataParameter.h>

+ Inheritance diagram for otb::Wrapper::OutputVectorDataParameter:
+ Collaboration diagram for otb::Wrapper::OutputVectorDataParameter:

Public Types

typedef itk::SmartPointer< const SelfConstPointer
 
typedef itk::SmartPointer< SelfPointer
 
typedef OutputVectorDataParameter Self
 
typedef Parameter Superclass
 
- Public Types inherited from otb::Wrapper::Parameter
typedef itk::SmartPointer< const SelfConstPointer
 
typedef itk::SmartPointer< SelfPointer
 
typedef Parameter Self
 
typedef itk::Object Superclass
 

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
void FromString (const std::string &value) override
 
virtual const char * GetFileName () const
 
virtual const char * GetNameOfClass () const
 
ParameterType GetType () const override
 
VectorDataTypeGetValue (void)
 
itk::ProcessObject * GetWriter ()
 
bool HasValue () const override
 
void InitializeWriters ()
 
 itkGetObjectMacro (VectorData, VectorDataType)
 
void SetFileName (const char *filename)
 
void SetFileName (const std::string &filename)
 
void SetValue (VectorDataType *vd)
 
virtual void SetVectorData (VectorDataType *_arg)
 
std::string ToString () const override
 
void Write ()
 
- 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::PointerGetChildrenList ()
 
void TypeError (const std::string &target_type) const
 
virtual int ToInt () const
 
virtual float ToFloat () const
 
virtual double ToDouble () const
 
virtual std::vector< std::string > ToStringList () const
 
virtual void FromInt (int)
 
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

 OutputVectorDataParameter ()
 
 ~OutputVectorDataParameter () override
 
- Protected Member Functions inherited from otb::Wrapper::Parameter
 Parameter ()
 

Protected Attributes

std::string m_FileName
 
VectorDataType::Pointer m_VectorData
 
otb::VectorDataFileWriter< VectorDataType >::Pointer m_Writer
 
- 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< Parameterm_Root
 
std::vector< Parameter::Pointerm_ChildrenList
 

Private Member Functions

void operator= (const Parameter &)=delete
 
 OutputVectorDataParameter (const Parameter &)=delete
 

Detailed Description

This class represents a OutputVectorData parameter.

Definition at line 40 of file otbWrapperOutputVectorDataParameter.h.

Member Typedef Documentation

◆ ConstPointer

Definition at line 47 of file otbWrapperOutputVectorDataParameter.h.

◆ Pointer

Definition at line 46 of file otbWrapperOutputVectorDataParameter.h.

◆ Self

Standard class typedef

Definition at line 44 of file otbWrapperOutputVectorDataParameter.h.

◆ Superclass

Definition at line 45 of file otbWrapperOutputVectorDataParameter.h.

Constructor & Destructor Documentation

◆ OutputVectorDataParameter() [1/2]

otb::Wrapper::OutputVectorDataParameter::OutputVectorDataParameter ( )
protected

Constructor

◆ ~OutputVectorDataParameter()

otb::Wrapper::OutputVectorDataParameter::~OutputVectorDataParameter ( )
inlineoverrideprotected

Destructor

Definition at line 100 of file otbWrapperOutputVectorDataParameter.h.

◆ OutputVectorDataParameter() [2/2]

otb::Wrapper::OutputVectorDataParameter::OutputVectorDataParameter ( const Parameter )
privatedelete

Member Function Documentation

◆ CreateAnother()

virtual::itk::LightObject::Pointer otb::Wrapper::OutputVectorDataParameter::CreateAnother ( void  ) const

◆ FromString()

void otb::Wrapper::OutputVectorDataParameter::FromString ( const std::string &  )
inlineoverridevirtual

Name of the parameter

Reimplemented from otb::Wrapper::Parameter.

Definition at line 90 of file otbWrapperOutputVectorDataParameter.h.

◆ GetFileName()

virtual const char* otb::Wrapper::OutputVectorDataParameter::GetFileName ( ) const
virtual

◆ GetNameOfClass()

virtual const char* otb::Wrapper::OutputVectorDataParameter::GetNameOfClass ( ) const
virtual

RTTI support

Reimplemented from otb::Wrapper::Parameter.

◆ GetType()

ParameterType otb::Wrapper::OutputVectorDataParameter::GetType ( ) const
inlineoverridevirtual

Get the dynamic type as declared in WrapperTypes.h

Implements otb::Wrapper::Parameter.

Definition at line 80 of file otbWrapperOutputVectorDataParameter.h.

References otb::Wrapper::ParameterType_OutputVectorData.

◆ GetValue()

VectorDataType* otb::Wrapper::OutputVectorDataParameter::GetValue ( void  )

Return any value

◆ GetWriter()

itk::ProcessObject* otb::Wrapper::OutputVectorDataParameter::GetWriter ( )

◆ HasValue()

bool otb::Wrapper::OutputVectorDataParameter::HasValue ( ) const
overridevirtual

Return true if a filename is set

Implements otb::Wrapper::Parameter.

◆ InitializeWriters()

void otb::Wrapper::OutputVectorDataParameter::InitializeWriters ( )

◆ itkGetObjectMacro()

otb::Wrapper::OutputVectorDataParameter::itkGetObjectMacro ( VectorData  ,
VectorDataType   
)

Get the value

◆ New()

static Pointer otb::Wrapper::OutputVectorDataParameter::New ( )
static

Defining ::New() static method

◆ operator=()

void otb::Wrapper::OutputVectorDataParameter::operator= ( const Parameter )
privatedelete

◆ SetFileName() [1/2]

void otb::Wrapper::OutputVectorDataParameter::SetFileName ( const char *  filename)

◆ SetFileName() [2/2]

void otb::Wrapper::OutputVectorDataParameter::SetFileName ( const std::string &  filename)

◆ SetValue()

void otb::Wrapper::OutputVectorDataParameter::SetValue ( VectorDataType vd)

Return any value

◆ SetVectorData()

virtual void otb::Wrapper::OutputVectorDataParameter::SetVectorData ( VectorDataType _arg)
virtual

Set the value

◆ ToString()

std::string otb::Wrapper::OutputVectorDataParameter::ToString ( ) const
inlineoverridevirtual

Name of the parameter

Reimplemented from otb::Wrapper::Parameter.

Definition at line 85 of file otbWrapperOutputVectorDataParameter.h.

◆ Write()

void otb::Wrapper::OutputVectorDataParameter::Write ( )

Member Data Documentation

◆ m_FileName

std::string otb::Wrapper::OutputVectorDataParameter::m_FileName
protected

Definition at line 106 of file otbWrapperOutputVectorDataParameter.h.

◆ m_VectorData

VectorDataType::Pointer otb::Wrapper::OutputVectorDataParameter::m_VectorData
protected

Definition at line 105 of file otbWrapperOutputVectorDataParameter.h.

◆ m_Writer

otb::VectorDataFileWriter<VectorDataType>::Pointer otb::Wrapper::OutputVectorDataParameter::m_Writer
protected

Definition at line 108 of file otbWrapperOutputVectorDataParameter.h.


The documentation for this class was generated from the following file: