QGIS API Documentation  2.5.0-Master
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator 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 (QVariant value)
 
QVariant value () 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

QVariant mValue
 

Constructor & Destructor Documentation

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

Member Function Documentation

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

Implements QgsExpression::Node.

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

Implements QgsExpression::Node.

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

Implements QgsExpression::Node.

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

Implements QgsExpression::Node.

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

Implements QgsExpression::Node.

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

Implements QgsExpression::Node.

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

Implements QgsExpression::Node.

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

Member Data Documentation

QVariant QgsExpression::NodeLiteral::mValue
protected

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