From: apl Date: Fri, 3 Aug 2012 16:23:06 +0000 (+0000) Subject: DDS_DicItem virtual modifiers added X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=a33320e6b2399c037f31e666fcebc14bfa572de2;p=modules%2Fgui.git DDS_DicItem virtual modifiers added --- 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;