OTB
9.0.0
Orfeo Toolbox
|
#include <otbParser.h>
Public Types | |
typedef itk::SmartPointer< const Self > | ConstPointer |
typedef std::map< std::string, int > | FunctionMapType |
typedef Parser | ParserType |
typedef itk::SmartPointer< Self > | Pointer |
typedef Parser | Self |
typedef itk::LightObject | Superclass |
typedef double | ValueType |
Public Member Functions | |
bool | CheckExpr () |
void | ClearVar () |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
void | DefineVar (const std::string &sName, ValueType *fVar) |
ValueType | Eval () |
const std::string & | GetExpr () const |
FunctionMapType | GetFunList () const |
virtual const char * | GetNameOfClass () const |
const std::map< std::string, Parser::ValueType * > & | GetVar () const |
virtual void | SetExpr (const std::string &Expression) |
Static Public Member Functions | |
static Pointer | New () |
Protected Member Functions | |
Parser () | |
void | PrintSelf (std::ostream &os, itk::Indent indent) const override |
~Parser () override | |
Private Types | |
typedef itk::SmartPointer< ParserImpl > | ParserImplPtr |
Private Member Functions | |
void | operator= (const Self &)=delete |
Parser (const Self &)=delete | |
Private Attributes | |
ParserImplPtr | m_InternalParser |
Definition of the standard floating point parser. Standard implementation of the mathematical expressions parser.
Definition at line 44 of file otbParser.h.
typedef itk::SmartPointer<const Self> otb::Parser::ConstPointer |
Definition at line 51 of file otbParser.h.
typedef std::map<std::string, int> otb::Parser::FunctionMapType |
Type for function/number of arguments map
Definition at line 64 of file otbParser.h.
|
private |
Definition at line 100 of file otbParser.h.
typedef Parser otb::Parser::ParserType |
Convenient type definitions
Definition at line 57 of file otbParser.h.
typedef itk::SmartPointer<Self> otb::Parser::Pointer |
Definition at line 50 of file otbParser.h.
typedef Parser otb::Parser::Self |
Standard class typedefs.
Definition at line 48 of file otbParser.h.
typedef itk::LightObject otb::Parser::Superclass |
Definition at line 49 of file otbParser.h.
typedef double otb::Parser::ValueType |
Definition at line 61 of file otbParser.h.
|
protected |
|
overrideprotected |
|
privatedelete |
bool otb::Parser::CheckExpr | ( | ) |
Check Expression
void otb::Parser::ClearVar | ( | ) |
Clear all the defined variables
virtual::itk::LightObject::Pointer otb::Parser::CreateAnother | ( | void | ) | const |
void otb::Parser::DefineVar | ( | const std::string & | sName, |
ValueType * | fVar | ||
) |
Define a variable
ValueType otb::Parser::Eval | ( | ) |
Trigger the parsing
const std::string& otb::Parser::GetExpr | ( | ) | const |
Return the expression to be parsed
FunctionMapType otb::Parser::GetFunList | ( | ) | const |
Return a map of function names and associated number of arguments
|
virtual |
Run-time type information (and related methods)
const std::map<std::string, Parser::ValueType*>& otb::Parser::GetVar | ( | ) | const |
Return the list of variables
|
static |
New macro for creation of through a Smart Pointer
|
privatedelete |
|
overrideprotected |
|
virtual |
Set the expression to be parsed
|
private |
Definition at line 101 of file otbParser.h.