#ifndef _XCAFSchema_gp_XYZ_HeaderFile #include #endif #ifndef _gp_XYZ_HeaderFile #include #endif #include #ifndef _Storage_Schema_HeaderFile #include #endif #ifndef _Storage_stCONSTclCOM_HeaderFile #include #endif void XCAFSchema_gp_XYZ::SWrite(const gp_XYZ& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) { f.BeginWriteObjectData(); f.PutReal(pp._CSFDB_Getgp_XYZx()); f.PutReal(pp._CSFDB_Getgp_XYZy()); f.PutReal(pp._CSFDB_Getgp_XYZz()); f.EndWriteObjectData(); } void XCAFSchema_gp_XYZ::SRead(gp_XYZ& pp, Storage_BaseDriver& f, const Handle(Storage_Schema)& theSchema) { f.BeginReadObjectData(); Standard_Real gp_XYZx; f.GetReal(gp_XYZx); pp._CSFDB_Setgp_XYZx(gp_XYZx); Standard_Real gp_XYZy; f.GetReal(gp_XYZy); pp._CSFDB_Setgp_XYZy(gp_XYZy); Standard_Real gp_XYZz; f.GetReal(gp_XYZz); pp._CSFDB_Setgp_XYZz(gp_XYZz); f.EndReadObjectData(); }