QGIS API Documentation  2.0.1-Dufour
 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]
Collaboration diagram for QgsExpression::NodeCondition:
Collaboration graph
[legend]

Public Member Functions

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

Protected Attributes

WhenThenList mConditions
NodemElseExp

Detailed Description

Definition at line 557 of file qgsexpression.h.

Constructor & Destructor Documentation

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

Definition at line 560 of file qgsexpression.h.

QgsExpression::NodeCondition::~NodeCondition ( )
inline

Definition at line 561 of file qgsexpression.h.

Member Function Documentation

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

Implements QgsExpression::Node.

Definition at line 570 of file qgsexpression.h.

References QgsExpression::Visitor::visit().

QString QgsExpression::NodeCondition::dump ( ) const
virtual
QVariant QgsExpression::NodeCondition::eval ( QgsExpression parent,
const QgsFeature f 
)
virtual
bool QgsExpression::NodeCondition::needsGeometry ( ) const
virtual
virtual NodeType QgsExpression::NodeCondition::nodeType ( ) const
inlinevirtual

Implements QgsExpression::Node.

Definition at line 563 of file qgsexpression.h.

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

Member Data Documentation

WhenThenList QgsExpression::NodeCondition::mConditions
protected

Definition at line 573 of file qgsexpression.h.

Node* QgsExpression::NodeCondition::mElseExp
protected

Definition at line 574 of file qgsexpression.h.


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