18 #ifndef QGSEXPRESSIONFIELDBUFFER_H
19 #define QGSEXPRESSIONFIELDBUFFER_H
21 #include "qgis_core.h"
41 : cachedExpression( exp )
60 void addExpression(
const QString &exp,
const QgsField &fld );
67 void removeExpression(
int index );
77 void renameExpression(
int index,
const QString &name );
87 void updateExpression(
int index,
const QString &exp );
92 void writeXml( QDomNode &layer_node, QDomDocument &document )
const;
97 void readXml(
const QDomNode &layer_node );
106 QList<QgsExpressionFieldBuffer::ExpressionField> expressions()
const {
return mExpressions; }
109 QList<ExpressionField> mExpressions;
112 #endif // QGSEXPRESSIONFIELDBUFFER_H