blob: b6b49880da6950374bfc86d73443bc931cf3efd6 (
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
37
38
39
|
#ifndef _ShapeSchema_PTopLoc_Location_HeaderFile
#include <ShapeSchema_PTopLoc_Location.hxx>
#endif
#ifndef _PTopLoc_Location_HeaderFile
#include <PTopLoc_Location.hxx>
#endif
#include <ShapeSchema_PTopLoc_Location.ixx>
#ifndef _Storage_Schema_HeaderFile
#include <Storage_Schema.hxx>
#endif
#ifndef _Storage_stCONSTclCOM_HeaderFile
#include <Storage_stCONSTclCOM.hxx>
#endif
void ShapeSchema_PTopLoc_Location::SAdd(const PTopLoc_Location& p, const Handle(Storage_Schema)& theSchema)
{
theSchema->PersistentToAdd(p._CSFDB_GetPTopLoc_LocationmyData());
}
void ShapeSchema_PTopLoc_Location::SWrite(const PTopLoc_Location& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema)
{
f.BeginWriteObjectData();
theSchema->WritePersistentReference(pp._CSFDB_GetPTopLoc_LocationmyData(),f);
f.EndWriteObjectData();
}
void ShapeSchema_PTopLoc_Location::SRead(PTopLoc_Location& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema)
{
f.BeginReadObjectData();
Handle(PTopLoc_ItemLocation) PTopLoc_LocationmyData;
theSchema->ReadPersistentReference(PTopLoc_LocationmyData,f);
pp._CSFDB_SetPTopLoc_LocationmyData(PTopLoc_LocationmyData);
f.EndReadObjectData();
}
|