#include <expression.h>
Public Member Functions | |
| UnaryExpr (int token, BaseExpr *arg) | |
| UnaryExpr (const UnaryExpr &expr) | |
| virtual UnaryExpr * | copy () const |
| virtual Field::Type | type () |
| virtual TQString | debugString () |
| virtual TQString | toString (QuerySchemaParameterValueListIterator *params=0) |
| virtual void | getQueryParameters (QuerySchemaParameterList ¶ms) |
| BaseExpr * | arg () const |
| virtual bool | validate (ParseInfo &parseInfo) |
Public Member Functions inherited from KexiDB::BaseExpr | |
| BaseExpr (int token) | |
| int | token () const |
| BaseExpr * | parent () const |
| virtual void | setParent (BaseExpr *p) |
| void | debug () |
| TQString | tokenToDebugString () |
| virtual TQString | tokenToString () |
| int | exprClass () const |
| NArgExpr * | toNArg () |
| UnaryExpr * | toUnary () |
| BinaryExpr * | toBinary () |
| ConstExpr * | toConst () |
| VariableExpr * | toVariable () |
| FunctionExpr * | toFunction () |
| QueryParameterExpr * | toQueryParameter () |
Public Attributes | |
| BaseExpr * | m_arg |
Additional Inherited Members | |
Public Types inherited from KexiDB::BaseExpr | |
| typedef TQPtrList< BaseExpr > | List |
| typedef TQPtrListIterator< BaseExpr > | ListIterator |
Static Public Member Functions inherited from KexiDB::BaseExpr | |
| static TQString | tokenToDebugString (int token) |
Protected Attributes inherited from KexiDB::BaseExpr | |
| int | m_cl |
| BaseExpr * | m_par |
| int | m_token |
Detailed Description
An unary argument operation: + - NOT (or !) ~ "IS NULL" "IS NOT NULL".
Definition at line 149 of file expression.h.
Constructor & Destructor Documentation
◆ UnaryExpr() [1/2]
| UnaryExpr::UnaryExpr | ( | int | token, |
| BaseExpr * | arg | ||
| ) |
Definition at line 212 of file expression.cpp.
◆ UnaryExpr() [2/2]
| UnaryExpr::UnaryExpr | ( | const UnaryExpr & | expr | ) |
Definition at line 221 of file expression.cpp.
◆ ~UnaryExpr()
|
virtual |
Definition at line 229 of file expression.cpp.
Member Function Documentation
◆ arg()
|
inline |
Definition at line 161 of file expression.h.
◆ copy()
|
virtual |
- Returns
- a deep copy of this object.
Implements KexiDB::BaseExpr.
Definition at line 234 of file expression.cpp.
◆ debugString()
|
virtual |
Reimplemented from KexiDB::BaseExpr.
Definition at line 239 of file expression.cpp.
◆ getQueryParameters()
|
virtual |
Collects query parameters (messages and types) reculsively and saves them to params. The leaf nodes are objects of QueryParameterExpr class.
Implements KexiDB::BaseExpr.
Definition at line 262 of file expression.cpp.
◆ toString()
|
virtual |
- Returns
- string as a representation of this expression element by running recursive calls. param, if not 0, points to a list item containing value of a query parameter (used in QueryParameterExpr).
Implements KexiDB::BaseExpr.
Definition at line 247 of file expression.cpp.
◆ type()
|
virtual |
Reimplemented from KexiDB::BaseExpr.
Definition at line 268 of file expression.cpp.
◆ validate()
|
virtual |
- Todo:
- compare types... e.g. NOT applied to Text makes no sense...
Reimplemented from KexiDB::BaseExpr.
Definition at line 286 of file expression.cpp.
Member Data Documentation
◆ m_arg
| BaseExpr* KexiDB::UnaryExpr::m_arg |
Definition at line 164 of file expression.h.
The documentation for this class was generated from the following files:

Public Member Functions inherited from