//! Read persistent data from a file.
inline void Read (StdObjMgt_ReadData& theReadData)
{ theReadData >> myIsConstant >> myUnit; }
+ //! Write persistent data to a file.
+ inline void Write (StdObjMgt_WriteData& theWriteData) const
+ { theWriteData << myIsConstant << myUnit; }
+ //! Gets persistent child objects
+ inline void PChildren(StdObjMgt_Persistent::SequenceOfPersistent& theChildren) const
+ { theChildren.Append(myUnit); }
+ //! Returns persistent type name
+ inline Standard_CString PName() const { return "PDataStd_Variable"; }
//! Import transient attribuite from the persistent data.
void Import (const Handle(TDataStd_Variable)& theAttribute) const