15#ifndef QGSPROPERTYPRIVATE_H
16#define QGSPROPERTYPRIVATE_H
36class QgsPropertyPrivate :
public QSharedData
40 QgsPropertyPrivate() =
default;
42 QgsPropertyPrivate(
const QgsPropertyPrivate &other )
43 : QSharedData( other )
45 , active( other.active )
46 , transformer( other.transformer ? other.transformer->clone() : nullptr )
47 , staticValue( other.staticValue )
48 , fieldName( other.fieldName )
49 , cachedFieldIdx( other.cachedFieldIdx )
50 , expressionString( other.expressionString )
51 , expressionPrepared( other.expressionPrepared )
52 , expressionIsInvalid( other.expressionIsInvalid )
53 , expression( other.expression )
54 , expressionReferencedCols( other.expressionReferencedCols )
75 mutable int cachedFieldIdx = -1;
78 QString expressionString;
79 mutable bool expressionPrepared =
false;
80 mutable bool expressionIsInvalid =
false;
83 mutable QSet< QString > expressionReferencedCols;
86 QgsPropertyPrivate &operator=(
const QgsPropertyPrivate & ) =
delete;
PropertyType
Property types.
@ Invalid
Invalid (not set) property.
Class for parsing and evaluation of expressions (formerly called "search strings").