15 #ifndef QGSPROPERTYPRIVATE_H 16 #define QGSPROPERTYPRIVATE_H 31 #include "qgis_core.h" 32 #include <QSharedData> 37 class QgsPropertyPrivate :
public QSharedData
41 QgsPropertyPrivate() =
default;
43 QgsPropertyPrivate(
const QgsPropertyPrivate &other )
44 : QSharedData( other )
46 , active( other.active )
47 , transformer( other.transformer ? other.transformer->clone() : nullptr )
48 , staticValue( other.staticValue )
49 , fieldName( other.fieldName )
50 , cachedFieldIdx( other.cachedFieldIdx )
51 , expressionString( other.expressionString )
52 , expressionPrepared( other.expressionPrepared )
53 , expression( other.expression )
54 , expressionReferencedCols( other.expressionReferencedCols )
75 mutable int cachedFieldIdx = -1;
78 QString expressionString;
79 mutable bool expressionPrepared =
false;
82 mutable QSet< QString > expressionReferencedCols;
88 #endif // QGSPROPERTYPRIVATE_H Class for parsing and evaluation of expressions (formerly called "search strings").