1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-29 14:00:49 +03:00

0026912: CLang 3.6.2 compiler warning [-Winconsistent-missing-override]

This commit is contained in:
abv
2015-11-20 21:04:11 +03:00
committed by bugmaster
parent 4d8eca1dce
commit 79104795a1
700 changed files with 2920 additions and 2904 deletions

View File

@@ -83,24 +83,24 @@ class VrmlData_Appearance : public VrmlData_Node
* is not created, but rather the given one is modified.<p>
*/
Standard_EXPORT virtual Handle(VrmlData_Node)
Clone (const Handle(VrmlData_Node)&)const;
Clone (const Handle(VrmlData_Node)&)const Standard_OVERRIDE;
/**
* Read the node from input stream.
*/
Standard_EXPORT virtual VrmlData_ErrorStatus
Read (VrmlData_InBuffer& theBuffer);
Read (VrmlData_InBuffer& theBuffer) Standard_OVERRIDE;
/**
* Write the Node from input stream.
*/
Standard_EXPORT virtual VrmlData_ErrorStatus
Write (const char * thePrefix) const;
Write (const char * thePrefix) const Standard_OVERRIDE;
/**
* Returns True if the node is default, so that it should not be written.
*/
Standard_EXPORT virtual Standard_Boolean
IsDefault () const;
IsDefault () const Standard_OVERRIDE;
protected:
// ---------- PROTECTED METHODS ----------

View File

@@ -99,7 +99,7 @@ class VrmlData_ArrayVec3d : public VrmlData_Node
* Returns True if the node is default, so that it should not be written.
*/
Standard_EXPORT virtual Standard_Boolean
IsDefault () const;
IsDefault () const Standard_OVERRIDE;
protected:
// ---------- PROTECTED METHODS ----------

View File

@@ -64,7 +64,7 @@ class VrmlData_Box : public VrmlData_Geometry
* is an internal error during the primitive creation (zero radius, etc.)
*/
Standard_EXPORT virtual const Handle(TopoDS_TShape)&
TShape ();
TShape () Standard_OVERRIDE;
/**
* Create a copy of this node.
@@ -72,19 +72,19 @@ class VrmlData_Box : public VrmlData_Geometry
* is not created, but rather the given one is modified.
*/
Standard_EXPORT virtual Handle(VrmlData_Node)
Clone (const Handle(VrmlData_Node)& theOther)const;
Clone (const Handle(VrmlData_Node)& theOther)const Standard_OVERRIDE;
/**
* Fill the Node internal data from the given input stream.
*/
Standard_EXPORT virtual VrmlData_ErrorStatus
Read (VrmlData_InBuffer& theBuffer);
Read (VrmlData_InBuffer& theBuffer) Standard_OVERRIDE;
/**
* Write the Node to output stream.
*/
Standard_EXPORT virtual VrmlData_ErrorStatus
Write (const char * thePrefix) const;
Write (const char * thePrefix) const Standard_OVERRIDE;
private:
// ---------- PRIVATE FIELDS ----------

View File

@@ -67,19 +67,19 @@ class VrmlData_Color : public VrmlData_ArrayVec3d
* is not created, but rather the given one is modified.<p>
*/
Standard_EXPORT virtual Handle(VrmlData_Node)
Clone (const Handle(VrmlData_Node)& theOther)const;
Clone (const Handle(VrmlData_Node)& theOther)const Standard_OVERRIDE;
/**
* Read the Node from input stream.
*/
Standard_EXPORT virtual VrmlData_ErrorStatus
Read (VrmlData_InBuffer& theBuffer);
Read (VrmlData_InBuffer& theBuffer) Standard_OVERRIDE;
/**
* Write the Node to the Scene output.
*/
Standard_EXPORT virtual VrmlData_ErrorStatus
Write (const char * thePrefix) const;
Write (const char * thePrefix) const Standard_OVERRIDE;
private:
// ---------- PRIVATE FIELDS ----------

View File

@@ -95,7 +95,7 @@ class VrmlData_Cone : public VrmlData_Geometry
* Query the primitive topology. This method returns a Null shape if there
* is an internal error during the primitive creation (zero radius, etc.)
*/
Standard_EXPORT virtual const Handle(TopoDS_TShape)& TShape ();
Standard_EXPORT virtual const Handle(TopoDS_TShape)& TShape () Standard_OVERRIDE;
/**
* Create a copy of this node.
@@ -103,19 +103,19 @@ class VrmlData_Cone : public VrmlData_Geometry
* is not created, but rather the given one is modified.
*/
Standard_EXPORT virtual Handle(VrmlData_Node)
Clone (const Handle(VrmlData_Node)& theOther) const;
Clone (const Handle(VrmlData_Node)& theOther) const Standard_OVERRIDE;
/**
* Fill the Node internal data from the given input stream.
*/
Standard_EXPORT virtual VrmlData_ErrorStatus
Read (VrmlData_InBuffer& theBuffer);
Read (VrmlData_InBuffer& theBuffer) Standard_OVERRIDE;
/**
* Write the Node to output stream.
*/
Standard_EXPORT virtual VrmlData_ErrorStatus
Write (const char * thePrefix) const;
Write (const char * thePrefix) const Standard_OVERRIDE;
protected:

