File indexing completed on 2025-01-18 10:04:59
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015 #ifndef _StdLPersistent_TreeNode_HeaderFile
0016 #define _StdLPersistent_TreeNode_HeaderFile
0017
0018 #include <StdObjMgt_Attribute.hxx>
0019
0020 #include <TDataStd_TreeNode.hxx>
0021 #include <Standard_GUID.hxx>
0022
0023
0024 class StdLPersistent_TreeNode
0025 : public StdObjMgt_Attribute<TDataStd_TreeNode>::Static
0026 {
0027 public:
0028
0029 Standard_EXPORT virtual void Read (StdObjMgt_ReadData& theReadData);
0030
0031
0032 Standard_EXPORT virtual void Write (StdObjMgt_WriteData& theWriteData) const;
0033
0034
0035 Standard_EXPORT virtual void PChildren(StdObjMgt_Persistent::SequenceOfPersistent&) const;
0036
0037
0038 virtual Standard_CString PName() const
0039 { return "PDataStd_TreeNode"; }
0040
0041
0042 Standard_EXPORT virtual Handle(TDF_Attribute) CreateAttribute();
0043
0044
0045 Standard_EXPORT virtual void ImportAttribute();
0046
0047 private:
0048 struct dynamic : public Standard_Transient
0049 {
0050 Handle(StdLPersistent_TreeNode) First;
0051 Standard_GUID TreeID;
0052 };
0053
0054 Handle(dynamic) myDynamicData;
0055 Handle(StdLPersistent_TreeNode) myNext;
0056 };
0057
0058 #endif