KexiDB::UnaryExpr Class Reference
#include <expression.h>
Inheritance diagram for KexiDB::UnaryExpr:

Detailed Description
An unary argument operation: + - NOT (or !) ~ "IS NULL" "IS NOT NULL".
Definition at line 138 of file expression.h.
Public Member Functions | |
| UnaryExpr (int token, BaseExpr *arg) | |
| virtual | ~UnaryExpr () |
| virtual Field::Type | type () |
| virtual QString | debugString () |
| virtual QString | toString (QuerySchemaParameterValueListIterator *params=0) |
| virtual void | getQueryParameters (QuerySchemaParameterList ¶ms) |
| BaseExpr * | arg () const |
| virtual bool | validate (ParseInfo &parseInfo) |
Public Attributes | |
| BaseExpr * | m_arg |
Constructor & Destructor Documentation
|
||||||||||||
|
Definition at line 201 of file expression.cpp. References KexiDBExpr_Unary, m_arg, KexiDB::BaseExpr::m_cl, and KexiDB::BaseExpr::setParent(). |
|
|
Definition at line 210 of file expression.cpp. References m_arg. |
Member Function Documentation
|
|
Definition at line 147 of file expression.h. |
|
|
Reimplemented from KexiDB::BaseExpr. Definition at line 215 of file expression.cpp. References KexiDB::BaseExpr::debugString(), KexiDB::Driver::defaultSQLTypeName(), m_arg, KexiDB::BaseExpr::tokenToDebugString(), and type(). |
|
|
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 238 of file expression.cpp. References KexiDB::BaseExpr::getQueryParameters(), and m_arg. |
|
|
Implements KexiDB::BaseExpr. Definition at line 223 of file expression.cpp. References m_arg, KexiDB::BaseExpr::m_token, NOT, SQL_IS_NOT_NULL, SQL_IS_NULL, KexiDB::BaseExpr::tokenToDebugString(), and KexiDB::BaseExpr::toString(). |
|
|
Reimplemented from KexiDB::BaseExpr. Definition at line 244 of file expression.cpp. References KexiDB::Field::Boolean, m_arg, KexiDB::BaseExpr::m_token, NOT, KexiDB::Field::Null, SQL_IS_NOT_NULL, SQL_IS_NULL, and KexiDB::BaseExpr::type(). Referenced by debugString(), and validate(). |
|
|
Reimplemented from KexiDB::BaseExpr. Definition at line 262 of file expression.cpp. References m_arg, NOT, KexiDB::BaseExpr::toQueryParameter(), type(), and KexiDB::BaseExpr::validate(). |
Member Data Documentation
|
|
Definition at line 150 of file expression.h. Referenced by debugString(), getQueryParameters(), toString(), type(), UnaryExpr(), validate(), and ~UnaryExpr(). |
The documentation for this class was generated from the following files:
