OTB  6.7.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>

+ 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

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

Definition at line 64 of file otbOBIAMuParserFunctor.h.

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

Definition at line 65 of file otbOBIAMuParserFunctor.h.

Constructor & Destructor Documentation

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

Definition at line 198 of file otbOBIAMuParserFunctor.h.

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

Definition at line 205 of file otbOBIAMuParserFunctor.h.

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

Member Function Documentation

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

Check the expression

Definition at line 183 of file otbOBIAMuParserFunctor.h.

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

Return the expression to be parsed

Definition at line 108 of file otbOBIAMuParserFunctor.h.

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

Definition at line 193 of file otbOBIAMuParserFunctor.h.

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

Definition at line 67 of file otbOBIAMuParserFunctor.h.

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

Definition at line 188 of file otbOBIAMuParserFunctor.h.

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

Definition at line 72 of file otbOBIAMuParserFunctor.h.

template<class TLabelObject >
void otb::Functor::OBIAMuParserFunctor< TLabelObject >::operator= ( const Self )
privatedelete
template<class TLabelObject >
void otb::Functor::OBIAMuParserFunctor< TLabelObject >::ParseAttributeName ( std::string &  attributeName)
inline

Definition at line 113 of file otbOBIAMuParserFunctor.h.

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

Definition at line 129 of file otbOBIAMuParserFunctor.h.

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 146 of file otbOBIAMuParserFunctor.h.

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

Definition at line 101 of file otbOBIAMuParserFunctor.h.

Member Data Documentation

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

Definition at line 219 of file otbOBIAMuParserFunctor.h.

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

Definition at line 220 of file otbOBIAMuParserFunctor.h.

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

Definition at line 217 of file otbOBIAMuParserFunctor.h.

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

Definition at line 218 of file otbOBIAMuParserFunctor.h.

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

Definition at line 221 of file otbOBIAMuParserFunctor.h.


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