//! 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: