1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-09 13:22:24 +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:
mkrylova
2020-09-24 17:14:15 +03:00
committed by abv
parent 42624fdc75
commit 4945e8be99
121 changed files with 729 additions and 327 deletions

View File

@@ -29,7 +29,7 @@ class IMeshData_PCurve : public IMeshData_ParametersList
public:
//! Destructor.
Standard_EXPORT virtual ~IMeshData_PCurve()
virtual ~IMeshData_PCurve()
{
}
@@ -54,35 +54,35 @@ public:
Standard_EXPORT virtual void RemovePoint (const Standard_Integer theIndex) = 0;
//! Returns forward flag of this pcurve.
inline Standard_Boolean IsForward () const
Standard_Boolean IsForward () const
{
return (myOrientation != TopAbs_REVERSED);
}
//! Returns internal flag of this pcurve.
inline Standard_Boolean IsInternal() const
Standard_Boolean IsInternal() const
{
return (myOrientation == TopAbs_INTERNAL);
}
//! Returns orientation of the edge associated with current pcurve.
inline TopAbs_Orientation GetOrientation() const
TopAbs_Orientation GetOrientation() const
{
return myOrientation;
}
//! Returns discrete face pcurve is associated to.
inline const IMeshData::IFacePtr& GetFace () const
const IMeshData::IFacePtr& GetFace () const
{
return myDFace;
}
DEFINE_STANDARD_RTTI_INLINE(IMeshData_PCurve, IMeshData_ParametersList)
DEFINE_STANDARD_RTTIEXT(IMeshData_PCurve, IMeshData_ParametersList)
protected:
//! Constructor.
Standard_EXPORT IMeshData_PCurve (
IMeshData_PCurve (
const IMeshData::IFacePtr& theDFace,
const TopAbs_Orientation theOrientation)
: myDFace(theDFace),