kexi
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 |
Member Function Documentation
QString FunctionExpr::toString | ( | QuerySchemaParameterValueListIterator * | params = 0 |
) | [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 801 of file expression.cpp.
void FunctionExpr::getQueryParameters | ( | QuerySchemaParameterList & | params | ) | [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 806 of file expression.cpp.
The documentation for this class was generated from the following files: