Qt 4.8
|
Implements the value instance of the xs:untypedAtomic
type.
More...
#include <quntypedatomic_p.h>
Public Functions | |
virtual ItemType::Ptr | type () const |
Public Functions inherited from QPatternist::AtomicString | |
virtual bool | evaluateEBV (const QExplicitlySharedDataPointer< DynamicContext > &) const |
virtual QString | stringValue () const |
Public Functions inherited from QPatternist::AtomicValue | |
virtual bool | hasError () const |
virtual | ~AtomicValue () |
Public Functions inherited from QSharedData | |
QSharedData () | |
Constructs a QSharedData object with a reference count of 0. More... | |
QSharedData (const QSharedData &) | |
Constructs a QSharedData object with reference count 0. More... | |
Public Functions inherited from QPatternist::CppCastingHelper< AtomicValue > | |
const TCastTarget * | as () const |
TCastTarget * | as () |
Static Public Functions | |
static UntypedAtomic::Ptr | fromValue (const QString &value) |
Static Public Functions inherited from QPatternist::AtomicString | |
static AtomicString::Ptr | fromValue (const QString &value) |
static AtomicString::Ptr | fromValue (const QUrl &value) |
Static Public Functions inherited from QPatternist::AtomicValue | |
static ItemType::Ptr | qtToXDMType (const QXmlItem &item) |
static QVariant | toQt (const AtomicValue *const value) |
static QVariant | toQt (const AtomicValue::Ptr &value) |
static Item | toXDM (const QVariant &value) |
Protected Functions | |
UntypedAtomic (const QString &value) | |
Protected Functions inherited from QPatternist::AtomicString | |
AtomicString (const QString &value) | |
Protected Functions inherited from QPatternist::AtomicValue | |
AtomicValue () | |
Protected Functions inherited from QPatternist::CppCastingHelper< AtomicValue > | |
CppCastingHelper () | |
Friends | |
class | CommonValues |
Additional Inherited Members | |
Public Types inherited from QPatternist::AtomicString | |
typedef AtomicValue::Ptr | Ptr |
Public Types inherited from QPatternist::AtomicValue | |
typedef QList< AtomicValue::Ptr > | List |
typedef QExplicitlySharedDataPointer< AtomicValue > | Ptr |
Public Variables inherited from QSharedData | |
QAtomicInt | ref |
Protected Variables inherited from QPatternist::AtomicString | |
const QString | m_value |
Implements the value instance of the xs:untypedAtomic
type.
Definition at line 70 of file quntypedatomic_p.h.
|
protected |
Definition at line 50 of file quntypedatomic.cpp.
Referenced by fromValue().
|
static |
Creates an instance representing value
.
This fromValue function takes no context argument because it doesn't need it – it casting to xs:untypedAtomic always succeeds.
Definition at line 54 of file quntypedatomic.cpp.
Referenced by QPatternist::ToUntypedAtomicCaster::castFrom(), and QPatternist::AccelTree::sequencedTypedValue().
|
virtual |
Reimplemented from QPatternist::AtomicString.
Definition at line 59 of file quntypedatomic.cpp.
|
friend |
Definition at line 73 of file quntypedatomic_p.h.