File indexing completed on 2025-01-18 10:02:59
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;
0029 DEFINE_STANDARD_HANDLE(BinDrivers_DocumentStorageDriver, BinLDrivers_DocumentStorageDriver)
0030
0031
0032 class BinDrivers_DocumentStorageDriver : public BinLDrivers_DocumentStorageDriver
0033 {
0034
0035 public:
0036
0037
0038
0039 Standard_EXPORT BinDrivers_DocumentStorageDriver();
0040
0041 Standard_EXPORT virtual Handle(BinMDF_ADriverTable) AttributeDrivers
0042 (const Handle(Message_Messenger)& theMsgDriver) Standard_OVERRIDE;
0043
0044
0045 Standard_EXPORT virtual void WriteShapeSection
0046 (BinLDrivers_DocumentSection& theDocSection,
0047 Standard_OStream& theOS,
0048 const TDocStd_FormatVersion theDocVer,
0049 const Message_ProgressRange& theRange = Message_ProgressRange()) Standard_OVERRIDE;
0050
0051
0052 Standard_EXPORT Standard_Boolean IsWithTriangles() const;
0053
0054 Standard_EXPORT Standard_Boolean IsWithNormals() const;
0055
0056
0057 Standard_EXPORT void SetWithTriangles (const Handle(Message_Messenger)& theMessageDriver,
0058 const Standard_Boolean theWithTriangulation);
0059
0060 Standard_EXPORT void SetWithNormals(const Handle(Message_Messenger)& theMessageDriver,
0061 const Standard_Boolean theWithTriangulation);
0062
0063
0064 Standard_EXPORT void EnableQuickPartWriting(const Handle(Message_Messenger)& theMessageDriver,
0065 const Standard_Boolean theValue) Standard_OVERRIDE;
0066
0067
0068 Standard_EXPORT virtual void Clear() Standard_OVERRIDE;
0069
0070 DEFINE_STANDARD_RTTIEXT(BinDrivers_DocumentStorageDriver,BinLDrivers_DocumentStorageDriver)
0071
0072 };
0073
0074 #endif