QGIS API Documentation  2.11.0-Master
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules 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 609 of file qgsexpression.h.

Constructor & Destructor Documentation

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

Definition at line 612 of file qgsexpression.h.

Member Function Documentation

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

Implements QgsExpression::Node.

Definition at line 623 of file qgsexpression.h.

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

Implements QgsExpression::Node.

Definition at line 2796 of file qgsexpression.cpp.

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

Implements QgsExpression::Node.

Definition at line 2785 of file qgsexpression.cpp.

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

Implements QgsExpression::Node.

Definition at line 622 of file qgsexpression.h.

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

Implements QgsExpression::Node.

Definition at line 616 of file qgsexpression.h.

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

Implements QgsExpression::Node.

Definition at line 2790 of file qgsexpression.cpp.

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

Implements QgsExpression::Node.

Definition at line 621 of file qgsexpression.h.

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

Definition at line 614 of file qgsexpression.h.

Member Data Documentation

QVariant QgsExpression::NodeLiteral::mValue
protected

Definition at line 626 of file qgsexpression.h.


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