OTB  9.0.0
Orfeo Toolbox
Public Types | Public Member Functions | Protected Member Functions | List of all members
otb::Wrapper::StringListInterface Class Referenceabstract

#include <otbWrapperStringListInterface.h>

+ Inheritance diagram for otb::Wrapper::StringListInterface:

Public Types

typedef std::vector< std::string > StringVector
 

Public Member Functions

virtual void AddFromFileName (const std::string &)=0
 
virtual void AddNullElement ()
 
virtual void Erase (std::vcl_size_t id)
 
virtual void Erase (std::vcl_size_t start, std::vcl_size_t count)=0
 
virtual Role GetDirection () const =0
 
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 std::string GetNthFileName (std::vcl_size_t i) const =0
 
virtual std::vcl_size_t GetStrings (StringVector &) const
 
virtual const std::string & GetToolTip (std::vcl_size_t) const =0
 
virtual void Insert (const std::string &filename, std::vcl_size_t=-1)=0
 
virtual void InsertNullElement (std::vcl_size_t=-1)=0
 
virtual bool IsActive (std::vcl_size_t) const =0
 
virtual bool IsFilename () const
 
virtual void SetListFromFileName (const StringVector &)=0
 
virtual void SetNthFileName (std::vcl_size_t, const std::string &)=0
 
virtual std::vcl_size_t SetStrings (const StringVector &)
 
virtual std::vcl_size_t Size () const =0
 
virtual void Swap (std::vcl_size_t, std::vcl_size_t)=0
 

Protected Member Functions

 StringListInterface ()
 

Detailed Description

This class represents a list of InputFilename parameter.

Definition at line 44 of file otbWrapperStringListInterface.h.

Member Typedef Documentation

◆ StringVector

typedef std::vector<std::string> otb::Wrapper::StringListInterface::StringVector

Definition at line 48 of file otbWrapperStringListInterface.h.

Constructor & Destructor Documentation

◆ StringListInterface()

otb::Wrapper::StringListInterface::StringListInterface ( )
inlineprotected

Constructor

Definition at line 115 of file otbWrapperStringListInterface.h.

Member Function Documentation

◆ AddFromFileName()

virtual void otb::Wrapper::StringListInterface::AddFromFileName ( const std::string &  )
pure virtual

◆ AddNullElement()

virtual void otb::Wrapper::StringListInterface::AddNullElement ( )
virtual

Add null element to lists.

◆ Erase() [1/2]

virtual void otb::Wrapper::StringListInterface::Erase ( std::vcl_size_t  id)
virtual

Erase one element of the list.

◆ Erase() [2/2]

virtual void otb::Wrapper::StringListInterface::Erase ( std::vcl_size_t  start,
std::vcl_size_t  count 
)
pure virtual

◆ GetDirection() [1/2]

virtual Role otb::Wrapper::StringListInterface::GetDirection ( ) const
pure virtual

◆ GetDirection() [2/2]

virtual Role otb::Wrapper::StringListInterface::GetDirection ( std::vcl_size_t  ) const
virtual

◆ GetFilenameFilter() [1/2]

virtual const std::string& otb::Wrapper::StringListInterface::GetFilenameFilter ( ) const
virtual

◆ GetFilenameFilter() [2/2]

virtual const std::string& otb::Wrapper::StringListInterface::GetFilenameFilter ( std::vcl_size_t  ) const
virtual

◆ GetFileNameList()

virtual StringVector otb::Wrapper::StringListInterface::GetFileNameList ( ) const
pure virtual

Get the stored filename list

Implemented in otb::Wrapper::ParameterList< T >.

◆ GetNthFileName()

virtual std::string otb::Wrapper::StringListInterface::GetNthFileName ( std::vcl_size_t  i) const
pure virtual

◆ GetStrings()

virtual std::vcl_size_t otb::Wrapper::StringListInterface::GetStrings ( StringVector ) const
virtual

◆ GetToolTip()

virtual const std::string& otb::Wrapper::StringListInterface::GetToolTip ( std::vcl_size_t  ) const
pure virtual

◆ Insert()

virtual void otb::Wrapper::StringListInterface::Insert ( const std::string &  filename,
std::vcl_size_t  = -1 
)
pure virtual

◆ InsertNullElement()

virtual void otb::Wrapper::StringListInterface::InsertNullElement ( std::vcl_size_t  = -1)
pure virtual

◆ IsActive()

virtual bool otb::Wrapper::StringListInterface::IsActive ( std::vcl_size_t  ) const
pure virtual

◆ IsFilename()

virtual bool otb::Wrapper::StringListInterface::IsFilename ( ) const
virtual

◆ SetListFromFileName()

virtual void otb::Wrapper::StringListInterface::SetListFromFileName ( const StringVector )
pure virtual

◆ SetNthFileName()

virtual void otb::Wrapper::StringListInterface::SetNthFileName ( std::vcl_size_t  ,
const std::string &   
)
pure virtual

◆ SetStrings()

virtual std::vcl_size_t otb::Wrapper::StringListInterface::SetStrings ( const StringVector )
virtual

◆ Size()

virtual std::vcl_size_t otb::Wrapper::StringListInterface::Size ( ) const
pure virtual

Retrieve number of elements

Implemented in otb::Wrapper::ParameterList< T >.

◆ Swap()

virtual void otb::Wrapper::StringListInterface::Swap ( std::vcl_size_t  ,
std::vcl_size_t   
)
pure virtual

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