Class: QgsVbScriptUnaryOperatorExpression¶
Represents a unary operation expression.
Added in version 4.4.
List of all members, including inherited members
Class Hierarchy¶
Base classes¶
Base class for expression nodes in a VBScript script. |
|
Represents an abstract node for a VBScript script. |
Constructor
Enums
Unary operator enumeration. |
Abstract Methods
Methods
Returns the operand expression. |
|
Returns text representation of the operator. |
|
Returns the unary operator. |
- class qgis.core.QgsVbScriptUnaryOperatorExpression[source]¶
Bases:
QgsVbScriptExpression- __init__(unaryOperator: QgsVbScriptUnaryOperatorExpression.UnaryOperator, operand: QgsVbScriptExpression | None)¶
Constructor for QgsVbScriptUnaryOperatorExpression.
Ownership of
operandis transferred to this expression.- Parameters:
unaryOperator (QgsVbScriptUnaryOperatorExpression.UnaryOperator)
operand (QgsVbScriptExpression|None)
- class UnaryOperator(*values)¶
Bases:
EnumUnary operator enumeration.
Not: Logical NotMinus: Minus operator, -Plus: Plus operator, +
- Minus = 1¶
- Not = 0¶
- Plus = 2¶
- abstract clone(self) QgsVbScriptNode | None[source]¶
- Return type:
QgsVbScriptNode|None
- operand(self) QgsVbScriptExpression | None[source]¶
Returns the operand expression.
- Return type:
- unaryOperator(self) QgsVbScriptUnaryOperatorExpression.UnaryOperator[source]¶
Returns the unary operator.
- Return type: