1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-09 13:22:24 +03:00

0025182: Standard_OVERRIDE - add alias for C++11 "override" specifier

This commit is contained in:
kgv
2014-08-28 14:05:21 +04:00
committed by bugmaster
parent 0bd2a43ff5
commit a315743983
3 changed files with 51 additions and 6 deletions

View File

@@ -92,19 +92,19 @@ public: //! @name sub-shape aspects
public: //! @name global aspects
//! Setup color of entire shape.
Standard_EXPORT virtual void SetColor (const Quantity_Color& theColor);
Standard_EXPORT virtual void SetColor (const Quantity_Color& theColor) Standard_OVERRIDE;
//! Setup line width of entire shape.
Standard_EXPORT virtual void SetWidth (const Standard_Real theLineWidth);
Standard_EXPORT virtual void SetWidth (const Standard_Real theLineWidth) Standard_OVERRIDE;
//! Sets transparency value.
Standard_EXPORT virtual void SetTransparency (const Standard_Real theValue);
Standard_EXPORT virtual void SetTransparency (const Standard_Real theValue) Standard_OVERRIDE;
protected: //! @name override presentation computation
Standard_EXPORT virtual void Compute (const Handle(PrsMgr_PresentationManager3d)& thePrsMgr,
const Handle(Prs3d_Presentation)& thePrs,
const Standard_Integer theMode);
const Standard_Integer theMode) Standard_OVERRIDE;
protected: