QGIS API Documentation  2.11.0-Master
Public Member Functions | Protected Attributes | List of all members
QgsExpression::NodeCondition Class Reference

#include <qgsexpression.h>

Inheritance diagram for QgsExpression::NodeCondition:
Inheritance graph
[legend]

Public Member Functions

 NodeCondition (WhenThenList *conditions, Node *elseExp=NULL)
 
 ~NodeCondition ()
 
virtual void accept (Visitor &v) const override
 
virtual QString dump () const override
 
virtual QVariant eval (QgsExpression *parent, const QgsFeature *f) override
 
virtual bool needsGeometry () const override
 
virtual NodeType nodeType () const override
 
virtual bool prepare (QgsExpression *parent, const QgsFields &fields) override
 
virtual QStringList referencedColumns () const override
 
- Public Member Functions inherited from QgsExpression::Node
virtual ~Node ()
 

Protected Attributes

WhenThenList mConditions
 
NodemElseExp
 

Detailed Description

Definition at line 663 of file qgsexpression.h.

Constructor & Destructor Documentation

QgsExpression::NodeCondition::NodeCondition ( WhenThenList conditions,
Node elseExp = NULL 
)
inline

Definition at line 666 of file qgsexpression.h.

QgsExpression::NodeCondition::~NodeCondition ( )
inline

Definition at line 667 of file qgsexpression.h.

Member Function Documentation

virtual void QgsExpression::NodeCondition::accept ( Visitor v) const
inlineoverridevirtual

Implements QgsExpression::Node.

Definition at line 676 of file qgsexpression.h.

QString QgsExpression::NodeCondition::dump ( ) const
overridevirtual

Implements QgsExpression::Node.

Definition at line 2882 of file qgsexpression.cpp.

QVariant QgsExpression::NodeCondition::eval ( QgsExpression parent,
const QgsFeature f 
)
overridevirtual

Implements QgsExpression::Node.

Definition at line 2840 of file qgsexpression.cpp.

bool QgsExpression::NodeCondition::needsGeometry ( ) const
overridevirtual

Implements QgsExpression::Node.

Definition at line 2909 of file qgsexpression.cpp.

virtual NodeType QgsExpression::NodeCondition::nodeType ( ) const
inlineoverridevirtual

Implements QgsExpression::Node.

Definition at line 669 of file qgsexpression.h.

bool QgsExpression::NodeCondition::prepare ( QgsExpression parent,
const QgsFields fields 
)
overridevirtual

Implements QgsExpression::Node.

Definition at line 2866 of file qgsexpression.cpp.

QStringList QgsExpression::NodeCondition::referencedColumns ( ) const
overridevirtual

Implements QgsExpression::Node.

Definition at line 2895 of file qgsexpression.cpp.

Member Data Documentation

WhenThenList QgsExpression::NodeCondition::mConditions
protected

Definition at line 679 of file qgsexpression.h.

Node* QgsExpression::NodeCondition::mElseExp
protected

Definition at line 680 of file qgsexpression.h.


The documentation for this class was generated from the following files: