QGIS API Documentation  2.9.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::NodeLiteral Class Reference

#include <qgsexpression.h>

Inheritance diagram for QgsExpression::NodeLiteral:
Inheritance graph
[legend]

Public Member Functions

 NodeLiteral (const QVariant &value)
virtual void accept (Visitor &v) const override
virtual QString dump () const override
virtual QVariant eval (QgsExpression *parent, const QgsFeature *f) override
virtual bool needsGeometry () const override
virtual NodeType nodeType () const override
virtual bool prepare (QgsExpression *parent, const QgsFields &fields) override
virtual QStringList referencedColumns () const override
QVariant value () const
- Public Member Functions inherited from QgsExpression::Node
virtual ~Node ()

Protected Attributes

QVariant mValue

Detailed Description

Definition at line 573 of file qgsexpression.h.

Constructor & Destructor Documentation

QgsExpression::NodeLiteral::NodeLiteral ( const QVariant &  value)
inline

Definition at line 576 of file qgsexpression.h.

Member Function Documentation

virtual void QgsExpression::NodeLiteral::accept ( Visitor v) const
inlineoverridevirtual

Implements QgsExpression::Node.

Definition at line 587 of file qgsexpression.h.

QString QgsExpression::NodeLiteral::dump ( ) const
overridevirtual

Implements QgsExpression::Node.

Definition at line 2706 of file qgsexpression.cpp.

QVariant QgsExpression::NodeLiteral::eval ( QgsExpression parent,
const QgsFeature f 
)
overridevirtual

Implements QgsExpression::Node.

Definition at line 2695 of file qgsexpression.cpp.

virtual bool QgsExpression::NodeLiteral::needsGeometry ( ) const
inlineoverridevirtual

Implements QgsExpression::Node.

Definition at line 586 of file qgsexpression.h.

virtual NodeType QgsExpression::NodeLiteral::nodeType ( ) const
inlineoverridevirtual

Implements QgsExpression::Node.

Definition at line 580 of file qgsexpression.h.

bool QgsExpression::NodeLiteral::prepare ( QgsExpression parent,
const QgsFields fields 
)
overridevirtual

Implements QgsExpression::Node.

Definition at line 2700 of file qgsexpression.cpp.

virtual QStringList QgsExpression::NodeLiteral::referencedColumns ( ) const
inlineoverridevirtual

Implements QgsExpression::Node.

Definition at line 585 of file qgsexpression.h.

QVariant QgsExpression::NodeLiteral::value ( ) const
inline

Definition at line 578 of file qgsexpression.h.

Member Data Documentation

QVariant QgsExpression::NodeLiteral::mValue
protected

Definition at line 590 of file qgsexpression.h.


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