15#ifndef QGSPROPERTYPRIVATE_H
16#define QGSPROPERTYPRIVATE_H
38class QgsPropertyPrivate :
public QSharedData
42 QgsPropertyPrivate() =
default;
44 QgsPropertyPrivate(
const QgsPropertyPrivate &other )
45 : QSharedData( other )
47 , active( other.active )
48 , transformer( other.transformer ? other.transformer->clone() : nullptr )
49 , staticValue( other.staticValue )
50 , fieldName( other.fieldName )
51 , cachedFieldIdx( other.cachedFieldIdx )
52 , expressionString( other.expressionString )
53 , expressionPrepared( other.expressionPrepared )
54 , expressionIsInvalid( other.expressionIsInvalid )
55 , expression( other.expression )
56 , expressionReferencedCols( other.expressionReferencedCols )
70 QgsPropertyTransformer *transformer =
nullptr;
77 mutable int cachedFieldIdx = -1;
80 QString expressionString;
81 mutable bool expressionPrepared =
false;
82 mutable bool expressionIsInvalid =
false;
83 mutable QgsExpression expression;
85 mutable QSet< QString > expressionReferencedCols;
88 QgsPropertyPrivate &operator=(
const QgsPropertyPrivate & ) =
delete;
PropertyType
Property types.
@ Invalid
Invalid (not set) property.