Skip to content

Commit

Permalink
Cleanup clang inconsistent override warnings-smesh
Browse files Browse the repository at this point in the history
  • Loading branch information
ianrrees authored and wwmayer committed Mar 1, 2017
1 parent ac9f475 commit d343bb0
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions src/3rdParty/salomesmesh/inc/SMESH_MeshVSLink.hxx
Expand Up @@ -105,32 +105,32 @@ class SMESH_MeshVSLink : public MeshVS_DataSource3D {
//! by co-ordinates. For element this method must return all its nodes co-ordinates in the strict order: X, Y, Z and <br>
//! with nodes order is the same as in wire bounding the face or link. NbNodes is number of nodes of element. <br>
//! It is recommended to return 1 for node. Type is an element type. <br>
Standard_EXPORT Standard_Boolean GetGeom(const Standard_Integer ID,const Standard_Boolean IsElement,TColStd_Array1OfReal& Coords,Standard_Integer& NbNodes,MeshVS_EntityType& Type) const;
Standard_EXPORT Standard_Boolean GetGeom(const Standard_Integer ID,const Standard_Boolean IsElement,TColStd_Array1OfReal& Coords,Standard_Integer& NbNodes,MeshVS_EntityType& Type) const override;

Standard_EXPORT Standard_Boolean Get3DGeom(const Standard_Integer ID,Standard_Integer& NbNodes,Handle(MeshVS_HArray1OfSequenceOfInteger)& Data) const;
Standard_EXPORT Standard_Boolean Get3DGeom(const Standard_Integer ID,Standard_Integer& NbNodes,Handle(MeshVS_HArray1OfSequenceOfInteger)& Data) const override;

//! This method is similar to GetGeom, but returns only element or node type. This method is provided for <br>
//! a fine performance. <br>
Standard_EXPORT Standard_Boolean GetGeomType(const Standard_Integer ID,const Standard_Boolean IsElement,MeshVS_EntityType& Type) const;
Standard_EXPORT Standard_Boolean GetGeomType(const Standard_Integer ID,const Standard_Boolean IsElement,MeshVS_EntityType& Type) const override;

//! This method returns by number an address of any entity which represents element or node data structure. <br>
Standard_EXPORT Standard_Address GetAddr(const Standard_Integer ID,const Standard_Boolean IsElement) const;
Standard_EXPORT Standard_Address GetAddr(const Standard_Integer ID,const Standard_Boolean IsElement) const override;

//! This method returns information about what node this element consist of. <br>
Standard_EXPORT /*virtual*/ Standard_Boolean GetNodesByElement(const Standard_Integer ID,TColStd_Array1OfInteger& NodeIDs,Standard_Integer& NbNodes) const;
Standard_EXPORT /*virtual*/ Standard_Boolean GetNodesByElement(const Standard_Integer ID,TColStd_Array1OfInteger& NodeIDs,Standard_Integer& NbNodes) const override;

//! This method returns map of all nodes the object consist of. <br>
Standard_EXPORT const TColStd_PackedMapOfInteger& GetAllNodes() const;
Standard_EXPORT const TColStd_PackedMapOfInteger& GetAllNodes() const override;

//! This method returns map of all elements the object consist of. <br>
Standard_EXPORT const TColStd_PackedMapOfInteger& GetAllElements() const;
Standard_EXPORT const TColStd_PackedMapOfInteger& GetAllElements() const override;

//! This method calculates normal of face, which is using for correct reflection presentation. <br>
//! There is default method, for advance reflection this method can be redefined. <br>
Standard_EXPORT Standard_Boolean GetNormal(const Standard_Integer Id,const Standard_Integer Max,Standard_Real& nx,Standard_Real& ny,Standard_Real& nz) const;
Standard_EXPORT Standard_Boolean GetNormal(const Standard_Integer Id,const Standard_Integer Max,Standard_Real& nx,Standard_Real& ny,Standard_Real& nz) const override;

//! This method returns map of all groups the object contains. <br>
Standard_EXPORT void GetAllGroups(TColStd_PackedMapOfInteger& Ids) const;
Standard_EXPORT void GetAllGroups(TColStd_PackedMapOfInteger& Ids) const override;

// Type management
//
Expand Down

0 comments on commit d343bb0

Please sign in to comment.