QGIS API Documentation  2.5.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]
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 573 of file qgsexpression.h.

Constructor & Destructor Documentation

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

Definition at line 576 of file qgsexpression.h.

QgsExpression::NodeCondition::~NodeCondition ( )
inline

Definition at line 577 of file qgsexpression.h.

Member Function Documentation

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

Implements QgsExpression::Node.

Definition at line 586 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 579 of file qgsexpression.h.

References QgsExpression::ntCondition.

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 589 of file qgsexpression.h.

Node* QgsExpression::NodeCondition::mElseExp
protected

Definition at line 590 of file qgsexpression.h.


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