15#ifndef QGSPROPERTYPRIVATE_H
16#define QGSPROPERTYPRIVATE_H
38class 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 )
58 ~QgsPropertyPrivate() {
delete transformer; }
66 QgsPropertyTransformer *transformer =
nullptr;
73 mutable int cachedFieldIdx = -1;
76 QString expressionString;
77 mutable bool expressionPrepared =
false;
78 mutable bool expressionIsInvalid =
false;
79 mutable QgsExpression expression;
81 mutable QSet< QString > expressionReferencedCols;
84 QgsPropertyPrivate &operator=(
const QgsPropertyPrivate & ) =
delete;
PropertyType
Property types.
@ Invalid
Invalid (not set) property.