#ifndef EXPREVALUATOR_H #define EXPREVALUATOR_H #include #include #include #include class ExprEvaluator { public: ExprEvaluator(); bool evaluate(const QObject *data, const QString &expression); private: #ifdef _MSC_VER QMap > m_operations; #else static const QMap > m_operations; #endif bool m_caseSensitive; }; #endif // EXPREVALUATOR_H