OTB  9.0.0
Orfeo Toolbox
Public Types | Public Member Functions | Private Member Functions | Private Attributes | List of all members
otb::Functor::OBIAMuParserFunctor< TLabelObject > Class Template Reference

#include <otbOBIAMuParserFunctor.h>

+ Inheritance diagram for otb::Functor::OBIAMuParserFunctor< TLabelObject >:
+ Collaboration diagram for otb::Functor::OBIAMuParserFunctor< TLabelObject >:

Public Types

typedef Parser ParserType
 
typedef OBIAMuParserFunctor Self
 

Public Member Functions

bool CheckExpression ()
 
std::string GetExpression () const
 
Parser::FunctionMapType GetFunList () const
 
std::string GetNameOfClass ()
 
const std::map< std::string, Parser::ValueType * > & GetVar () const
 
 OBIAMuParserFunctor ()
 
bool operator() (const TLabelObject &a)
 
void ParseAttributeName (std::string &attributeName)
 
void SetAttributes (const TLabelObject &a)
 
void SetAttributes (std::vector< std::string > shapeAttributes, std::vector< std::string > statAttributes, unsigned int nbOfBands)
 
void SetExpression (const std::string expression)
 
 ~OBIAMuParserFunctor ()
 

Private Member Functions

 OBIAMuParserFunctor (const Self &)=delete
 
void operator= (const Self &)=delete
 

Private Attributes

std::vector< double > m_AAttributes
 
std::vector< std::string > m_AttributesName
 
std::string m_Expression
 
ParserType::Pointer m_Parser
 
double m_ParserResult
 

Detailed Description

template<class TLabelObject>
class otb::Functor::OBIAMuParserFunctor< TLabelObject >

Definition at line 61 of file otbOBIAMuParserFunctor.h.

Member Typedef Documentation

◆ ParserType

template<class TLabelObject >
typedef Parser otb::Functor::OBIAMuParserFunctor< TLabelObject >::ParserType

Definition at line 64 of file otbOBIAMuParserFunctor.h.

◆ Self

template<class TLabelObject >
typedef OBIAMuParserFunctor otb::Functor::OBIAMuParserFunctor< TLabelObject >::Self

Definition at line 65 of file otbOBIAMuParserFunctor.h.

Constructor & Destructor Documentation

◆ OBIAMuParserFunctor() [1/2]

template<class TLabelObject >
otb::Functor::OBIAMuParserFunctor< TLabelObject >::OBIAMuParserFunctor ( )
inline

Definition at line 194 of file otbOBIAMuParserFunctor.h.

◆ ~OBIAMuParserFunctor()

template<class TLabelObject >
otb::Functor::OBIAMuParserFunctor< TLabelObject >::~OBIAMuParserFunctor ( )
inline

Definition at line 200 of file otbOBIAMuParserFunctor.h.

◆ OBIAMuParserFunctor() [2/2]

template<class TLabelObject >
otb::Functor::OBIAMuParserFunctor< TLabelObject >::OBIAMuParserFunctor ( const Self )
privatedelete

Member Function Documentation

◆ CheckExpression()

template<class TLabelObject >
bool otb::Functor::OBIAMuParserFunctor< TLabelObject >::CheckExpression ( )
inline

Check the expression

Definition at line 179 of file otbOBIAMuParserFunctor.h.

◆ GetExpression()

template<class TLabelObject >
std::string otb::Functor::OBIAMuParserFunctor< TLabelObject >::GetExpression ( ) const
inline

Return the expression to be parsed

Definition at line 107 of file otbOBIAMuParserFunctor.h.

◆ GetFunList()

template<class TLabelObject >
Parser::FunctionMapType otb::Functor::OBIAMuParserFunctor< TLabelObject >::GetFunList ( ) const
inline

Definition at line 189 of file otbOBIAMuParserFunctor.h.

◆ GetNameOfClass()

template<class TLabelObject >
std::string otb::Functor::OBIAMuParserFunctor< TLabelObject >::GetNameOfClass ( )
inline

Definition at line 67 of file otbOBIAMuParserFunctor.h.

◆ GetVar()

template<class TLabelObject >
const std::map<std::string, Parser::ValueType*>& otb::Functor::OBIAMuParserFunctor< TLabelObject >::GetVar ( ) const
inline

Definition at line 184 of file otbOBIAMuParserFunctor.h.

◆ operator()()

template<class TLabelObject >
bool otb::Functor::OBIAMuParserFunctor< TLabelObject >::operator() ( const TLabelObject &  a)
inline

Definition at line 72 of file otbOBIAMuParserFunctor.h.

◆ operator=()

template<class TLabelObject >
void otb::Functor::OBIAMuParserFunctor< TLabelObject >::operator= ( const Self )
privatedelete

◆ ParseAttributeName()

template<class TLabelObject >
void otb::Functor::OBIAMuParserFunctor< TLabelObject >::ParseAttributeName ( std::string &  attributeName)
inline

Definition at line 112 of file otbOBIAMuParserFunctor.h.

◆ SetAttributes() [1/2]

template<class TLabelObject >
void otb::Functor::OBIAMuParserFunctor< TLabelObject >::SetAttributes ( const TLabelObject &  a)
inline

Definition at line 127 of file otbOBIAMuParserFunctor.h.

◆ SetAttributes() [2/2]

template<class TLabelObject >
void otb::Functor::OBIAMuParserFunctor< TLabelObject >::SetAttributes ( std::vector< std::string >  shapeAttributes,
std::vector< std::string >  statAttributes,
unsigned int  nbOfBands 
)
inline

Definition at line 143 of file otbOBIAMuParserFunctor.h.

◆ SetExpression()

template<class TLabelObject >
void otb::Functor::OBIAMuParserFunctor< TLabelObject >::SetExpression ( const std::string  expression)
inline

Definition at line 100 of file otbOBIAMuParserFunctor.h.

Member Data Documentation

◆ m_AAttributes

template<class TLabelObject >
std::vector<double> otb::Functor::OBIAMuParserFunctor< TLabelObject >::m_AAttributes
private

Definition at line 209 of file otbOBIAMuParserFunctor.h.

◆ m_AttributesName

template<class TLabelObject >
std::vector<std::string> otb::Functor::OBIAMuParserFunctor< TLabelObject >::m_AttributesName
private

Definition at line 210 of file otbOBIAMuParserFunctor.h.

◆ m_Expression

template<class TLabelObject >
std::string otb::Functor::OBIAMuParserFunctor< TLabelObject >::m_Expression
private

Definition at line 207 of file otbOBIAMuParserFunctor.h.

◆ m_Parser

template<class TLabelObject >
ParserType::Pointer otb::Functor::OBIAMuParserFunctor< TLabelObject >::m_Parser
private

Definition at line 208 of file otbOBIAMuParserFunctor.h.

◆ m_ParserResult

template<class TLabelObject >
double otb::Functor::OBIAMuParserFunctor< TLabelObject >::m_ParserResult
private

Definition at line 211 of file otbOBIAMuParserFunctor.h.


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