17 #ifndef QGSEXPRESSIONPRIVATE_H 18 #define QGSEXPRESSIONPRIVATE_H 23 #include "qgsexpression.h" 26 #include "qgsexpressionnode.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 )
48 , mCalc( other.mCalc )
49 , mDistanceUnit( other.mDistanceUnit )
50 , mAreaUnit( other.mAreaUnit )
53 ~QgsExpressionPrivate()
60 QgsExpressionNode *mRootNode =
nullptr;
62 QString mParserErrorString;
63 QString mEvalErrorString;
67 std::shared_ptr<QgsDistanceArea> mCalc;
73 #endif // QGSEXPRESSIONPRIVATE_H
DistanceUnit
Units of distance.