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

Constructor & Destructor Documentation

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

Definition at line 542 of file qgsexpression.h.

Member Function Documentation

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

Implements QgsExpression::Node.

Definition at line 554 of file qgsexpression.h.

References QgsExpression::Visitor::visit().

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

Implements QgsExpression::Node.

Definition at line 2557 of file qgsexpression.cpp.

References QgsExpression::quotedColumnRef().

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

Implements QgsExpression::Node.

Definition at line 2530 of file qgsexpression.cpp.

References QgsFeature::attribute().

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

Definition at line 544 of file qgsexpression.h.

Referenced by QgsOgcUtils::expressionColumnRefToOgcFilter().

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

Implements QgsExpression::Node.

Definition at line 552 of file qgsexpression.h.

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

Implements QgsExpression::Node.

Definition at line 546 of file qgsexpression.h.

References QgsExpression::ntColumnRef.

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

Implements QgsExpression::Node.

Definition at line 2542 of file qgsexpression.cpp.

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

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

Implements QgsExpression::Node.

Definition at line 551 of file qgsexpression.h.

Member Data Documentation

int QgsExpression::NodeColumnRef::mIndex
protected

Definition at line 558 of file qgsexpression.h.

QString QgsExpression::NodeColumnRef::mName
protected

Definition at line 557 of file qgsexpression.h.


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