View File

@@ -57,19 +57,19 @@ class VrmlData_Coordinate : public VrmlData_ArrayVec3d
* is not created, but rather the given one is modified.
*/
Standard_EXPORT virtual Handle(VrmlData_Node)
Clone (const Handle(VrmlData_Node)& theOther)const;
Clone (const Handle(VrmlData_Node)& theOther)const Standard_OVERRIDE;
/**
* Read the Node from input stream.
*/
Standard_EXPORT virtual VrmlData_ErrorStatus
Read (VrmlData_InBuffer& theBuffer);
Read (VrmlData_InBuffer& theBuffer) Standard_OVERRIDE;
/**
* Write the Node to the Scene output.
*/
Standard_EXPORT virtual VrmlData_ErrorStatus
Write (const char * thePrefix) const;
Write (const char * thePrefix) const Standard_OVERRIDE;
private:
// ---------- PRIVATE FIELDS ----------

View File

@@ -101,7 +101,7 @@ class VrmlData_Cylinder : public VrmlData_Geometry
* Query the primitive topology. This method returns a Null shape if there
* is an internal error during the primitive creation (zero radius, etc.)
*/
Standard_EXPORT virtual const Handle(TopoDS_TShape)& TShape ();
Standard_EXPORT virtual const Handle(TopoDS_TShape)& TShape () Standard_OVERRIDE;
/**
* Create a copy of this node.
@@ -109,19 +109,19 @@ class VrmlData_Cylinder : public VrmlData_Geometry
* is not created, but rather the given one is modified.
*/
Standard_EXPORT virtual Handle(VrmlData_Node)
Clone (const Handle(VrmlData_Node)& theOther)const;
Clone (const Handle(VrmlData_Node)& theOther)const Standard_OVERRIDE;
/**
* Fill the Node internal data from the given input stream.
*/
Standard_EXPORT virtual VrmlData_ErrorStatus
Read (VrmlData_InBuffer& theBuffer);
Read (VrmlData_InBuffer& theBuffer) Standard_OVERRIDE;
/**
* Write the Node to output stream.
*/
Standard_EXPORT virtual VrmlData_ErrorStatus
Write (const char * thePrefix) const;
Write (const char * thePrefix) const Standard_OVERRIDE;
protected:
// ---------- PROTECTED METHODS ----------

View File

@@ -117,19 +117,19 @@ class VrmlData_Group : public VrmlData_Node
* is not created, but rather the given one is modified.
*/
Standard_EXPORT virtual Handle(VrmlData_Node)
Clone (const Handle(VrmlData_Node)& theOther) const;
Clone (const Handle(VrmlData_Node)& theOther) const Standard_OVERRIDE;
/**
* Fill the Node internal data from the given input stream.
*/
Standard_EXPORT virtual VrmlData_ErrorStatus
Read (VrmlData_InBuffer& theBuffer);
Read (VrmlData_InBuffer& theBuffer) Standard_OVERRIDE;
/**
* Write the Node to output stream.
*/
Standard_EXPORT virtual VrmlData_ErrorStatus
Write (const char * thePrefix) const;
Write (const char * thePrefix) const Standard_OVERRIDE;
/**
* Find a node by its name, inside this Group

View File

@@ -55,19 +55,19 @@ class VrmlData_ImageTexture : public VrmlData_Texture
* is not created, but rather the given one is modified.
*/
Standard_EXPORT virtual Handle(VrmlData_Node)
Clone (const Handle(VrmlData_Node)& theOther)const;
Clone (const Handle(VrmlData_Node)& theOther)const Standard_OVERRIDE;
/**
* Read the Node from input stream.
*/
Standard_EXPORT virtual VrmlData_ErrorStatus
Read (VrmlData_InBuffer& theBuffer);
Read (VrmlData_InBuffer& theBuffer) Standard_OVERRIDE;
/**
* Write the Node to output stream.
*/
Standard_EXPORT virtual VrmlData_ErrorStatus
Write (const char * thePrefix) const;
Write (const char * thePrefix) const Standard_OVERRIDE;
protected:
// ---------- PROTECTED METHODS ----------

View File

@@ -272,7 +272,7 @@ class VrmlData_IndexedFaceSet : public VrmlData_Faceted
* Query the shape. This method checks the flag myIsModified; if True it
* should rebuild the shape presentation.
*/
Standard_EXPORT virtual const Handle(TopoDS_TShape)& TShape ();
Standard_EXPORT virtual const Handle(TopoDS_TShape)& TShape () Standard_OVERRIDE;
/**
* Create a copy of this node.
@@ -280,25 +280,25 @@ class VrmlData_IndexedFaceSet : public VrmlData_Faceted
* is not created, but rather the given one is modified.
*/
Standard_EXPORT virtual Handle(VrmlData_Node)
Clone (const Handle(VrmlData_Node)& theOther)const;
Clone (const Handle(VrmlData_Node)& theOther)const Standard_OVERRIDE;
/**
* Read the Node from input stream.
*/
Standard_EXPORT virtual VrmlData_ErrorStatus
Read (VrmlData_InBuffer& theBuffer);
Read (VrmlData_InBuffer& theBuffer) Standard_OVERRIDE;
/**
* Write the Node to output stream.
*/
Standard_EXPORT virtual VrmlData_ErrorStatus
Write (const char * thePrefix) const;
Write (const char * thePrefix) const Standard_OVERRIDE;
/**
* Returns True if the node is default, so that it should not be written.
*/
Standard_EXPORT virtual Standard_Boolean
IsDefault () const;
IsDefault () const Standard_OVERRIDE;
protected:
// ---------- PROTECTED METHODS ----------

View File

@@ -156,7 +156,7 @@ class VrmlData_IndexedLineSet : public VrmlData_Geometry
* should rebuild the shape presentation.
*/
Standard_EXPORT virtual const Handle(TopoDS_TShape)&
TShape ();
TShape () Standard_OVERRIDE;
/**
* Create a copy of this node.
@@ -164,25 +164,25 @@ class VrmlData_IndexedLineSet : public VrmlData_Geometry
* is not created, but rather the given one is modified.
*/
Standard_EXPORT virtual Handle(VrmlData_Node)
Clone (const Handle(VrmlData_Node)& theOther)const;
Clone (const Handle(VrmlData_Node)& theOther)const Standard_OVERRIDE;
/**
* Read the Node from input stream.
*/
Standard_EXPORT virtual VrmlData_ErrorStatus
Read (VrmlData_InBuffer& theBuffer);
Read (VrmlData_InBuffer& theBuffer) Standard_OVERRIDE;
/**
* Write the Node to output stream.
*/
Standard_EXPORT virtual VrmlData_ErrorStatus
Write (const char * thePrefix) const;
Write (const char * thePrefix) const Standard_OVERRIDE;
/**
* Returns True if the node is default, so that it should not be written.
*/
Standard_EXPORT virtual Standard_Boolean
IsDefault () const;
IsDefault () const Standard_OVERRIDE;
private:

View File

@@ -121,25 +121,25 @@ class VrmlData_Material : public VrmlData_Node
* is not created, but rather the given one is modified.
*/
Standard_EXPORT virtual Handle(VrmlData_Node)
Clone (const Handle(VrmlData_Node)& theOther)const;
Clone (const Handle(VrmlData_Node)& theOther)const Standard_OVERRIDE;
/**
* Read the Node from input stream.
*/
Standard_EXPORT virtual VrmlData_ErrorStatus
Read (VrmlData_InBuffer& theBuffer);
Read (VrmlData_InBuffer& theBuffer) Standard_OVERRIDE;
/**
* Write the Node to the Scene output.
*/
Standard_EXPORT virtual VrmlData_ErrorStatus
Write (const char * thePrefix) const;
Write (const char * thePrefix) const Standard_OVERRIDE;
/**
* Returns True if the node is default, so that it should not be written.
*/
Standard_EXPORT virtual Standard_Boolean
IsDefault () const;
IsDefault () const Standard_OVERRIDE;
protected:
// ---------- PROTECTED METHODS ----------

View File

@@ -57,19 +57,19 @@ class VrmlData_Normal : public VrmlData_ArrayVec3d
* is not created, but rather the given one is modified.
*/
Standard_EXPORT virtual Handle(VrmlData_Node)
Clone (const Handle(VrmlData_Node)& theOther)const;
Clone (const Handle(VrmlData_Node)& theOther)const Standard_OVERRIDE;
/**
* Read the Node from input stream.
*/
Standard_EXPORT virtual VrmlData_ErrorStatus
Read (VrmlData_InBuffer& theBuffer);
Read (VrmlData_InBuffer& theBuffer) Standard_OVERRIDE;
/**
* Write the Node to the Scene output.
*/
Standard_EXPORT virtual VrmlData_ErrorStatus
Write (const char * thePrefix) const;
Write (const char * thePrefix) const Standard_OVERRIDE;
private:

View File

