mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-04 13:13:25 +03:00
0031789: Coding Rules - remove redundant Standard_EXPORT from TKMesh
- Standard_EXPORT which were specified for inline methods were deleted. - ALL occurrences of DEFINE_STANDARD_RTTI_INLINE were replaced by DEFINE_STANDARD_RTTIEXT in header files and IMPLEMENT_STANDARD_RTTIEXT in source files - ALL occurrences of "inline" keyword were deleted where it didn't not cause a linkage errors - Added source files for classes that were without them for IMPLEMENT_STANDARD_RTTIEXT
This commit is contained in:
@@ -18,6 +18,8 @@
|
||||
#include <BRepMesh_OrientedEdge.hxx>
|
||||
#include <BRepMesh_Vertex.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(BRepMeshData_Curve, IMeshData_Curve)
|
||||
|
||||
//=======================================================================
|
||||
// Function: Constructor
|
||||
// Purpose :
|
||||
|
@@ -60,7 +60,7 @@ public:
|
||||
//! Clears parameters list.
|
||||
Standard_EXPORT virtual void Clear(const Standard_Boolean isKeepEndPoints) Standard_OVERRIDE;
|
||||
|
||||
DEFINE_STANDARD_RTTI_INLINE(BRepMeshData_Curve, IMeshData_Curve)
|
||||
DEFINE_STANDARD_RTTIEXT(BRepMeshData_Curve, IMeshData_Curve)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -19,6 +19,8 @@
|
||||
#include <BRepMesh_OrientedEdge.hxx>
|
||||
#include <BRepMesh_Vertex.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(BRepMeshData_Edge, IMeshData_Edge)
|
||||
|
||||
//=======================================================================
|
||||
// Function: Constructor
|
||||
// Purpose :
|
||||
|
@@ -53,7 +53,7 @@ public:
|
||||
Standard_EXPORT virtual const IMeshData::IPCurveHandle& GetPCurve (
|
||||
const Standard_Integer theIndex) const Standard_OVERRIDE;
|
||||
|
||||
DEFINE_STANDARD_RTTI_INLINE(BRepMeshData_Edge, IMeshData_Edge)
|
||||
DEFINE_STANDARD_RTTIEXT(BRepMeshData_Edge, IMeshData_Edge)
|
||||
|
||||
private:
|
||||
|
||||
|
@@ -18,6 +18,8 @@
|
||||
#include <BRepMesh_OrientedEdge.hxx>
|
||||
#include <BRepMesh_Vertex.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(BRepMeshData_Face, IMeshData_Face)
|
||||
|
||||
//=======================================================================
|
||||
// Function: Constructor
|
||||
// Purpose :
|
||||
|
@@ -47,7 +47,7 @@ public:
|
||||
const TopoDS_Wire& theWire,
|
||||
const Standard_Integer theEdgeNb = 0) Standard_OVERRIDE;
|
||||
|
||||
DEFINE_STANDARD_RTTI_INLINE(BRepMeshData_Face, IMeshData_Face)
|
||||
DEFINE_STANDARD_RTTIEXT(BRepMeshData_Face, IMeshData_Face)
|
||||
|
||||
private:
|
||||
|
||||
|
@@ -21,6 +21,8 @@
|
||||
#include <BRepMesh_Vertex.hxx>
|
||||
#include <NCollection_IncAllocator.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(BRepMeshData_Model, IMeshData_Model)
|
||||
|
||||
//=======================================================================
|
||||
// Function: Constructor
|
||||
// Purpose :
|
||||
|
@@ -35,18 +35,18 @@ public:
|
||||
Standard_EXPORT virtual ~BRepMeshData_Model ();
|
||||
|
||||
//! Returns maximum size of shape's bounding box.
|
||||
Standard_EXPORT virtual Standard_Real GetMaxSize () const Standard_OVERRIDE
|
||||
virtual Standard_Real GetMaxSize () const Standard_OVERRIDE
|
||||
{
|
||||
return myMaxSize;
|
||||
}
|
||||
|
||||
//! Sets maximum size of shape's bounding box.
|
||||
inline void SetMaxSize (const Standard_Real theValue)
|
||||
void SetMaxSize (const Standard_Real theValue)
|
||||
{
|
||||
myMaxSize = theValue;
|
||||
}
|
||||
|
||||
DEFINE_STANDARD_RTTI_INLINE(BRepMeshData_Model, IMeshData_Model)
|
||||
DEFINE_STANDARD_RTTIEXT(BRepMeshData_Model, IMeshData_Model)
|
||||
|
||||
public: //! @name discrete faces
|
||||
|
||||
|
@@ -19,6 +19,8 @@
|
||||
#include <BRepMesh_Vertex.hxx>
|
||||
#include <Standard_OutOfRange.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(BRepMeshData_PCurve, IMeshData_PCurve)
|
||||
|
||||
//=======================================================================
|
||||
// Function: Constructor
|
||||
// Purpose :
|
||||
|
@@ -65,7 +65,7 @@ public:
|
||||
//! Clears parameters list.
|
||||
Standard_EXPORT virtual void Clear(const Standard_Boolean isKeepEndPoints) Standard_OVERRIDE;
|
||||
|
||||
DEFINE_STANDARD_RTTI_INLINE(BRepMeshData_PCurve, IMeshData_PCurve)
|
||||
DEFINE_STANDARD_RTTIEXT(BRepMeshData_PCurve, IMeshData_PCurve)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -18,6 +18,8 @@
|
||||
#include <BRepMesh_OrientedEdge.hxx>
|
||||
#include <BRepMesh_Vertex.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(BRepMeshData_Wire, IMeshData_Wire)
|
||||
|
||||
//=======================================================================
|
||||
// Function: Constructor
|
||||
// Purpose :
|
||||
|
@@ -52,7 +52,7 @@ public:
|
||||
Standard_EXPORT virtual TopAbs_Orientation GetEdgeOrientation (
|
||||
const Standard_Integer theIndex) const Standard_OVERRIDE;
|
||||
|
||||
DEFINE_STANDARD_RTTI_INLINE(BRepMeshData_Wire, IMeshData_Wire)
|
||||
DEFINE_STANDARD_RTTIEXT(BRepMeshData_Wire, IMeshData_Wire)
|
||||
|
||||
private:
|
||||
|
||||
|
Reference in New Issue
Block a user