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

Constructor & Destructor Documentation

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

Definition at line 497 of file qgsexpression.h.

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

Definition at line 499 of file qgsexpression.h.

Member Function Documentation

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

Implements QgsExpression::Node.

Definition at line 511 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 510 of file qgsexpression.h.

References QgsExpression::Node::needsGeometry().

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

Implements QgsExpression::Node.

Definition at line 504 of file qgsexpression.h.

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

Implements QgsExpression::Node.

Definition at line 2459 of file qgsexpression.cpp.

References QgsExpression::Node::prepare().

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

Member Data Documentation

NodeList* QgsExpression::NodeFunction::mArgs
protected

Definition at line 516 of file qgsexpression.h.

int QgsExpression::NodeFunction::mFnIndex
protected

Definition at line 515 of file qgsexpression.h.


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