Quantum GIS API Documentation  1.8
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Protected Attributes
QgsExpression::NodeCondition Class Reference

#include <qgsexpression.h>

Inheritance diagram for QgsExpression::NodeCondition:
Inheritance graph
Collaboration diagram for QgsExpression::NodeCondition:
Collaboration graph

List of all members.

Public Member Functions

 NodeCondition (WhenThenList *conditions, Node *elseExp=NULL)
 ~NodeCondition ()
virtual QVariant eval (QgsExpression *parent, QgsFeature *f)
virtual bool prepare (QgsExpression *parent, const QgsFieldMap &fields)
virtual QString dump () const
virtual void toOgcFilter (QDomDocument &doc, QDomElement &element) const
virtual QStringList referencedColumns () const
virtual bool needsGeometry () const
virtual void accept (Visitor &v)

Protected Attributes

WhenThenList mConditions

Detailed Description

Definition at line 425 of file qgsexpression.h.

Constructor & Destructor Documentation

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

Definition at line 428 of file qgsexpression.h.

Definition at line 429 of file qgsexpression.h.

Member Function Documentation

virtual void QgsExpression::NodeCondition::accept ( Visitor v) [inline, virtual]

Implements QgsExpression::Node.

Definition at line 439 of file qgsexpression.h.

References QgsExpression::Visitor::visit().

QString QgsExpression::NodeCondition::dump ( ) const [virtual]
QVariant QgsExpression::NodeCondition::eval ( QgsExpression parent,
QgsFeature f 
) [virtual]
bool QgsExpression::NodeCondition::prepare ( QgsExpression parent,
const QgsFieldMap fields 
) [virtual]
QStringList QgsExpression::NodeCondition::referencedColumns ( ) const [virtual]
void QgsExpression::NodeCondition::toOgcFilter ( QDomDocument &  doc,
QDomElement &  element 
) const [virtual]

Reimplemented from QgsExpression::Node.

Definition at line 1641 of file qgsexpression.cpp.

Member Data Documentation

Definition at line 442 of file qgsexpression.h.

Definition at line 443 of file qgsexpression.h.

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines