File indexing completed on 2026-10-03 09:15:08
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016 #ifndef _BinDrivers_DocumentStorageDriver_HeaderFile
0017 #define _BinDrivers_DocumentStorageDriver_HeaderFile
0018
0019 #include <Standard.hxx>
0020 #include <Standard_OStream.hxx>
0021 #include <BinLDrivers_DocumentStorageDriver.hxx>
0022
0023 class BinMDF_ADriverTable;
0024 class Message_Messenger;
0025 class BinLDrivers_DocumentSection;
0026
0027
0028 class BinDrivers_DocumentStorageDriver : public BinLDrivers_DocumentStorageDriver
0029 {
0030
0031 public:
0032
0033 Standard_EXPORT BinDrivers_DocumentStorageDriver();
0034
0035 Standard_EXPORT occ::handle<BinMDF_ADriverTable> AttributeDrivers(
0036 const occ::handle<Message_Messenger>& theMsgDriver) override;
0037
0038
0039 Standard_EXPORT void WriteShapeSection(
0040 BinLDrivers_DocumentSection& theDocSection,
0041 Standard_OStream& theOS,
0042 const TDocStd_FormatVersion theDocVer,
0043 const Message_ProgressRange& theRange = Message_ProgressRange()) override;
0044
0045
0046 Standard_EXPORT bool IsWithTriangles() const;
0047
0048 Standard_EXPORT bool IsWithNormals() const;
0049
0050
0051 Standard_EXPORT void SetWithTriangles(const occ::handle<Message_Messenger>& theMessageDriver,
0052 const bool theWithTriangulation);
0053
0054 Standard_EXPORT void SetWithNormals(const occ::handle<Message_Messenger>& theMessageDriver,
0055 const bool theWithTriangulation);
0056
0057
0058 Standard_EXPORT void EnableQuickPartWriting(
0059 const occ::handle<Message_Messenger>& theMessageDriver,
0060 const bool theValue) override;
0061
0062
0063 Standard_EXPORT void Clear() override;
0064
0065 DEFINE_STANDARD_RTTIEXT(BinDrivers_DocumentStorageDriver, BinLDrivers_DocumentStorageDriver)
0066 };
0067
0068 #endif