Qt 4.8
|
Base class for classes implementing functions changing the timezone on values. More...
#include <qtimezonefns_p.h>
Protected Functions | |
virtual Item | createValue (const QDateTime &dt) const =0 |
Protected Functions inherited from QPatternist::UnlimitedContainer | |
template<CardinalityComputation suppliedCard> | |
SequenceType::Ptr | operandsUnionType () const |
Protected Functions inherited from QPatternist::Expression | |
void | typeCheckOperands (const StaticContext::Ptr &context) |
Protected Functions inherited from QPatternist::CppCastingHelper< Expression > | |
CppCastingHelper () | |
Base class for classes implementing functions changing the timezone on values.
It would be possible to implement this with the Curiously Recurring Template Pattern, in order to avoid the virtual call dispatching that is done via createValue(). However, these are not very hot code paths and evaluateSingleton() is quite large, which would lead to heavy code expansion.
Definition at line 86 of file qtimezonefns_p.h.
|
protectedpure virtual |
Implemented in QPatternist::AdjustTimeToTimezoneFN, QPatternist::AdjustDateToTimezoneFN, and QPatternist::AdjustDateTimeToTimezoneFN.
Referenced by evaluateSingleton().
|
virtual |
The maximum zone offset, PT14H
, in milli seconds.
Reimplemented from QPatternist::Expression.
Definition at line 56 of file qtimezonefns.cpp.