QGIS API Documentation  2.2.0-Valmiera
 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 525 of file qgsexpression.h.

Constructor & Destructor Documentation

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

Definition at line 528 of file qgsexpression.h.

Member Function Documentation

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

Implements QgsExpression::Node.

Definition at line 540 of file qgsexpression.h.

References QgsExpression::Visitor::visit().

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

Implements QgsExpression::Node.

Definition at line 2289 of file qgsexpression.cpp.

References QgsExpression::quotedColumnRef().

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

Implements QgsExpression::Node.

Definition at line 2262 of file qgsexpression.cpp.

References QgsFeature::attribute().

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

Definition at line 530 of file qgsexpression.h.

Referenced by QgsOgcUtils::expressionColumnRefToOgcFilter().

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

Implements QgsExpression::Node.

Definition at line 538 of file qgsexpression.h.

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

Implements QgsExpression::Node.

Definition at line 532 of file qgsexpression.h.

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

Implements QgsExpression::Node.

Definition at line 2274 of file qgsexpression.cpp.

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

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

Implements QgsExpression::Node.

Definition at line 537 of file qgsexpression.h.

Member Data Documentation

int QgsExpression::NodeColumnRef::mIndex
protected

Definition at line 544 of file qgsexpression.h.

QString QgsExpression::NodeColumnRef::mName
protected

Definition at line 543 of file qgsexpression.h.


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