QGIS API Documentation  2.7.0-Master
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules 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
 
virtual QString dump () const
 
virtual QVariant eval (QgsExpression *parent, const QgsFeature *f)
 
virtual bool needsGeometry () const
 
virtual NodeType nodeType () const
 
virtual bool prepare (QgsExpression *parent, const QgsFields &fields)
 
virtual QStringList referencedColumns () const
 
- Public Member Functions inherited from QgsExpression::Node
virtual ~Node ()
 

Protected Attributes

WhenThenList mConditions
 
NodemElseExp
 

Detailed Description

Definition at line 579 of file qgsexpression.h.

Constructor & Destructor Documentation

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

Definition at line 582 of file qgsexpression.h.

QgsExpression::NodeCondition::~NodeCondition ( )
inline

Definition at line 583 of file qgsexpression.h.

Member Function Documentation

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

Implements QgsExpression::Node.

Definition at line 592 of file qgsexpression.h.

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

Implements QgsExpression::Node.

Definition at line 2660 of file qgsexpression.cpp.

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

Implements QgsExpression::Node.

Definition at line 2618 of file qgsexpression.cpp.

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

Implements QgsExpression::Node.

Definition at line 2687 of file qgsexpression.cpp.

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

Implements QgsExpression::Node.

Definition at line 585 of file qgsexpression.h.

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

Implements QgsExpression::Node.

Definition at line 2644 of file qgsexpression.cpp.

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

Implements QgsExpression::Node.

Definition at line 2673 of file qgsexpression.cpp.

Member Data Documentation

WhenThenList QgsExpression::NodeCondition::mConditions
protected

Definition at line 595 of file qgsexpression.h.

Node* QgsExpression::NodeCondition::mElseExp
protected

Definition at line 596 of file qgsexpression.h.


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