![]() |
Qt 4.8
|
Implements the function fn:number()
.
More...
#include <qnodefns_p.h>
Implements the function fn:number()
.
NumberFN uses CastingPlatform for performing the actual casting.
Definition at line 117 of file qnodefns_p.h.
|
virtual |
Reimplemented from QPatternist::Expression.
Definition at line 108 of file qnodefns.cpp.
|
inline |
Definition at line 134 of file qnodefns_p.h.
|
virtual |
Overridden in order to call CastingPlatform::prepareCasting(). It also implements the optimization of rewriting to its operand if its type is xs:double(since the fn:number()
call is in that case superflorous).
Reimplemented from QPatternist::FunctionCall.
Definition at line 124 of file qnodefns.cpp.