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:
@@ -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),
|
||||
|
Reference in New Issue
Block a user