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

#include <qgsexpression.h>

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

Public Member Functions

 NodeFunction (int fnIndex, NodeList *args)
virtual ~NodeFunction ()
int fnIndex () const
NodeListargs () 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

int mFnIndex
NodeListmArgs

Detailed Description

Definition at line 479 of file qgsexpression.h.

Constructor & Destructor Documentation

QgsExpression::NodeFunction::NodeFunction ( int  fnIndex,
NodeList args 
)
inline

Definition at line 482 of file qgsexpression.h.

virtual QgsExpression::NodeFunction::~NodeFunction ( )
inlinevirtual

Definition at line 484 of file qgsexpression.h.

Member Function Documentation

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

Implements QgsExpression::Node.

Definition at line 496 of file qgsexpression.h.

References QgsExpression::Visitor::visit().

NodeList* QgsExpression::NodeFunction::args ( ) const
inline

Definition at line 487 of file qgsexpression.h.

Referenced by QgsOgcUtils::expressionFunctionToOgcFilter().

QString QgsExpression::NodeFunction::dump ( ) const
virtual
QVariant QgsExpression::NodeFunction::eval ( QgsExpression parent,
const QgsFeature f 
)
virtual
int QgsExpression::NodeFunction::fnIndex ( ) const
inline
virtual bool QgsExpression::NodeFunction::needsGeometry ( ) const
inlinevirtual

Implements QgsExpression::Node.

Definition at line 495 of file qgsexpression.h.

References QgsExpression::Node::needsGeometry().

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

Implements QgsExpression::Node.

Definition at line 489 of file qgsexpression.h.

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

Implements QgsExpression::Node.

Definition at line 2195 of file qgsexpression.cpp.

References QgsExpression::Node::prepare().

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

Implements QgsExpression::Node.

Definition at line 494 of file qgsexpression.h.

References QgsExpression::Node::referencedColumns().

Member Data Documentation

NodeList* QgsExpression::NodeFunction::mArgs
protected

Definition at line 501 of file qgsexpression.h.

int QgsExpression::NodeFunction::mFnIndex
protected

Definition at line 500 of file qgsexpression.h.


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