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::NodeColumnRef Class Reference

#include <qgsexpression.h>

Inheritance diagram for QgsExpression::NodeColumnRef:
Inheritance graph
[legend]
Collaboration diagram for QgsExpression::NodeColumnRef:
Collaboration graph
[legend]

Public Member Functions

 NodeColumnRef (QString name)
QString name () const
virtual NodeType nodeType () const
virtual bool prepare (QgsExpression *parent, const QgsFields &fields)
virtual QVariant eval (QgsExpression *parent, const QgsFeature *f)
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

QString mName
int mIndex

Detailed Description

Definition at line 524 of file qgsexpression.h.

Constructor & Destructor Documentation

QgsExpression::NodeColumnRef::NodeColumnRef ( QString  name)
inline

Definition at line 527 of file qgsexpression.h.

Member Function Documentation

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

Implements QgsExpression::Node.

Definition at line 538 of file qgsexpression.h.

References QgsExpression::Visitor::visit().

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

Implements QgsExpression::Node.

Definition at line 2273 of file qgsexpression.cpp.

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

Implements QgsExpression::Node.

Definition at line 2246 of file qgsexpression.cpp.

References QgsFeature::attribute().

QString QgsExpression::NodeColumnRef::name ( ) const
inline

Definition at line 529 of file qgsexpression.h.

Referenced by QgsOgcUtils::expressionColumnRefToOgcFilter().

virtual bool QgsExpression::NodeColumnRef::needsGeometry ( ) const
inlinevirtual

Implements QgsExpression::Node.

Definition at line 537 of file qgsexpression.h.

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

Implements QgsExpression::Node.

Definition at line 531 of file qgsexpression.h.

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

Implements QgsExpression::Node.

Definition at line 2258 of file qgsexpression.cpp.

References QgsFields::count(), QgsExpression::mEvalErrorString, and tr.

virtual QStringList QgsExpression::NodeColumnRef::referencedColumns ( ) const
inlinevirtual

Implements QgsExpression::Node.

Definition at line 536 of file qgsexpression.h.

Member Data Documentation

int QgsExpression::NodeColumnRef::mIndex
protected

Definition at line 542 of file qgsexpression.h.

QString QgsExpression::NodeColumnRef::mName
protected

Definition at line 541 of file qgsexpression.h.


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