18#ifndef QGSEXPRESSIONFIELDBUFFER_H 
   19#define QGSEXPRESSIONFIELDBUFFER_H 
   40        : cachedExpression( exp )
 
 
 
   59    void addExpression( 
const QString &exp, 
const QgsField &fld );
 
   66    void removeExpression( 
int index );
 
   75    void renameExpression( 
int index, 
const QString &name );
 
   84    void updateExpression( 
int index, 
const QString &exp );
 
   89    void writeXml( QDomNode &layer_node, QDomDocument &document ) 
const;
 
   94    void readXml( 
const QDomNode &layer_node );
 
  101    void updateFields( 
QgsFields &flds ) 
const;
 
  103    QList<QgsExpressionFieldBuffer::ExpressionField> 
expressions()
 const { 
return mExpressions; }
 
  106    QList<ExpressionField> mExpressions;
 
 
Buffers information about expression fields for a vector layer.
QList< QgsExpressionFieldBuffer::ExpressionField > expressions() const
QgsExpressionFieldBuffer()=default
Constructor for QgsExpressionFieldBuffer.
Class for parsing and evaluation of expressions (formerly called "search strings").
Encapsulate a field in an attribute table or data source.
Container of fields for a vector layer.
QgsExpression cachedExpression
ExpressionField(const QString &exp, const QgsField &fld)