1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-09 13:22:24 +03:00

0024927: Getting rid of "Persistent" functionality -- Storable

Delete "Storable" class from "Standard" package and all use of it
This commit is contained in:
dln
2014-08-15 10:03:58 +04:00
committed by bugmaster
parent 41f0360528
commit 087da3bdd9
68 changed files with 73 additions and 215 deletions

View File

@@ -78,19 +78,19 @@ Standard_Boolean XmlObjMgt_GP::Translate
Standard_Real aScaleFactor = Standard_Real(Strtod (aStr, &ptr));
if (ptr != aStr && errno != ERANGE && errno != EINVAL)
{
T._CSFDB_Setgp_Trsfscale(aScaleFactor);
T.SetScaleFactor(aScaleFactor);
aStr = ptr;
Standard_Integer aForm = Standard_Integer(strtol(aStr, &ptr, 10));
if (ptr != aStr && errno != ERANGE && errno != EINVAL) {
T._CSFDB_Setgp_Trsfshape((gp_TrsfForm)aForm);
T.SetForm((gp_TrsfForm)aForm);
aStr = ptr;
// gp_Mat aMatr;
aStr = ::Translate(aStr, (gp_Mat&)T._CSFDB_Getgp_Trsfmatrix());
aStr = ::Translate(aStr, (gp_Mat&)T.HVectorialPart());
if (aStr) {
// gp_XYZ aTransl;
::Translate(aStr, (gp_XYZ&)T._CSFDB_Getgp_Trsfloc());
::Translate(aStr, (gp_XYZ&)T.TranslationPart());
aResult = Standard_True;
}
}