File indexing completed on 2026-09-15 09:15:21
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022 #ifndef DDF_AttributeBrowser_HeaderFile
0023 #define DDF_AttributeBrowser_HeaderFile
0024
0025 #include <TCollection_AsciiString.hxx>
0026 #include <TDF_Attribute.hxx>
0027
0028 class DDF_AttributeBrowser
0029 {
0030
0031 public:
0032 Standard_EXPORT DDF_AttributeBrowser(
0033 bool (*test)(const occ::handle<TDF_Attribute>&),
0034 TCollection_AsciiString (*open)(const occ::handle<TDF_Attribute>&),
0035 TCollection_AsciiString (*text)(const occ::handle<TDF_Attribute>&));
0036
0037 bool Test(const occ::handle<TDF_Attribute>& anAtt) const;
0038 TCollection_AsciiString Open(const occ::handle<TDF_Attribute>& anAtt) const;
0039 TCollection_AsciiString Text(const occ::handle<TDF_Attribute>& anAtt) const;
0040
0041 inline DDF_AttributeBrowser* Next() { return myNext; }
0042
0043 static DDF_AttributeBrowser* FindBrowser(const occ::handle<TDF_Attribute>& anAtt);
0044
0045 private:
0046 bool (*myTest)(const occ::handle<TDF_Attribute>&);
0047
0048 TCollection_AsciiString (*myOpen)(const occ::handle<TDF_Attribute>&);
0049
0050 TCollection_AsciiString (*myText)(const occ::handle<TDF_Attribute>&);
0051
0052 DDF_AttributeBrowser* myNext;
0053 };
0054
0055 #endif