QGIS API Documentation  2.8.2-Wien
 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 612 of file qgsexpression.h.

Constructor & Destructor Documentation

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

Definition at line 615 of file qgsexpression.h.

QgsExpression::NodeCondition::~NodeCondition ( )
inline

Definition at line 616 of file qgsexpression.h.

Member Function Documentation

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

Implements QgsExpression::Node.

Definition at line 625 of file qgsexpression.h.

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

Implements QgsExpression::Node.

Definition at line 2782 of file qgsexpression.cpp.

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

Implements QgsExpression::Node.

Definition at line 2740 of file qgsexpression.cpp.

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

Implements QgsExpression::Node.

Definition at line 2809 of file qgsexpression.cpp.

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

Implements QgsExpression::Node.

Definition at line 618 of file qgsexpression.h.

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

Implements QgsExpression::Node.

Definition at line 2766 of file qgsexpression.cpp.

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

Implements QgsExpression::Node.

Definition at line 2795 of file qgsexpression.cpp.

Member Data Documentation

WhenThenList QgsExpression::NodeCondition::mConditions
protected

Definition at line 628 of file qgsexpression.h.

Node* QgsExpression::NodeCondition::mElseExp
protected

Definition at line 629 of file qgsexpression.h.


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