QGIS API Documentation  2.8.2-Wien
 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 (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 558 of file qgsexpression.h.

Constructor & Destructor Documentation

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

Definition at line 561 of file qgsexpression.h.

Member Function Documentation

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

Implements QgsExpression::Node.

Definition at line 572 of file qgsexpression.h.

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

Implements QgsExpression::Node.

Definition at line 2690 of file qgsexpression.cpp.

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

Implements QgsExpression::Node.

Definition at line 2679 of file qgsexpression.cpp.

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

Implements QgsExpression::Node.

Definition at line 571 of file qgsexpression.h.

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

Implements QgsExpression::Node.

Definition at line 565 of file qgsexpression.h.

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

Implements QgsExpression::Node.

Definition at line 2684 of file qgsexpression.cpp.

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

Implements QgsExpression::Node.

Definition at line 570 of file qgsexpression.h.

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

Definition at line 563 of file qgsexpression.h.

Member Data Documentation

QVariant QgsExpression::NodeLiteral::mValue
protected

Definition at line 575 of file qgsexpression.h.


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