OTB  9.0.0
Orfeo Toolbox
Public Types | Public Member Functions | Static Public Member Functions | List of all members
otb::Wrapper::InputVectorDataParameter Class Reference

#include <otbWrapperInputVectorDataParameter.h>

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

Public Types

typedef itk::SmartPointer< const SelfConstPointer
 
typedef double CoordinatePrecisionType
 
typedef itk::SmartPointer< SelfPointer
 
typedef InputVectorDataParameter Self
 
typedef Parameter Superclass
 
typedef double ValuePrecisionType
 
typedef otb::VectorData< CoordinatePrecisionType, 2, ValuePrecisionTypeVectorDataType
 
- 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
 
virtual const char * GetNameOfClass () const
 
- 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 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 ()
 
typedef otb::VectorDataFileReader< VectorDataTypeVectorDataFileReaderType
 
VectorDataType::Pointer m_VectorData
 
VectorDataFileReaderType::Pointer m_Reader
 
std::string m_FileName
 
std::string m_PreviousFileName
 
bool SetFromFileName (const std::string &filename)
 
virtual const std::string & GetFileName () const
 
const VectorDataTypeGetVectorData () const
 
VectorDataTypeGetVectorData ()
 
void SetVectorData (VectorDataType *vectorData)
 
bool HasValue () const override
 
void ClearValue () override
 
ParameterType GetType () const override
 
std::string ToString () const override
 
void FromString (const std::string &value) override
 
 InputVectorDataParameter ()
 
 ~InputVectorDataParameter () override
 
 InputVectorDataParameter (const Parameter &)=delete
 
void operator= (const Parameter &)=delete
 

Additional Inherited Members

- Protected Member Functions inherited from otb::Wrapper::Parameter
 Parameter ()
 
- 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
 

Detailed Description

This class represents a InputVectorData parameter.

Definition at line 38 of file otbWrapperInputVectorDataParameter.h.

Member Typedef Documentation

◆ ConstPointer

Definition at line 45 of file otbWrapperInputVectorDataParameter.h.

◆ CoordinatePrecisionType

Definition at line 51 of file otbWrapperInputVectorDataParameter.h.

◆ Pointer

Definition at line 44 of file otbWrapperInputVectorDataParameter.h.

◆ Self

Standard class typedef

Definition at line 42 of file otbWrapperInputVectorDataParameter.h.

◆ Superclass

Definition at line 43 of file otbWrapperInputVectorDataParameter.h.

◆ ValuePrecisionType

Definition at line 54 of file otbWrapperInputVectorDataParameter.h.

◆ VectorDataFileReaderType

Set value from filename

Definition at line 93 of file otbWrapperInputVectorDataParameter.h.

◆ VectorDataType

Definition at line 55 of file otbWrapperInputVectorDataParameter.h.

Constructor & Destructor Documentation

◆ InputVectorDataParameter() [1/2]

otb::Wrapper::InputVectorDataParameter::InputVectorDataParameter ( )
protected

Constructor

◆ ~InputVectorDataParameter()

otb::Wrapper::InputVectorDataParameter::~InputVectorDataParameter ( )
overrideprotected

Destructor

◆ InputVectorDataParameter() [2/2]

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

Set value from filename

Member Function Documentation

◆ ClearValue()

void otb::Wrapper::InputVectorDataParameter::ClearValue ( )
overridevirtual

Set value from filename

Reimplemented from otb::Wrapper::Parameter.

◆ CreateAnother()

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

◆ FromString()

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

Set value from filename

Reimplemented from otb::Wrapper::Parameter.

Definition at line 81 of file otbWrapperInputVectorDataParameter.h.

◆ GetFileName()

virtual const std::string& otb::Wrapper::InputVectorDataParameter::GetFileName ( ) const
virtual

Set value from filename

◆ GetNameOfClass()

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

RTTI support

Reimplemented from otb::Wrapper::Parameter.

◆ GetType()

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

Set value from filename

Implements otb::Wrapper::Parameter.

Definition at line 71 of file otbWrapperInputVectorDataParameter.h.

References otb::Wrapper::ParameterType_InputVectorData.

◆ GetVectorData() [1/2]

VectorDataType* otb::Wrapper::InputVectorDataParameter::GetVectorData ( )

Set value from filename

◆ GetVectorData() [2/2]

const VectorDataType* otb::Wrapper::InputVectorDataParameter::GetVectorData ( ) const

Set value from filename

◆ HasValue()

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

Set value from filename

Implements otb::Wrapper::Parameter.

◆ New()

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

Defining ::New() static method

◆ operator=()

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

Set value from filename

◆ SetFromFileName()

bool otb::Wrapper::InputVectorDataParameter::SetFromFileName ( const std::string &  filename)

Set value from filename

◆ SetVectorData()

void otb::Wrapper::InputVectorDataParameter::SetVectorData ( VectorDataType vectorData)

Set value from filename

◆ ToString()

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

Set value from filename

Reimplemented from otb::Wrapper::Parameter.

Definition at line 76 of file otbWrapperInputVectorDataParameter.h.

Member Data Documentation

◆ m_FileName

std::string otb::Wrapper::InputVectorDataParameter::m_FileName
protected

Set value from filename

Definition at line 97 of file otbWrapperInputVectorDataParameter.h.

◆ m_PreviousFileName

std::string otb::Wrapper::InputVectorDataParameter::m_PreviousFileName
protected

Set value from filename

Definition at line 99 of file otbWrapperInputVectorDataParameter.h.

◆ m_Reader

VectorDataFileReaderType::Pointer otb::Wrapper::InputVectorDataParameter::m_Reader
protected

Set value from filename

Definition at line 95 of file otbWrapperInputVectorDataParameter.h.

◆ m_VectorData

VectorDataType::Pointer otb::Wrapper::InputVectorDataParameter::m_VectorData
protected

Set value from filename

Definition at line 94 of file otbWrapperInputVectorDataParameter.h.


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