QGIS API Documentation  2.3.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 482 of file qgsexpression.h.

Constructor & Destructor Documentation

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

Definition at line 485 of file qgsexpression.h.

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

Definition at line 487 of file qgsexpression.h.

Member Function Documentation

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

Implements QgsExpression::Node.

Definition at line 499 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
virtual NodeType QgsExpression::NodeFunction::nodeType ( ) const
inlinevirtual

Implements QgsExpression::Node.

Definition at line 492 of file qgsexpression.h.

References QgsExpression::ntFunction.

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

Implements QgsExpression::Node.

Definition at line 2331 of file qgsexpression.cpp.

References QgsExpression::Node::prepare().

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

Implements QgsExpression::Node.

Definition at line 497 of file qgsexpression.h.

References QgsExpression::Node::referencedColumns().

Member Data Documentation

NodeList* QgsExpression::NodeFunction::mArgs
protected

Definition at line 504 of file qgsexpression.h.

int QgsExpression::NodeFunction::mFnIndex
protected

Definition at line 503 of file qgsexpression.h.


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