File indexing completed on 2026-09-21 09:18:29
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014 #ifndef _StdLPersistent_Data_HeaderFile
0015 #define _StdLPersistent_Data_HeaderFile
0016
0017 #include <StdLPersistent_HArray1.hxx>
0018
0019 class TDF_Data;
0020
0021 class StdLPersistent_Data : public StdObjMgt_Persistent
0022 {
0023 public:
0024
0025 StdLPersistent_Data()
0026 : myVersion(0)
0027 {
0028 }
0029
0030
0031 Standard_EXPORT void Read(StdObjMgt_ReadData& theReadData) override;
0032
0033 Standard_EXPORT void Write(StdObjMgt_WriteData& theWriteData) const override;
0034
0035
0036 void PChildren(StdObjMgt_Persistent::SequenceOfPersistent& theChildren) const override
0037 {
0038 theChildren.Append(myLabels);
0039 theChildren.Append(myAttributes);
0040 }
0041
0042
0043 const char* PName() const override { return "PDF_Data"; }
0044
0045
0046 Standard_EXPORT occ::handle<TDF_Data> Import() const;
0047
0048 private:
0049 class Parser;
0050
0051 private:
0052 int myVersion;
0053 Handle(StdLPersistent_HArray1::Integer) myLabels;
0054 Handle(StdLPersistent_HArray1::Persistent) myAttributes;
0055 };
0056
0057 #endif