summaryrefslogtreecommitdiff
path: root/drv/ShapeSchema/ShapeSchema_gp_Ax22d.cxx
blob: 0b337475cbc5ef4698439cc3aedc231d1bbf36fc (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
31
32
33
34
35
36
#ifndef _ShapeSchema_gp_Ax22d_HeaderFile
#include <ShapeSchema_gp_Ax22d.hxx>
#endif
#ifndef _gp_Ax22d_HeaderFile
#include <gp_Ax22d.hxx>
#endif
#include <ShapeSchema_gp_Ax22d.ixx>
#ifndef _Storage_Schema_HeaderFile
#include <Storage_Schema.hxx>
#endif
#ifndef _Storage_stCONSTclCOM_HeaderFile
#include <Storage_stCONSTclCOM.hxx>
#endif

void ShapeSchema_gp_Ax22d::SWrite(const gp_Ax22d& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema)
{
  f.BeginWriteObjectData();
    ShapeSchema_gp_Pnt2d::SWrite(pp._CSFDB_Getgp_Ax22dpoint(),f,theSchema);
    ShapeSchema_gp_Dir2d::SWrite(pp._CSFDB_Getgp_Ax22dvydir(),f,theSchema);
    ShapeSchema_gp_Dir2d::SWrite(pp._CSFDB_Getgp_Ax22dvxdir(),f,theSchema);

  f.EndWriteObjectData();
}

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

    ShapeSchema_gp_Pnt2d::SRead((gp_Pnt2d&)pp._CSFDB_Getgp_Ax22dpoint(),f,theSchema);

    ShapeSchema_gp_Dir2d::SRead((gp_Dir2d&)pp._CSFDB_Getgp_Ax22dvydir(),f,theSchema);

    ShapeSchema_gp_Dir2d::SRead((gp_Dir2d&)pp._CSFDB_Getgp_Ax22dvxdir(),f,theSchema);

  f.EndReadObjectData();
}