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 )
51 , mScale( other.mScale )
53 , mCalc( other.mCalc )
54 , mDistanceUnit( other.mDistanceUnit )
55 , mAreaUnit( other.mAreaUnit )
58 ~QgsExpressionPrivate()
80 #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.