@@ -69,25 +69,25 @@ class VrmlData_ShapeNode : public VrmlData_Node
* is not created, but rather the given one is modified.
*/
Standard_EXPORT virtual Handle(VrmlData_Node)
Clone (const Handle(VrmlData_Node)& theOther)const;
Clone (const Handle(VrmlData_Node)& theOther)const Standard_OVERRIDE;
/**
* Fill the Node internal data from the given input stream.
*/
Standard_EXPORT virtual VrmlData_ErrorStatus
Read (VrmlData_InBuffer& theBuffer);
Read (VrmlData_InBuffer& theBuffer) Standard_OVERRIDE;
/**
* Write the Node to output stream.
*/
Standard_EXPORT virtual VrmlData_ErrorStatus
Write (const char * thePrefix) const;
Write (const char * thePrefix) const Standard_OVERRIDE;
/**
* Check if the Shape Node is writeable.
*/
Standard_EXPORT virtual Standard_Boolean
IsDefault () const;
IsDefault () const Standard_OVERRIDE;
protected:
// ---------- PROTECTED METHODS ----------

View File

@@ -58,7 +58,7 @@ class VrmlData_Sphere : public VrmlData_Geometry
* Query the primitive topology. This method returns a Null shape if there
* is an internal error during the primitive creation (zero radius, etc.)
*/
Standard_EXPORT virtual const Handle(TopoDS_TShape)& TShape ();
Standard_EXPORT virtual const Handle(TopoDS_TShape)& TShape () Standard_OVERRIDE;
/**
* Create a copy of this node.
@@ -66,19 +66,19 @@ class VrmlData_Sphere : public VrmlData_Geometry
* is not created, but rather the given one is modified.
*/
Standard_EXPORT virtual Handle(VrmlData_Node)
Clone (const Handle(VrmlData_Node)& theOther)const;
Clone (const Handle(VrmlData_Node)& theOther)const Standard_OVERRIDE;
/**
* Fill the Node internal data from the given input stream.
*/
Standard_EXPORT virtual VrmlData_ErrorStatus
Read (VrmlData_InBuffer& theBuffer);
Read (VrmlData_InBuffer& theBuffer) Standard_OVERRIDE;
/**
* Write the Node to output stream.
*/
Standard_EXPORT virtual VrmlData_ErrorStatus
Write (const char * thePrefix) const;
Write (const char * thePrefix) const Standard_OVERRIDE;
private:
// ---------- PRIVATE FIELDS ----------

View File

@@ -76,13 +76,13 @@ class VrmlData_TextureCoordinate : public VrmlData_Node
* is not created, but rather the given one is modified.
*/
Standard_EXPORT virtual Handle(VrmlData_Node)
Clone (const Handle(VrmlData_Node)& theOther)const;
Clone (const Handle(VrmlData_Node)& theOther)const Standard_OVERRIDE;
/**
* Read the Node from input stream.
*/
Standard_EXPORT virtual VrmlData_ErrorStatus
Read (VrmlData_InBuffer& theBuffer);
Read (VrmlData_InBuffer& theBuffer) Standard_OVERRIDE;
private:
// ---------- PRIVATE FIELDS ----------

View File

@@ -47,7 +47,7 @@ class VrmlData_UnknownNode : public VrmlData_Node
* Read the unknown node, till the last closing brace of it.
*/
Standard_EXPORT virtual VrmlData_ErrorStatus
Read (VrmlData_InBuffer& theBuffer);
Read (VrmlData_InBuffer& theBuffer) Standard_OVERRIDE;
/**
* Query the title of the unknown node.
@@ -60,7 +60,7 @@ class VrmlData_UnknownNode : public VrmlData_Node
* Check if the Node is non-writeable -- always returns true.
*/
Standard_EXPORT virtual Standard_Boolean
IsDefault () const;
IsDefault () const Standard_OVERRIDE;
private:
// ---------- PRIVATE FIELDS ----------

View File

@@ -68,25 +68,25 @@ class VrmlData_WorldInfo : public VrmlData_Node
* is not created, but rather the given one is modified.
*/
Standard_EXPORT virtual Handle(VrmlData_Node)
Clone (const Handle(VrmlData_Node)& theOther) const;
Clone (const Handle(VrmlData_Node)& theOther) const Standard_OVERRIDE;
/**
* Read the Node from input stream.
*/
Standard_EXPORT virtual VrmlData_ErrorStatus
Read (VrmlData_InBuffer& theBuffer);
Read (VrmlData_InBuffer& theBuffer) Standard_OVERRIDE;
/**
* Write the Node to the Scene output.
*/
Standard_EXPORT virtual VrmlData_ErrorStatus
Write (const char * thePrefix) const;
Write (const char * thePrefix) const Standard_OVERRIDE;
/**
* Returns True if the node is default, then it would not be written.
*/
Standard_EXPORT virtual Standard_Boolean
IsDefault() const;
IsDefault() const Standard_OVERRIDE;
private:
// ---------- PRIVATE FIELDS ----------