![]() |
Qt 4.8
|
Implements the value instance of the xs:hexBinary type.
More...
#include <qhexbinary_p.h>
Public Types | |
| typedef AtomicValue::Ptr | Ptr |
Public Types inherited from QPatternist::Base64Binary | |
| typedef AtomicValue::Ptr | Ptr |
Public Types inherited from QPatternist::AtomicValue | |
| typedef QList< AtomicValue::Ptr > | List |
| typedef QExplicitlySharedDataPointer< AtomicValue > | Ptr |
Public Functions | |
| virtual QString | stringValue () const |
| virtual ItemType::Ptr | type () const |
Public Functions inherited from QPatternist::Base64Binary | |
| const QByteArray & | asByteArray () const |
Public Functions inherited from QPatternist::AtomicValue | |
| virtual bool | evaluateEBV (const QExplicitlySharedDataPointer< DynamicContext > &context) const |
| 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 AtomicValue::Ptr | fromLexical (const NamePool::Ptr &np, const QString &value) |
| static HexBinary::Ptr | fromValue (const QByteArray &data) |
Static Public Functions inherited from QPatternist::Base64Binary | |
| static AtomicValue::Ptr | fromLexical (const QString &value) |
| static Base64Binary::Ptr | fromValue (const QByteArray &data) |
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 | |
| HexBinary (const QByteArray &val) | |
Protected Functions inherited from QPatternist::Base64Binary | |
| Base64Binary (const QByteArray &val) | |
Protected Functions inherited from QPatternist::AtomicValue | |
| AtomicValue () | |
Protected Functions inherited from QPatternist::CppCastingHelper< AtomicValue > | |
| CppCastingHelper () | |
Static Private Functions | |
| static qint8 | fromHex (const QChar &c) |
| Returns -1 on invalid input. More... | |
Friends | |
| class | CommonValues |
Additional Inherited Members | |
Public Variables inherited from QSharedData | |
| QAtomicInt | ref |
Protected Variables inherited from QPatternist::Base64Binary | |
| const QByteArray | m_value |
Implements the value instance of the xs:hexBinary type.
HexBinary inherits from Base64Binary for implementation reasons. The two classes are similar, and inheritance therefore save code.
Definition at line 74 of file qhexbinary_p.h.
Definition at line 79 of file qhexbinary_p.h.
|
protected |
Definition at line 55 of file qhexbinary.cpp.
Referenced by fromLexical(), and fromValue().
Returns -1 on invalid input.
Definition at line 59 of file qhexbinary.cpp.
Referenced by fromLexical().
|
static |
Creates a xs:hexBinary from the lexical representation value.
Definition at line 80 of file qhexbinary.cpp.
Referenced by QPatternist::StringToHexBinaryCaster::castFrom().
|
static |
Creates an instance representing value.
Definition at line 123 of file qhexbinary.cpp.
Referenced by QPatternist::Base64BinaryToHexBinaryCaster::castFrom(), and QPatternist::AtomicValue::toXDM().
|
virtual |
Reimplemented from QPatternist::Base64Binary.
Definition at line 128 of file qhexbinary.cpp.
|
virtual |
Reimplemented from QPatternist::Base64Binary.
Definition at line 146 of file qhexbinary.cpp.
|
friend |
Definition at line 77 of file qhexbinary_p.h.