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

Constructor & Destructor Documentation

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

Definition at line 483 of file qgsexpression.h.

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

Definition at line 485 of file qgsexpression.h.

Member Function Documentation

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

Implements QgsExpression::Node.

Definition at line 497 of file qgsexpression.h.

References QgsExpression::Visitor::visit().

NodeList* QgsExpression::NodeFunction::args ( ) const
inline
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 496 of file qgsexpression.h.

References QgsExpression::Node::needsGeometry().

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

Implements QgsExpression::Node.

Definition at line 490 of file qgsexpression.h.

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

Implements QgsExpression::Node.

Definition at line 2211 of file qgsexpression.cpp.

References QgsExpression::Node::prepare().

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

Implements QgsExpression::Node.

Definition at line 495 of file qgsexpression.h.

References QgsExpression::Node::referencedColumns().

Member Data Documentation

NodeList* QgsExpression::NodeFunction::mArgs
protected

Definition at line 502 of file qgsexpression.h.

int QgsExpression::NodeFunction::mFnIndex
protected

Definition at line 501 of file qgsexpression.h.


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