summaryrefslogtreecommitdiff
path: root/drv/ShapeSchema/ShapeSchema_gp_Vec2d.cxx
blob: f0020a8dd587414a751a43e37f2393e177823248 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#ifndef _ShapeSchema_gp_Vec2d_HeaderFile
#include <ShapeSchema_gp_Vec2d.hxx>
#endif
#ifndef _gp_Vec2d_HeaderFile
#include <gp_Vec2d.hxx>
#endif
#include <ShapeSchema_gp_Vec2d.ixx>
#ifndef _Storage_Schema_HeaderFile
#include <Storage_Schema.hxx>
#endif
#ifndef _Storage_stCONSTclCOM_HeaderFile
#include <Storage_stCONSTclCOM.hxx>
#endif

void ShapeSchema_gp_Vec2d::SWrite(const gp_Vec2d& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema)
{
  f.BeginWriteObjectData();
    ShapeSchema_gp_XY::SWrite(pp._CSFDB_Getgp_Vec2dcoord(),f,theSchema);

  f.EndWriteObjectData();
}

void ShapeSchema_gp_Vec2d::SRead(gp_Vec2d& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema)
{
  f.BeginReadObjectData();

    ShapeSchema_gp_XY::SRead((gp_XY&)pp._CSFDB_Getgp_Vec2dcoord(),f,theSchema);

  f.EndReadObjectData();
}