24 #include "itkLightObject.h"
25 #include "itkObjectFactory.h"
27 #if defined(__clang__)
28 #pragma clang diagnostic push
29 #pragma clang diagnostic ignored "-Wc++11-extensions"
31 #if defined(__apple_build_version__)
33 #if __apple_build_version__ >= 7000053
34 #pragma clang diagnostic ignored "-Winconsistent-missing-override"
36 #elif __clang_major__ > 3 || (__clang_major__ == 3 && __clang_minor__ >= 7)
37 #pragma clang diagnostic ignored "-Winconsistent-missing-override"
41 #pragma clang diagnostic pop
62 class ITK_EXPORT
ParserX :
public itk::LightObject
83 virtual void SetExpr(
const std::string& Expression);
92 void DefineVar(
const std::string& sName,
ValueType* fVar);
101 const std::string& GetExpr()
const;
104 const mup::var_maptype& GetVar()
const;
107 const mup::var_maptype& GetExprVar()
const;
115 void PrintSelf(std::ostream& os, itk::Indent indent)
const override;
120 void operator=(
const Self&) =
delete;