From a33320e6b2399c037f31e666fcebc14bfa572de2 Mon Sep 17 00:00:00 2001 From: apl Date: Fri, 3 Aug 2012 16:23:06 +0000 Subject: [PATCH] DDS_DicItem virtual modifiers added --- src/DDS/DDS_DicItem.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/DDS/DDS_DicItem.h b/src/DDS/DDS_DicItem.h index 97fc512ca..633203bec 100644 --- a/src/DDS/DDS_DicItem.h +++ b/src/DDS/DDS_DicItem.h @@ -94,7 +94,7 @@ public: Standard_EXPORT TCollection_ExtendedString GetShortDescription() const; Standard_EXPORT TCollection_AsciiString GetComponent() const; - Standard_EXPORT TCollection_AsciiString GetUnits() const; + Standard_EXPORT virtual TCollection_AsciiString GetUnits() const; Standard_EXPORT virtual TCollection_AsciiString GetUnits( const UnitSystem& ) const; Standard_EXPORT TCollection_ExtendedString GetDefaultValue() const; @@ -106,10 +106,10 @@ public: Standard_EXPORT Standard_Real GetMaxValue() const; Standard_EXPORT Standard_Real GetMaxValue( const UnitSystem& ) const; - Standard_EXPORT Standard_Integer GetPrecision() const; + Standard_EXPORT virtual Standard_Integer GetPrecision() const; Standard_EXPORT virtual Standard_Integer GetPrecision( const UnitSystem& ) const; - Standard_EXPORT TCollection_AsciiString GetFormat( const Standard_Boolean = Standard_True ) const; + Standard_EXPORT virtual TCollection_AsciiString GetFormat( const Standard_Boolean = Standard_True ) const; Standard_EXPORT virtual TCollection_AsciiString GetFormat( const UnitSystem&, const Standard_Boolean = Standard_True ) const; Standard_EXPORT TCollection_ExtendedString GetNameOfValues() const; @@ -124,8 +124,8 @@ public: Standard_EXPORT Standard_Real GetMaxZoom() const; Standard_EXPORT Standard_Real GetZoomOrder() const; - Standard_EXPORT Standard_Real ToSI( const Standard_Real ) const; - Standard_EXPORT Standard_Real FromSI( const Standard_Real ) const; + Standard_EXPORT virtual Standard_Real ToSI( const Standard_Real ) const; + Standard_EXPORT virtual Standard_Real FromSI( const Standard_Real ) const; Standard_EXPORT virtual Standard_Real ToSI( const Standard_Real, const UnitSystem& ) const; Standard_EXPORT virtual Standard_Real FromSI( const Standard_Real, const UnitSystem& ) const; -- 2.39.2