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

0029590: Coding - avoid usage of Standard_EXPORT attribute for inline methods

All occurrences of Standard_EXPORT attached to inline methods in OCCT code are eliminated.
Some unused classes and C++ files producing no code are deleted.
This commit is contained in:
abv
2018-03-19 10:07:06 +03:00
committed by bugmaster
parent 0553a8ea99
commit 0f57ab750d
121 changed files with 407 additions and 1307 deletions

View File

@@ -57,31 +57,35 @@ public:
// Geometry
//=======================================================================
template<>
Standard_CString ShapePersistent_Geom::geometryBase<Geom2d_Geometry>
::PName() const;
inline Standard_CString ShapePersistent_Geom::geometryBase<Geom2d_Geometry>
::PName() const { return "PGeom2d_Geometry"; }
//=======================================================================
// Point
//=======================================================================
template<>
Standard_CString ShapePersistent_Geom::subBase_empty<
ShapePersistent_Geom2d::geometryBase<Geom2d_Geometry> >
::PName() const;
inline Standard_CString ShapePersistent_Geom::subBase_empty<ShapePersistent_Geom2d::geometryBase<Geom2d_Geometry> >
::PName() const { return "PGeom2d_Point"; }
//=======================================================================
// CartesianPoint
//=======================================================================
template<>
Standard_CString ShapePersistent_Geom::instance<ShapePersistent_Geom2d::Point,
inline Standard_CString ShapePersistent_Geom::instance<ShapePersistent_Geom2d::Point,
Geom2d_CartesianPoint,
gp_Pnt2d>
::PName() const;
::PName() const { return "PGeom2d_CartesianPoint"; }
template<>
void ShapePersistent_Geom::instance<ShapePersistent_Geom2d::Point,
inline void ShapePersistent_Geom::instance<ShapePersistent_Geom2d::Point,
Geom2d_CartesianPoint,
gp_Pnt2d>
::Write(StdObjMgt_WriteData& theWriteData) const;
::Write(StdObjMgt_WriteData& theWriteData) const
{
Handle(Geom2d_CartesianPoint) aMyGeom =
Handle(Geom2d_CartesianPoint)::DownCast(myTransient);
theWriteData << aMyGeom->Pnt2d();
}
//=======================================================================
// Direction
@@ -153,7 +157,7 @@ void ShapePersistent_Geom::instance<ShapePersistent_Geom2d::Transformation,
// Curve
//=======================================================================
template<>
Standard_CString ShapePersistent_Geom2d::geometryBase<Geom2d_Curve>
::PName() const;
inline Standard_CString ShapePersistent_Geom::geometryBase<Geom2d_Curve>
::PName() const { return "PGeom2d_Curve"; }
#endif