OTB
9.0.0
Orfeo Toolbox
|
#include <otbParserX.h>
Public Types | |
typedef itk::SmartPointer< const Self > | ConstPointer |
typedef mup::IValue | IValueType |
typedef ParserX | ParserXType |
typedef itk::SmartPointer< Self > | Pointer |
typedef ParserX | Self |
typedef itk::LightObject | Superclass |
typedef mup::Value | 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 IValueType & | EvalRef () |
const std::string & | GetExpr () const |
const mup::var_maptype & | GetExprVar () const |
virtual const char * | GetNameOfClass () const |
const mup::var_maptype & | GetVar () const |
virtual void | SetExpr (const std::string &Expression) |
Static Public Member Functions | |
static Pointer | New () |
Protected Member Functions | |
ParserX () | |
void | PrintSelf (std::ostream &os, itk::Indent indent) const override |
~ParserX () override | |
Private Types | |
typedef itk::SmartPointer< ParserXImpl > | ParserXImplPtr |
Private Member Functions | |
void | operator= (const Self &)=delete |
ParserX (const Self &)=delete | |
Private Attributes | |
ParserXImplPtr | m_InternalParserX |
Definition of the standard floating point parser. Standard implementation of the mathematical expressions parser.
Definition at line 62 of file otbParserX.h.
typedef itk::SmartPointer<const Self> otb::ParserX::ConstPointer |
Definition at line 69 of file otbParserX.h.
typedef mup::IValue otb::ParserX::IValueType |
Definition at line 80 of file otbParserX.h.
|
private |
Definition at line 122 of file otbParserX.h.
typedef ParserX otb::ParserX::ParserXType |
Convenient type definitions
Definition at line 75 of file otbParserX.h.
typedef itk::SmartPointer<Self> otb::ParserX::Pointer |
Definition at line 68 of file otbParserX.h.
typedef ParserX otb::ParserX::Self |
Standard class typedefs.
Definition at line 66 of file otbParserX.h.
typedef itk::LightObject otb::ParserX::Superclass |
Definition at line 67 of file otbParserX.h.
typedef mup::Value otb::ParserX::ValueType |
Definition at line 79 of file otbParserX.h.
|
protected |
|
overrideprotected |
|
privatedelete |
bool otb::ParserX::CheckExpr | ( | ) |
Check Expression
void otb::ParserX::ClearVar | ( | ) |
Define a constant Clear all the defined variables
virtual::itk::LightObject::Pointer otb::ParserX::CreateAnother | ( | void | ) | const |
void otb::ParserX::DefineVar | ( | const std::string & | sName, |
ValueType * | fVar | ||
) |
Define a variable
ValueType otb::ParserX::Eval | ( | ) |
Trigger the parsing
const IValueType& otb::ParserX::EvalRef | ( | ) |
Trigger the parsing but return a const ref
const std::string& otb::ParserX::GetExpr | ( | ) | const |
Return the expression to be parsed
const mup::var_maptype& otb::ParserX::GetExprVar | ( | ) | const |
Return the list of expression variables (only make sense after having set up an expression)
|
virtual |
Run-time type information (and related methods)
const mup::var_maptype& otb::ParserX::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 123 of file otbParserX.h.