#ifndef _XCAFSchema_PTopLoc_Location_HeaderFile #include #endif #ifndef _PTopLoc_Location_HeaderFile #include #endif #include #ifndef _Storage_Schema_HeaderFile #include #endif #ifndef _Storage_stCONSTclCOM_HeaderFile #include #endif void XCAFSchema_PTopLoc_Location::SAdd(const PTopLoc_Location& p, const Handle(Storage_Schema)& theSchema) { theSchema->PersistentToAdd(p._CSFDB_GetPTopLoc_LocationmyData()); } void XCAFSchema_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 XCAFSchema_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(); }