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

0028714: Dimension of TDataStd_Real is not serialized to document

Added a comments and Standard_DEPRECATED macros to obsolete methods that these methods will be removed and that the corresponding field myDimension is not stored in the document.
This commit is contained in:
mpv
2017-05-30 11:49:26 +03:00
committed by bugmaster
parent fa6fc587b9
commit 58e5d30edc
7 changed files with 46 additions and 9 deletions

View File

@@ -37,9 +37,11 @@ public:
//! Import transient attribuite from the persistent data.
void Import (const Handle(TDataStd_Real)& theAttribute) const
{
theAttribute->Set (myValue);
theAttribute->Set (myValue);
Standard_DISABLE_DEPRECATION_WARNINGS
theAttribute->SetDimension (static_cast<TDataStd_RealEnum> (myDimension));
theAttribute->SetID(TDataStd_Real::GetID());
Standard_ENABLE_DEPRECATION_WARNINGS
theAttribute->SetID (TDataStd_Real::GetID());
}
private: