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

Detailed Description
String, integer, float constants also includes NULL value. token can be: IDENTIFIER, SQL_NULL, CHARACTER_STRING_LITERAL, INTEGER_CONST, REAL_CONST
Definition at line 182 of file expression.h.
Public Member Functions | |
| ConstExpr (int token, const QVariant &val) | |
| virtual | ~ConstExpr () |
| virtual Field::Type | type () |
| virtual QString | debugString () |
| virtual QString | toString (QuerySchemaParameterValueListIterator *params=0) |
| virtual void | getQueryParameters (QuerySchemaParameterList ¶ms) |
| virtual bool | validate (ParseInfo &parseInfo) |
Public Attributes | |
| QVariant | value |
Constructor & Destructor Documentation
|
||||||||||||
|
Definition at line 435 of file expression.cpp. References KexiDBExpr_Const, and KexiDB::BaseExpr::m_cl. |
|
|
Definition at line 442 of file expression.cpp. |
Member Function Documentation
|
|
Reimplemented from KexiDB::BaseExpr. Reimplemented in KexiDB::QueryParameterExpr. Definition at line 482 of file expression.cpp. References KexiDB::Driver::defaultSQLTypeName(), KexiDB::BaseExpr::tokenToDebugString(), toString(), 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. Reimplemented in KexiDB::QueryParameterExpr. Definition at line 509 of file expression.cpp. |
|
|
Implements KexiDB::BaseExpr. Reimplemented in KexiDB::QueryParameterExpr. Definition at line 488 of file expression.cpp. References CHARACTER_STRING_LITERAL, DATE_CONST, DATETIME_CONST, KexiDB::BaseExpr::m_token, REAL_CONST, SQL_NULL, TIME_CONST, and value. Referenced by debugString(). |
|
|
Reimplemented from KexiDB::BaseExpr. Reimplemented in KexiDB::QueryParameterExpr. Definition at line 446 of file expression.cpp. References KexiDB::Field::BigInteger, KexiDB::Field::Byte, CHARACTER_STRING_LITERAL, KexiDB::Field::Date, DATE_CONST, KexiDB::Field::DateTime, DATETIME_CONST, KexiDB::Field::defaultTextLength(), KexiDB::Field::Double, KexiDB::Field::Integer, INTEGER_CONST, KexiDB::Field::InvalidType, KexiDB::Field::LongText, KexiDB::BaseExpr::m_token, KexiDB::Field::Null, REAL_CONST, KexiDB::Field::ShortInteger, SQL_NULL, KexiDB::Field::Text, KexiDB::Field::Time, TIME_CONST, and value. Referenced by debugString(), and validate(). |
|
|
Reimplemented from KexiDB::BaseExpr. Reimplemented in KexiDB::QueryParameterExpr. Definition at line 514 of file expression.cpp. References KexiDB::Field::InvalidType, type(), and KexiDB::BaseExpr::validate(). |
Member Data Documentation
|
|
Definition at line 192 of file expression.h. Referenced by KexiDB::QueryParameterExpr::debugString(), KexiDB::QueryParameterExpr::getQueryParameters(), KexiDB::QueryParameterExpr::toString(), toString(), and type(). |
The documentation for this class was generated from the following files:
