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 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
inlinevirtual

Implements QgsExpression::Node.

Definition at line 625 of file qgsexpression.h.

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

Implements QgsExpression::Node.

Definition at line 2737 of file qgsexpression.cpp.

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

Implements QgsExpression::Node.

Definition at line 2695 of file qgsexpression.cpp.

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

Implements QgsExpression::Node.

Definition at line 2764 of file qgsexpression.cpp.

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

Implements QgsExpression::Node.

Definition at line 618 of file qgsexpression.h.

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

Implements QgsExpression::Node.

Definition at line 2721 of file qgsexpression.cpp.

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

Implements QgsExpression::Node.

Definition at line 2750 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: