mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0026912: CLang 3.6.2 compiler warning [-Winconsistent-missing-override]
This commit is contained in:
@@ -41,10 +41,10 @@ public:
|
||||
Standard_EXPORT StepSelect_Activator();
|
||||
|
||||
//! Executes a Command Line for StepSelect
|
||||
Standard_EXPORT IFSelect_ReturnStatus Do (const Standard_Integer number, const Handle(IFSelect_SessionPilot)& pilot);
|
||||
Standard_EXPORT IFSelect_ReturnStatus Do (const Standard_Integer number, const Handle(IFSelect_SessionPilot)& pilot) Standard_OVERRIDE;
|
||||
|
||||
//! Sends a short help message for StepSelect commands
|
||||
Standard_EXPORT Standard_CString Help (const Standard_Integer number) const;
|
||||
Standard_EXPORT Standard_CString Help (const Standard_Integer number) const Standard_OVERRIDE;
|
||||
|
||||
|
||||
|
||||
|
@@ -84,11 +84,11 @@ public:
|
||||
|
||||
//! Sets the Floatting Formats of StepWriter to the recorded
|
||||
//! parameters
|
||||
Standard_EXPORT void Perform (IFSelect_ContextWrite& ctx, StepData_StepWriter& writer) const;
|
||||
Standard_EXPORT void Perform (IFSelect_ContextWrite& ctx, StepData_StepWriter& writer) const Standard_OVERRIDE;
|
||||
|
||||
//! Returns specific Label : for instance,
|
||||
//! "Float Format [ZeroSuppress] %E [, in range R1-R2 %f]"
|
||||
Standard_EXPORT TCollection_AsciiString Label() const;
|
||||
Standard_EXPORT TCollection_AsciiString Label() const Standard_OVERRIDE;
|
||||
|
||||
|
||||
|
||||
|
@@ -43,7 +43,7 @@ public:
|
||||
//! The inherited Perform does the required cast (and refuses to
|
||||
//! go further if cast has failed) then calls the instantiated
|
||||
//! Performing
|
||||
Standard_EXPORT void Perform (IFSelect_ContextModif& ctx, const Handle(Interface_InterfaceModel)& target, const Handle(Interface_Protocol)& protocol, Interface_CopyTool& TC) const;
|
||||
Standard_EXPORT void Perform (IFSelect_ContextModif& ctx, const Handle(Interface_InterfaceModel)& target, const Handle(Interface_Protocol)& protocol, Interface_CopyTool& TC) const Standard_OVERRIDE;
|
||||
|
||||
//! Specific Perform with Protocol. It is defined to let the
|
||||
//! Protocol unused and to call Performing without Protocol
|
||||
|
@@ -59,7 +59,7 @@ public:
|
||||
|
||||
//! Returns the Step Type defined from the Protocol (see above).
|
||||
//! If <ent> is not recognised, produces "..NOT FROM SCHEMA <name>.."
|
||||
Standard_EXPORT Standard_CString Value (const Handle(Standard_Transient)& ent, const Handle(Interface_InterfaceModel)& model) const;
|
||||
Standard_EXPORT Standard_CString Value (const Handle(Standard_Transient)& ent, const Handle(Interface_InterfaceModel)& model) const Standard_OVERRIDE;
|
||||
|
||||
|
||||
|
||||
|
@@ -57,12 +57,12 @@ public:
|
||||
//! Reads a STEP File and returns a STEP Model (into <mod>),
|
||||
//! or lets <mod> "Null" in case of Error
|
||||
//! Returns 0 if OK, 1 if Read Error, -1 if File not opened
|
||||
Standard_EXPORT Standard_Integer ReadFile (const Standard_CString name, Handle(Interface_InterfaceModel)& model, const Handle(Interface_Protocol)& protocol) const;
|
||||
Standard_EXPORT Standard_Integer ReadFile (const Standard_CString name, Handle(Interface_InterfaceModel)& model, const Handle(Interface_Protocol)& protocol) const Standard_OVERRIDE;
|
||||
|
||||
//! Writes a File from a STEP Model
|
||||
//! Returns False (and writes no file) if <ctx> does not bring a
|
||||
//! STEP Model
|
||||
Standard_EXPORT Standard_Boolean WriteFile (IFSelect_ContextWrite& ctx) const;
|
||||
Standard_EXPORT Standard_Boolean WriteFile (IFSelect_ContextWrite& ctx) const Standard_OVERRIDE;
|
||||
|
||||
//! Performs the copy of entities from an original model to a new
|
||||
//! one. Works according <copymode> :
|
||||
@@ -75,7 +75,7 @@ public:
|
||||
//! Level 0 just displays type; level 1 displays the entity itself
|
||||
//! and level 2 displays the entity plus its shared ones (one
|
||||
//! sub-level : immediately shared entities)
|
||||
Standard_EXPORT void DumpEntity (const Handle(Interface_InterfaceModel)& model, const Handle(Interface_Protocol)& protocol, const Handle(Standard_Transient)& entity, const Handle(Message_Messenger)& S, const Standard_Integer level) const;
|
||||
Standard_EXPORT void DumpEntity (const Handle(Interface_InterfaceModel)& model, const Handle(Interface_Protocol)& protocol, const Handle(Standard_Transient)& entity, const Handle(Message_Messenger)& S, const Standard_Integer level) const Standard_OVERRIDE;
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user