OTB  6.7.0
Orfeo Toolbox
Public Types | Public Member Functions | Static Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | Private 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 Self
ConstPointer
 
typedef double CoordinatePrecisionType
 
typedef itk::SmartPointer< SelfPointer
 
typedef InputVectorDataParameter Self
 
typedef Parameter Superclass
 
typedef double ValuePrecisionType
 
typedef otb::VectorData
< CoordinatePrecisionType,
2, ValuePrecisionType
VectorDataType
 
- Public Types inherited from otb::Wrapper::Parameter
typedef itk::SmartPointer
< const Self
ConstPointer
 
typedef itk::SmartPointer< SelfPointer
 
typedef Parameter Self
 
typedef itk::Object Superclass
 
- Public Types inherited from itk::Object
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef Object Self
 
typedef LightObject Superclass
 
- Public Types inherited from itk::LightObject
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef LightObject Self
 

Public Member Functions

void ClearValue () override
 
virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
void FromString (const std::string &value) override
 
virtual const char * GetNameOfClass () const
 
ParameterType GetType () const override
 
const VectorDataTypeGetVectorData () const
 
VectorDataTypeGetVectorData ()
 
bool HasValue () const override
 
void SetVectorData (VectorDataType *vectorData)
 
std::string ToString () const override
 
bool SetFromFileName (const std::string &filename)
 
virtual const std::string & GetFileName () const
 
- Public Member Functions inherited from otb::Wrapper::Parameter
virtual void AddChild (Parameter::Pointer child)
 
void AutomaticValueOff ()
 
void AutomaticValueOn ()
 
virtual void FromFloat (float)
 
virtual void FromInt (int)
 
virtual void FromStringList (const std::vector< std::string > &)
 
virtual bool GetAutomaticValue () const
 
virtual std::vector
< Parameter::Pointer
GetChildrenList ()
 
virtual Role GetRole () const
 
virtual const Parameter::Pointer GetRoot () const
 
virtual UserLevel GetUserLevel () const
 
virtual bool HasUserValue () const
 
virtual bool IsRoot () const
 
virtual void Reset ()
 
virtual void SetAutomaticValue (bool flag)
 
virtual void SetRole (const Role role)
 
virtual void SetRoot (const Parameter::Pointer root)
 
virtual void SetUserLevel (const UserLevel level)
 
virtual void SetUserValue (bool isUserValue)
 
void TypeError (const std::string &target_type) 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 int ToInt () const
 
virtual float ToFloat () const
 
virtual std::vector< std::string > ToStringList () const
 
- Public Member Functions inherited from itk::Object
unsigned long AddObserver (const EventObject &event, Command *)
 
unsigned long AddObserver (const EventObject &event, Command *) const
 
virtual void DebugOff () const
 
virtual void DebugOn () const
 
CommandGetCommand (unsigned long tag)
 
bool GetDebug () const
 
const MetaDataDictionaryGetMetaDataDictionary () const
 
MetaDataDictionaryGetMetaDataDictionary ()
 
virtual ModifiedTimeType GetMTime () const
 
virtual const std::string & GetObjectName () const
 
virtual const TimeStampGetTimeStamp () const
 
bool HasObserver (const EventObject &event) const
 
void InvokeEvent (const EventObject &)
 
void InvokeEvent (const EventObject &) const
 
virtual void Modified () const
 
virtual void Register () const override
 
void RemoveAllObservers ()
 
void RemoveObserver (unsigned long tag)
 
void SetDebug (bool debugFlag) const
 
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
 
virtual void SetObjectName (std::string _arg)
 
virtual void SetReferenceCount (int) override
 
virtual void UnRegister () const noexceptoverride
 
- Public Member Functions inherited from itk::LightObject
virtual void Delete ()
 
virtual int GetReferenceCount () const
 
 itkCloneMacro (Self)
 
void Print (std::ostream &os, Indent indent=0) const
 

Static Public Member Functions

static Pointer New ()
 
- Static Public Member Functions inherited from itk::Object
static bool GetGlobalWarningDisplay ()
 
static void GlobalWarningDisplayOff ()
 
static void GlobalWarningDisplayOn ()
 
static Pointer New ()
 
static void SetGlobalWarningDisplay (bool flag)
 
- Static Public Member Functions inherited from itk::LightObject
static void BreakOnError ()
 
static Pointer New ()
 

Protected Types

typedef
otb::VectorDataFileReader
< VectorDataType
VectorDataFileReaderType
 

