24 #include "itkLightObject.h"
25 #include "itkObjectFactory.h"
27 #include "otb_muparser.h"
44 class ITK_EXPORT
Parser :
public itk::LightObject
57 itkTypeMacro(
Parser, itk::LightObject);
67 virtual void SetExpr(
const std::string& Expression);
73 void DefineVar(
const std::string& sName,
ValueType* fVar);
79 const std::string& GetExpr()
const;
82 const std::map<std::string, Parser::ValueType*>& GetVar()
const;
93 void PrintSelf(std::ostream& os, itk::Indent indent)
const override;
98 void operator=(
const Self&) =
delete;