File indexing completed on 2025-01-18 10:03:58
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #ifndef _IGESData_IGESReaderTool_HeaderFile
0018 #define _IGESData_IGESReaderTool_HeaderFile
0019
0020 #include <Standard.hxx>
0021 #include <Standard_DefineAlloc.hxx>
0022 #include <Standard_Handle.hxx>
0023
0024 #include <Interface_GeneralLib.hxx>
0025 #include <Interface_ReaderLib.hxx>
0026 #include <Standard_Integer.hxx>
0027 #include <IGESData_IGESType.hxx>
0028 #include <IGESData_ReadStage.hxx>
0029 #include <Interface_FileReaderTool.hxx>
0030 class Interface_ParamList;
0031 class IGESData_FileRecognizer;
0032 class Interface_Check;
0033 class IGESData_IGESReaderData;
0034 class IGESData_Protocol;
0035 class Standard_Transient;
0036 class Interface_InterfaceModel;
0037 class IGESData_IGESEntity;
0038 class IGESData_DirPart;
0039 class IGESData_ParamReader;
0040
0041
0042
0043
0044 class IGESData_IGESReaderTool : public Interface_FileReaderTool
0045 {
0046 public:
0047
0048 DEFINE_STANDARD_ALLOC
0049
0050
0051
0052
0053
0054 Standard_EXPORT IGESData_IGESReaderTool(const Handle(IGESData_IGESReaderData)& reader, const Handle(IGESData_Protocol)& protocol);
0055
0056
0057
0058
0059
0060 Standard_EXPORT void Prepare (const Handle(IGESData_FileRecognizer)& reco);
0061
0062
0063 Standard_EXPORT Standard_Boolean Recognize (const Standard_Integer num, Handle(Interface_Check)& ach, Handle(Standard_Transient)& ent) Standard_OVERRIDE;
0064
0065
0066 Standard_EXPORT void BeginRead (const Handle(Interface_InterfaceModel)& amodel) Standard_OVERRIDE;
0067
0068
0069
0070
0071
0072 Standard_EXPORT Standard_Boolean AnalyseRecord (const Standard_Integer num, const Handle(Standard_Transient)& anent, Handle(Interface_Check)& acheck) Standard_OVERRIDE;
0073
0074
0075 Standard_EXPORT virtual void EndRead (const Handle(Interface_InterfaceModel)& amodel) Standard_OVERRIDE;
0076
0077
0078
0079 Standard_EXPORT void ReadDir (const Handle(IGESData_IGESEntity)& ent, const Handle(IGESData_IGESReaderData)& IR, const IGESData_DirPart& DP, Handle(Interface_Check)& ach) const;
0080
0081
0082
0083
0084 Standard_EXPORT void ReadOwnParams (const Handle(IGESData_IGESEntity)& ent, const Handle(IGESData_IGESReaderData)& IR, IGESData_ParamReader& PR) const;
0085
0086
0087
0088
0089
0090
0091
0092 Standard_EXPORT void ReadProps (const Handle(IGESData_IGESEntity)& ent, const Handle(IGESData_IGESReaderData)& IR, IGESData_ParamReader& PR) const;
0093
0094
0095
0096
0097
0098
0099
0100 Standard_EXPORT void ReadAssocs (const Handle(IGESData_IGESEntity)& ent, const Handle(IGESData_IGESReaderData)& IR, IGESData_ParamReader& PR) const;
0101
0102
0103
0104
0105 protected:
0106
0107
0108
0109
0110
0111 private:
0112
0113
0114
0115 Handle(Interface_ParamList) thelist;
0116 Handle(IGESData_FileRecognizer) thereco;
0117 Interface_GeneralLib theglib;
0118 Interface_ReaderLib therlib;
0119 Standard_Integer thecnum;
0120 IGESData_IGESType thectyp;
0121 IGESData_ReadStage thestep;
0122 Handle(Interface_Check) thechk;
0123 Standard_Integer thegradweight;
0124 Standard_Real themaxweight;
0125 Standard_Real thedefweight;
0126
0127
0128 };
0129
0130
0131
0132
0133
0134
0135
0136 #endif