diff options
Diffstat (limited to 'src/xmlpatterns/data/qdecimal_p.h')
-rw-r--r-- | src/xmlpatterns/data/qdecimal_p.h | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/src/xmlpatterns/data/qdecimal_p.h b/src/xmlpatterns/data/qdecimal_p.h index 68fa573..4cd7c28 100644 --- a/src/xmlpatterns/data/qdecimal_p.h +++ b/src/xmlpatterns/data/qdecimal_p.h @@ -87,40 +87,40 @@ namespace QPatternist * * @returns @c false if the number is 0 or @c NaN, otherwise @c true. */ - bool evaluateEBV(const QExplicitlySharedDataPointer<DynamicContext> &) const; + bool evaluateEBV(const QExplicitlySharedDataPointer<DynamicContext> &) const override; - virtual QString stringValue() const; + QString stringValue() const override; /** * @returns always BuiltinTypes::xsDecimal */ - virtual ItemType::Ptr type() const; + ItemType::Ptr type() const override; - virtual xsDouble toDouble() const; - virtual xsInteger toInteger() const; - virtual xsFloat toFloat() const; - virtual xsDecimal toDecimal() const; - virtual qulonglong toUnsignedInteger() const; + xsDouble toDouble() const override; + xsInteger toInteger() const override; + xsFloat toFloat() const override; + xsDecimal toDecimal() const override; + qulonglong toUnsignedInteger() const override; - virtual Numeric::Ptr round() const; - virtual Numeric::Ptr roundHalfToEven(const xsInteger scale) const; - virtual Numeric::Ptr floor() const; - virtual Numeric::Ptr ceiling() const; - virtual Numeric::Ptr abs() const; + Numeric::Ptr round() const override; + Numeric::Ptr roundHalfToEven(const xsInteger scale) const override; + Numeric::Ptr floor() const override; + Numeric::Ptr ceiling() const override; + Numeric::Ptr abs() const override; /** * @returns always @c false, xs:decimal doesn't have * not-a-number in its value space. */ - virtual bool isNaN() const; + bool isNaN() const override; /** * @returns always @c false, xs:decimal doesn't have * infinity in its value space. */ - virtual bool isInf() const; + bool isInf() const override; - virtual Item toNegated() const; + Item toNegated() const override; /** * Converts @p value into a canonical string representation for @c xs:decimal. This @@ -129,7 +129,7 @@ namespace QPatternist */ static QString toString(const xsDecimal value); - virtual bool isSigned() const; + bool isSigned() const override; protected: |