Protected Member Functions

 InputVectorDataParameter ()
 
 ~InputVectorDataParameter () override
 
- Protected Member Functions inherited from otb::Wrapper::Parameter
 Parameter ()
 
- Protected Member Functions inherited from itk::Object
 Object ()
 
bool PrintObservers (std::ostream &os, Indent indent) const
 
virtual void PrintSelf (std::ostream &os, Indent indent) const override
 
virtual void SetTimeStamp (const TimeStamp &time)
 
virtual ~Object ()
 
- Protected Member Functions inherited from itk::LightObject
virtual LightObject::Pointer InternalClone () const
 
 LightObject ()
 
virtual void PrintHeader (std::ostream &os, Indent indent) const
 
virtual void PrintTrailer (std::ostream &os, Indent indent) const
 
virtual ~LightObject ()
 

Protected Attributes

std::string m_FileName
 
std::string m_PreviousFileName
 
VectorDataFileReaderType::Pointer m_Reader
 
VectorDataType::Pointer m_VectorData
 
- Protected Attributes inherited from otb::Wrapper::Parameter
bool m_Active
 
std::vector< Parameter::Pointerm_ChildrenList
 
std::string m_Description
 
std::string m_Key
 
bool m_Mandatory
 
std::string m_Name
 
Role m_Role
 
itk::WeakPointer< Parameterm_Root
 
UserLevel m_UserLevel
 
bool m_UserValue
 
- Protected Attributes inherited from itk::LightObject
AtomicInt< int > m_ReferenceCount
 

Private Member Functions

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

Detailed Description

This class represents a InputVectorData parameter.

Definition at line 38 of file otbWrapperInputVectorDataParameter.h.

Member Typedef Documentation

Definition at line 45 of file otbWrapperInputVectorDataParameter.h.

Definition at line 51 of file otbWrapperInputVectorDataParameter.h.

Definition at line 44 of file otbWrapperInputVectorDataParameter.h.

Standard class typedef

Definition at line 42 of file otbWrapperInputVectorDataParameter.h.

Definition at line 43 of file otbWrapperInputVectorDataParameter.h.

Definition at line 54 of file otbWrapperInputVectorDataParameter.h.

Definition at line 93 of file otbWrapperInputVectorDataParameter.h.

Definition at line 55 of file otbWrapperInputVectorDataParameter.h.

Constructor & Destructor Documentation

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

Constructor

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

Destructor

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

Member Function Documentation

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

Reimplemented from otb::Wrapper::Parameter.

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

Reimplemented from itk::Object.

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

Reimplemented from otb::Wrapper::Parameter.

Definition at line 81 of file otbWrapperInputVectorDataParameter.h.

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

Set value from filename

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

RTTI support

Reimplemented from otb::Wrapper::Parameter.

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

Get the dynamic type as declared in WrapperTypes.h

Implements otb::Wrapper::Parameter.

Definition at line 71 of file otbWrapperInputVectorDataParameter.h.

References otb::Wrapper::ParameterType_InputVectorData.

const VectorDataType* otb::Wrapper::InputVectorDataParameter::GetVectorData ( ) const
VectorDataType* otb::Wrapper::InputVectorDataParameter::GetVectorData ( )
bool otb::Wrapper::InputVectorDataParameter::HasValue ( ) const
overridevirtual
static Pointer otb::Wrapper::InputVectorDataParameter::New ( )
static

Defining ::New() static method

void otb::Wrapper::InputVectorDataParameter::operator= ( const Parameter )
privatedelete
bool otb::Wrapper::InputVectorDataParameter::SetFromFileName ( const std::string &  filename)

Set value from filename

void otb::Wrapper::InputVectorDataParameter::SetVectorData ( VectorDataType vectorData)
std::string otb::Wrapper::InputVectorDataParameter::ToString ( ) const
inlineoverridevirtual

Parameter conversion functions. They are used by WrapperApplication to provide functions like SetParameterInt, GetParameterString, etc.

Reimplemented from otb::Wrapper::Parameter.

Definition at line 76 of file otbWrapperInputVectorDataParameter.h.

Member Data Documentation

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

Definition at line 97 of file otbWrapperInputVectorDataParameter.h.

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

Definition at line 99 of file otbWrapperInputVectorDataParameter.h.

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

Definition at line 95 of file otbWrapperInputVectorDataParameter.h.

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

Definition at line 94 of file otbWrapperInputVectorDataParameter.h.


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