![]() |
Qt 4.8
|
Casts any atomic value to xs:string
.
More...
#include <qatomiccasters_p.h>
Public Functions | |
virtual Item | castFrom (const Item &from, const QExplicitlySharedDataPointer< DynamicContext > &context) const |
![]() | |
AtomicCaster () | |
virtual | ~AtomicCaster () |
![]() | |
AtomicTypeVisitorResult () | |
virtual | ~AtomicTypeVisitorResult () |
![]() | |
QSharedData () | |
Constructs a QSharedData object with a reference count of 0. More... | |
QSharedData (const QSharedData &) | |
Constructs a QSharedData object with reference count 0. More... | |
Additional Inherited Members | |
![]() | |
typedef QExplicitlySharedDataPointer< AtomicCaster > | Ptr |
![]() | |
typedef QExplicitlySharedDataPointer< AtomicTypeVisitorResult > | Ptr |
![]() | |
QAtomicInt | ref |
Casts any atomic value to xs:string
.
This class uses Item::stringValue() for retrieving a string representation, and thus supports casting from atomic values of any type.
Definition at line 86 of file qatomiccasters_p.h.
|
inlinevirtual |
Casts from
to an atomic value of the type this class casts to, and returns that value. The context
is used for reporting errors in case the casting fails, and to in general access information from the dynamic context.
Implements QPatternist::AtomicCaster.
Definition at line 89 of file qatomiccasters_p.h.