Warning, file /include/opencascade/IGESData_IGESReaderData.hxx was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #ifndef _IGESData_IGESReaderData_HeaderFile
0018 #define _IGESData_IGESReaderData_HeaderFile
0019
0020 #include <Standard.hxx>
0021 #include <Standard_Type.hxx>
0022
0023 #include <IGESData_IGESType.hxx>
0024 #include <TCollection_HAsciiString.hxx>
0025 #include <NCollection_Sequence.hxx>
0026 #include <NCollection_HSequence.hxx>
0027 #include <IGESData_GlobalSection.hxx>
0028 #include <IGESData_DirPart.hxx>
0029 #include <NCollection_Array1.hxx>
0030 #include <IGESData_ReadStage.hxx>
0031 #include <Interface_FileReaderData.hxx>
0032 #include <Standard_Integer.hxx>
0033 #include <Standard_CString.hxx>
0034 #include <Interface_ParamType.hxx>
0035 class Interface_ParamSet;
0036 class Interface_Check;
0037 class IGESData_DirPart;
0038
0039
0040
0041
0042
0043
0044
0045 class IGESData_IGESReaderData : public Interface_FileReaderData
0046 {
0047
0048 public:
0049
0050
0051
0052 Standard_EXPORT IGESData_IGESReaderData(const int nbe, const int nbp);
0053
0054
0055 Standard_EXPORT void AddStartLine(const char* const aval);
0056
0057
0058 Standard_EXPORT occ::handle<NCollection_HSequence<occ::handle<TCollection_HAsciiString>>>
0059 StartSection() const;
0060
0061
0062 Standard_EXPORT void AddGlobal(const Interface_ParamType atype, const char* const aval);
0063
0064
0065
0066 Standard_EXPORT void SetGlobalSection();
0067
0068
0069 Standard_EXPORT const IGESData_GlobalSection& GlobalSection() const;
0070
0071
0072
0073 Standard_EXPORT void SetDirPart(const int num,
0074 const int i1,
0075 const int i2,
0076 const int i3,
0077 const int i4,
0078 const int i5,
0079 const int i6,
0080 const int i7,
0081 const int i8,
0082 const int i9,
0083 const int i10,
0084 const int i11,
0085 const int i12,
0086 const int i13,
0087 const int i14,
0088 const int i15,
0089 const int i16,
0090 const int i17,
0091 const char* const res1,
0092 const char* const res2,
0093 const char* const label,
0094 const char* const subs);
0095
0096
0097 Standard_EXPORT const IGESData_DirPart& DirPart(const int num) const;
0098
0099
0100 Standard_EXPORT void DirValues(const int num,
0101 int& i1,
0102 int& i2,
0103 int& i3,
0104 int& i4,
0105 int& i5,
0106 int& i6,
0107 int& i7,
0108 int& i8,
0109 int& i9,
0110 int& i10,
0111 int& i11,
0112 int& i12,
0113 int& i13,
0114 int& i14,
0115 int& i15,
0116 int& i16,
0117 int& i17,
0118 char* res1,
0119 char* res2,
0120 char* label,
0121 char* subs) const;
0122
0123
0124 Standard_EXPORT IGESData_IGESType DirType(const int num) const;
0125
0126
0127 Standard_EXPORT int NbEntities() const override;
0128
0129
0130
0131 Standard_EXPORT int FindNextRecord(const int num) const override;
0132
0133
0134
0135
0136
0137
0138
0139 Standard_EXPORT void SetEntityNumbers();
0140
0141
0142 Standard_EXPORT occ::handle<Interface_Check> GlobalCheck() const;
0143
0144
0145
0146 Standard_EXPORT void SetDefaultLineWeight(const double defw);
0147
0148
0149
0150 Standard_EXPORT double DefaultLineWeight() const;
0151
0152 DEFINE_STANDARD_RTTIEXT(IGESData_IGESReaderData, Interface_FileReaderData)
0153
0154 private:
0155 IGESData_IGESType thectyp;
0156 occ::handle<NCollection_HSequence<occ::handle<TCollection_HAsciiString>>> thestar;
0157 occ::handle<Interface_ParamSet> theparh;
0158 IGESData_GlobalSection thehead;
0159 NCollection_Array1<IGESData_DirPart> thedirs;
0160 IGESData_ReadStage thestep;
0161 double thedefw;
0162 occ::handle<Interface_Check> thechk;
0163 };
0164
0165 #endif