QGIS API Documentation  2.9.0-Master
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 627 of file qgsexpression.h.

Constructor & Destructor Documentation

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

Definition at line 630 of file qgsexpression.h.

QgsExpression::NodeCondition::~NodeCondition ( )
inline

Definition at line 631 of file qgsexpression.h.

Member Function Documentation

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

Implements QgsExpression::Node.

Definition at line 640 of file qgsexpression.h.

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

Implements QgsExpression::Node.

Definition at line 2798 of file qgsexpression.cpp.

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

Implements QgsExpression::Node.

Definition at line 2756 of file qgsexpression.cpp.

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

Implements QgsExpression::Node.

Definition at line 2825 of file qgsexpression.cpp.

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

Implements QgsExpression::Node.

Definition at line 633 of file qgsexpression.h.

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

Implements QgsExpression::Node.

Definition at line 2782 of file qgsexpression.cpp.

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

Implements QgsExpression::Node.

Definition at line 2811 of file qgsexpression.cpp.

Member Data Documentation

WhenThenList QgsExpression::NodeCondition::mConditions
protected

Definition at line 643 of file qgsexpression.h.

Node* QgsExpression::NodeCondition::mElseExp
protected

Definition at line 644 of file qgsexpression.h.


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