#ifndef _ShapeSchema_PGeom_Geometry_HeaderFile #include #endif #ifndef _PGeom_Geometry_HeaderFile #include #endif #include #ifndef _Storage_Schema_HeaderFile #include #endif #ifndef _Storage_stCONSTclCOM_HeaderFile #include #endif IMPLEMENT_STANDARD_HANDLE(ShapeSchema_PGeom_Geometry,Storage_CallBack) IMPLEMENT_STANDARD_RTTIEXT(ShapeSchema_PGeom_Geometry,Storage_CallBack) Handle(Standard_Persistent) ShapeSchema_PGeom_Geometry::New() const { Handle(Standard_Persistent) NullObject; return NullObject; } void ShapeSchema_PGeom_Geometry::SAdd(const Handle(PGeom_Geometry)& p, const Handle(Storage_Schema)& theSchema) { if (!p.IsNull()) { if (theSchema->AddPersistent(p,"PGeom_Geometry")) { } } } void ShapeSchema_PGeom_Geometry::Add(const Handle(Standard_Persistent)& p, const Handle(Storage_Schema)& theSchema) const { ShapeSchema_PGeom_Geometry::SAdd((Handle(PGeom_Geometry)&)p,theSchema); } void ShapeSchema_PGeom_Geometry::SWrite(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) { if (!p.IsNull()) { theSchema->WritePersistentObjectHeader(p,f); f.BeginWritePersistentObjectData(); f.EndWritePersistentObjectData(); } } void ShapeSchema_PGeom_Geometry::Write(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const { ShapeSchema_PGeom_Geometry::SWrite(p,f,theSchema); } void ShapeSchema_PGeom_Geometry::SRead(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) { if (!p.IsNull()) { theSchema->ReadPersistentObjectHeader(f); f.BeginReadPersistentObjectData(); f.EndReadPersistentObjectData(); } } void ShapeSchema_PGeom_Geometry::Read(const Handle(Standard_Persistent)& p, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) const { ShapeSchema_PGeom_Geometry::SRead(p,f,theSchema); }