17 #ifndef QGSEXPRESSIONPRIVATE_H 18 #define QGSEXPRESSIONPRIVATE_H 35 class QgsExpressionPrivate
38 QgsExpressionPrivate()
42 QgsExpressionPrivate(
const QgsExpressionPrivate &other )
44 , mRootNode( other.mRootNode ? other.mRootNode->clone() : nullptr )
45 , mParserErrorString( other.mParserErrorString )
46 , mEvalErrorString( other.mEvalErrorString )
47 , mParserErrors( other.mParserErrors )
49 , mCalc( other.mCalc )
50 , mDistanceUnit( other.mDistanceUnit )
51 , mAreaUnit( other.mAreaUnit )
54 ~QgsExpressionPrivate()
63 QString mParserErrorString;
64 QString mEvalErrorString;
66 QList<QgsExpression::ParserError> mParserErrors;
70 std::shared_ptr<QgsDistanceArea> mCalc;
75 bool mIsPrepared =
false;
79 #endif // QGSEXPRESSIONPRIVATE_H
Abstract base class for all nodes that can appear in an expression.
DistanceUnit
Units of distance.