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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
|
#ifndef _StdLSchema_PFunction_Function_HeaderFile
#include <StdLSchema_PFunction_Function.hxx>
#endif
#ifndef _PFunction_Function_HeaderFile
#include <PFunction_Function.hxx>
#endif
#include <StdLSchema_PFunction_Function.ixx>
#ifndef _Storage_Schema_HeaderFile
#include <Storage_Schema.hxx>
#endif
#ifndef _Storage_stCONSTclCOM_HeaderFile
#include <Storage_stCONSTclCOM.hxx>
#endif
IMPLEMENT_STANDARD_HANDLE(StdLSchema_PFunction_Function,Storage_CallBack)
IMPLEMENT_STANDARD_RTTIEXT(StdLSchema_PFunction_Function,Storage_CallBack)
Handle(Standard_Persistent) StdLSchema_PFunction_Function::New() const
{
return new PFunction_Function(Storage_stCONSTclCOM());
}
void StdLSchema_PFunction_Function::SAdd(const Handle(PFunction_Function)& p, const Handle(Storage_Schema)& theSchema)
{
if (!p.IsNull()) {
if (theSchema->AddPersistent(p,"PFunction_Function")) {
}
}
}
void StdLSchema_PFunction_Function::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const
{
StdLSchema_PFunction_Function::SAdd((Handle(PFunction_Function)&)p,theSchema);
}
void StdLSchema_PFunction_Function::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema)
{
if (!p.IsNull()) {
Handle(PFunction_Function) &pp = (Handle(PFunction_Function)&)p;
theSchema->WritePersistentObjectHeader(p,f);
f.BeginWritePersistentObjectData();
StdLSchema_Standard_GUID::SWrite(pp->_CSFDB_GetPFunction_FunctionmyDriverGUID(),f,theSchema);
f.PutInteger(pp->_CSFDB_GetPFunction_FunctionmyFailure());
f.EndWritePersistentObjectData();
}
}
void StdLSchema_PFunction_Function::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const
{
StdLSchema_PFunction_Function::SWrite(p,f,theSchema);
}
void StdLSchema_PFunction_Function::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema)
{
if (!p.IsNull()) {
Handle(PFunction_Function) &pp = (Handle(PFunction_Function)&)p;
theSchema->ReadPersistentObjectHeader(f);
f.BeginReadPersistentObjectData();
StdLSchema_Standard_GUID::SRead((Standard_GUID&)pp->_CSFDB_GetPFunction_FunctionmyDriverGUID(),f,theSchema);
Standard_Integer PFunction_FunctionmyFailure;
f.GetInteger(PFunction_FunctionmyFailure);
pp->_CSFDB_SetPFunction_FunctionmyFailure(PFunction_FunctionmyFailure);
f.EndReadPersistentObjectData();
}
}
void StdLSchema_PFunction_Function::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const
{
StdLSchema_PFunction_Function::SRead(p,f,theSchema);
}
|