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:
@@ -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:
|
||||
|
Reference in New Issue
Block a user