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

Detailed Description
- aggregation functions like SUM, COUNT, MAX, .
..
- builtin functions like CURRENT_TIME()
- user defined functions
Definition at line 262 of file expression.h.
Public Member Functions | |
| FunctionExpr (const QString &_name, NArgExpr *args_=0) | |
| virtual | ~FunctionExpr () |
| virtual Field::Type | type () |
| virtual QString | debugString () |
| virtual QString | toString (QuerySchemaParameterValueListIterator *params=0) |
| virtual void | getQueryParameters (QuerySchemaParameterList ¶ms) |
| virtual bool | validate (ParseInfo &parseInfo) |
Static Public Member Functions | |
| static QValueList< QCString > | builtInAggregates () |
| static bool | isBuiltInAggregate (const QCString &fname) |
Public Attributes | |
| QString | name |
| NArgExpr * | args |
Constructor & Destructor Documentation
|
||||||||||||
|
Definition at line 773 of file expression.cpp. References args, isBuiltInAggregate(), KexiDBExpr_Aggregation, KexiDBExpr_Function, KexiDB::BaseExpr::m_cl, name, and KexiDB::BaseExpr::setParent(). |
|
|
Definition at line 786 of file expression.cpp. References args. |
Member Function Documentation
|
|
Definition at line 764 of file expression.cpp. References FunctionExpr_builtIns_. Referenced by isBuiltInAggregate(). |
|
|
Reimplemented from KexiDB::BaseExpr. Definition at line 791 of file expression.cpp. References args, KexiDB::Driver::defaultSQLTypeName(), name, 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 806 of file expression.cpp. References args, and KexiDB::NArgExpr::getQueryParameters(). |
|
|
Definition at line 825 of file expression.cpp. References builtInAggregates(). Referenced by FunctionExpr(). |
|
|
Implements KexiDB::BaseExpr. Definition at line 801 of file expression.cpp. References args, name, and KexiDB::NArgExpr::toString(). |
|
|
Reimplemented from KexiDB::BaseExpr. Definition at line 811 of file expression.cpp. References KexiDB::Field::InvalidType. Referenced by debugString(). |
|
|
Reimplemented from KexiDB::BaseExpr. Definition at line 817 of file expression.cpp. References args, KexiDB::NArgExpr::validate(), and KexiDB::BaseExpr::validate(). |
Member Data Documentation
|
|
Definition at line 277 of file expression.h. Referenced by debugString(), FunctionExpr(), getQueryParameters(), toString(), validate(), and ~FunctionExpr(). |
|
|
Definition at line 276 of file expression.h. Referenced by debugString(), FunctionExpr(), and toString(). |
The documentation for this class was generated from the following files:
