0029590: Coding - avoid usage of Standard_EXPORT attribute for inline methods
[occt.git] / src / ShapePersistent / ShapePersistent_Geom2d.cxx
index 3657447..d24a036 100644 (file)
 #include <Geom2d_TrimmedCurve.hxx>
 #include <Geom2d_OffsetCurve.hxx>
 
-//=======================================================================
-// Geometry
-//=======================================================================
-template<>
-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 { return "PGeom2d_Point"; }
-
-//=======================================================================
-// CartesianPoint
-//=======================================================================
-template<>
-Standard_CString ShapePersistent_Geom::instance<ShapePersistent_Geom2d::Point,
-                                                  Geom2d_CartesianPoint,
-                                                  gp_Pnt2d>
-  ::PName() const { return "PGeom2d_CartesianPoint"; }
-
-template<>
-void ShapePersistent_Geom::instance<ShapePersistent_Geom2d::Point,
-                                      Geom2d_CartesianPoint,
-                                      gp_Pnt2d>
-::Write(StdObjMgt_WriteData& theWriteData) const
-{
-  Handle(Geom2d_CartesianPoint) aMyGeom =
-    Handle(Geom2d_CartesianPoint)::DownCast(myTransient);
-  theWriteData << aMyGeom->Pnt2d();
-}
-
 //=======================================================================
 // Direction
 //=======================================================================
@@ -144,9 +110,6 @@ void ShapePersistent_Geom2d::instance<ShapePersistent_Geom2d::Transformation,
 //=======================================================================
 // Curve
 //=======================================================================
-template<>
-Standard_CString ShapePersistent_Geom::geometryBase<Geom2d_Curve>
-  ::PName() const { return "PGeom2d_Curve"; }
 
 Handle(ShapePersistent_Geom2d::Curve)
 ShapePersistent_Geom2d::Translate(const Handle(Geom2d_Curve)& theCurve,