KDbUnaryExpression
#include <KDbExpression.h>
Additional Inherited Members | |
Static Public Member Functions inherited from KDbExpression | |
static KDb::ExpressionClass | classForToken (KDbToken token) |
Protected Attributes inherited from KDbExpression | |
ExplicitlySharedExpressionDataPointer | d |
Detailed Description
The KDbUnaryExpression class represents unary expression (with a single argument).
operation: + - NOT (or !) ~ "IS NULL" "IS NOT NULL"
Definition at line 300 of file KDbExpression.h.
Constructor & Destructor Documentation
◆ KDbUnaryExpression() [1/5]
KDbUnaryExpression::KDbUnaryExpression | ( | ) |
Constructs a null unary expression.
- See also
- KDbExpression::isNull()
Definition at line 186 of file KDbUnaryExpression.cpp.
◆ KDbUnaryExpression() [2/5]
KDbUnaryExpression::KDbUnaryExpression | ( | KDbToken | token, |
const KDbExpression & | arg ) |
Constructs unary expression with token token and argument arg.
Definition at line 192 of file KDbUnaryExpression.cpp.
◆ KDbUnaryExpression() [3/5]
KDbUnaryExpression::KDbUnaryExpression | ( | const KDbUnaryExpression & | expr | ) |
Constructs a copy of other unary expression expr. Resulting object is not a deep copy but rather a reference to the object expr.
Definition at line 204 of file KDbUnaryExpression.cpp.
◆ ~KDbUnaryExpression()
|
override |
Definition at line 214 of file KDbUnaryExpression.cpp.
◆ KDbUnaryExpression() [4/5]
|
explicitprotected |
Definition at line 198 of file KDbUnaryExpression.cpp.
◆ KDbUnaryExpression() [5/5]
|
explicitprotected |
Definition at line 209 of file KDbUnaryExpression.cpp.
Member Function Documentation
◆ arg()
KDbExpression KDbUnaryExpression::arg | ( | ) | const |
- Returns
- expression that is argument for this unary expression
Definition at line 218 of file KDbUnaryExpression.cpp.
◆ setArg()
void KDbUnaryExpression::setArg | ( | const KDbExpression & | arg | ) |
Sets expression argument expr for this unary expression.
Definition at line 223 of file KDbUnaryExpression.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:38:32 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.