17 #ifndef QGSEXPRESSIONPRIVATE_H 18 #define QGSEXPRESSIONPRIVATE_H 21 #include <QSharedPointer> 33 class QgsExpressionPrivate
36 QgsExpressionPrivate()
38 , mRootNode( nullptr )
42 , mDistanceUnit(
QGis::UnknownUnit )
46 QgsExpressionPrivate(
const QgsExpressionPrivate& other )
48 , mRootNode( other.mRootNode ? other.mRootNode->clone() : nullptr )
49 , mParserErrorString( other.mParserErrorString )
50 , mEvalErrorString( other.mEvalErrorString )
52 , mScale( other.mScale )
54 , mCalc( other.mCalc )
55 , mDistanceUnit( other.mDistanceUnit )
56 , mAreaUnit( other.mAreaUnit )
59 ~QgsExpressionPrivate()
81 #endif // QGSEXPRESSIONPRIVATE_H Helper functions for various unit types.
The QGis class provides global constants for use throughout the application.
UnitType
Map units that qgis supports.