59 bool conversionOk =
false;
160 "It makes no sense to call this function, see Numeric::toUnsignedInteger().");
static QString number(int, int base=10)
This is an overloaded member function, provided for convenience. It differs from the above function o...
virtual Numeric::Ptr ceiling() const
QExplicitlySharedDataPointer< AtomicValue > Ptr
qlonglong toLongLong(bool *ok=0, int base=10) const
Returns the string converted to a long long using base base, which is 10 by default and must be betwe...
#define QT_END_NAMESPACE
This macro expands to.
virtual bool isInf() const
virtual xsFloat toFloat() const
Due to strong interdependencies, this file contains the definitions for the classes Item...
static AtomicValue::Ptr createError(const QString &description=QString(), const ReportContext::ErrorCode=ReportContext::FORG0001)
The QExplicitlySharedDataPointer class represents a pointer to an explicitly shared object...
Integer(const xsInteger num)
Item toItem(const QExplicitlySharedDataPointer< T > atomicValue)
The QString class provides a Unicode character string.
Q_DECL_CONSTEXPR T qAbs(const T &t)
static Item fromValue(const xsInteger num)
virtual xsDecimal toDecimal() const
virtual bool isSigned() const
Returns always true.
virtual Numeric::Ptr round() const
#define QT_BEGIN_NAMESPACE
This macro expands to.
The namespace for the internal API of QtXmlPatterns.
virtual xsInteger toInteger() const
virtual qulonglong toUnsignedInteger() const
virtual Numeric::Ptr roundHalfToEven(const xsInteger scale) const
virtual Item toNegated() const
#define Q_ASSERT_X(cond, where, what)
virtual ItemType::Ptr type() const
Represents an item in the XPath 2.0 Data Model.
bool evaluateEBV(const QExplicitlySharedDataPointer< DynamicContext > &) const
static const AtomicType::Ptr xsInteger
virtual QString stringValue() const
virtual bool isNaN() const
static AtomicValue::Ptr fromLexical(const QString &strNumeric)
virtual xsDouble toDouble() const
virtual Numeric::Ptr abs() const
virtual Numeric::Ptr floor() const
QExplicitlySharedDataPointer< Numeric > Ptr