15#ifndef QGSPROPERTYPRIVATE_H
16#define QGSPROPERTYPRIVATE_H
37class 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 , expressionIsInvalid( other.expressionIsInvalid )
54 , expression( other.expression )
55 , expressionReferencedCols( other.expressionReferencedCols )
76 mutable int cachedFieldIdx = -1;
79 QString expressionString;
80 mutable bool expressionPrepared =
false;
81 mutable bool expressionIsInvalid =
false;
84 mutable QSet< QString > expressionReferencedCols;
87 QgsPropertyPrivate &operator=(
const QgsPropertyPrivate & ) =
delete;
Class for parsing and evaluation of expressions (formerly called "search strings").