summaryrefslogtreecommitdiff
path: root/src/xmlpatterns/data/qabstractfloat_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/xmlpatterns/data/qabstractfloat_p.h')
-rw-r--r--src/xmlpatterns/data/qabstractfloat_p.h34
1 files changed, 17 insertions, 17 deletions
diff --git a/src/xmlpatterns/data/qabstractfloat_p.h b/src/xmlpatterns/data/qabstractfloat_p.h
index 593e400..80ff60c 100644
--- a/src/xmlpatterns/data/qabstractfloat_p.h
+++ b/src/xmlpatterns/data/qabstractfloat_p.h
@@ -92,7 +92,7 @@ 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;
/**
* Returns this AbstractFloat represented as an @c xs:string.
@@ -105,27 +105,27 @@ namespace QPatternist
* @see <a href="http://www.w3.org/TR/xpath-functions/#casting-to-string">XQuery 1.0
* and XPath 2.0 Functions and Operators, 17.1.2 Casting to xs:string and xdt:untypedAtomic</a>
*/
- virtual QString stringValue() const;
+ QString stringValue() const override;
- virtual xsDouble toDouble() const;
- virtual xsInteger toInteger() const;
- virtual xsFloat toFloat() const;
- virtual xsDecimal toDecimal() const;
+ xsDouble toDouble() const override;
+ xsInteger toInteger() const override;
+ xsFloat toFloat() const override;
+ xsDecimal toDecimal() 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;
- virtual bool isNaN() const;
- virtual bool isInf() const;
+ bool isNaN() const override;
+ bool isInf() const override;
- virtual ItemType::Ptr type() const;
- virtual Item toNegated() const;
- virtual qulonglong toUnsignedInteger() const;
+ ItemType::Ptr type() const override;
+ Item toNegated() const override;
+ qulonglong toUnsignedInteger() const override;
- virtual bool isSigned() const;
+ bool isSigned() const override;
protected:
AbstractFloat(const xsDouble num);