File indexing completed on 2025-01-18 10:03:57
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #ifndef _IGESData_GlobalSection_HeaderFile
0018 #define _IGESData_GlobalSection_HeaderFile
0019
0020 #include <Standard.hxx>
0021 #include <Standard_DefineAlloc.hxx>
0022 #include <Standard_Handle.hxx>
0023
0024 #include <Standard_Integer.hxx>
0025 #include <Standard_Real.hxx>
0026 #include <Standard_Boolean.hxx>
0027 class TCollection_HAsciiString;
0028 class Interface_ParamSet;
0029 class Interface_Check;
0030 class gp_XYZ;
0031
0032
0033
0034
0035
0036
0037
0038
0039 class IGESData_GlobalSection
0040 {
0041 public:
0042
0043 DEFINE_STANDARD_ALLOC
0044
0045
0046
0047 Standard_EXPORT IGESData_GlobalSection();
0048
0049
0050
0051
0052 Standard_EXPORT void Init (const Handle(Interface_ParamSet)& params, Handle(Interface_Check)& ach);
0053
0054
0055
0056
0057 Standard_EXPORT void CopyRefs();
0058
0059
0060
0061 Standard_EXPORT Handle(Interface_ParamSet) Params() const;
0062
0063
0064
0065
0066
0067 Standard_EXPORT Handle(TCollection_HAsciiString) TranslatedFromHollerith (const Handle(TCollection_HAsciiString)& astr) const;
0068
0069
0070 Standard_EXPORT Standard_Character Separator() const;
0071
0072
0073 Standard_EXPORT Standard_Character EndMark() const;
0074
0075
0076 Standard_EXPORT Handle(TCollection_HAsciiString) SendName() const;
0077
0078
0079 Standard_EXPORT Handle(TCollection_HAsciiString) FileName() const;
0080
0081
0082 Standard_EXPORT Handle(TCollection_HAsciiString) SystemId() const;
0083
0084
0085 Standard_EXPORT Handle(TCollection_HAsciiString) InterfaceVersion() const;
0086
0087
0088 Standard_EXPORT Standard_Integer IntegerBits() const;
0089
0090
0091
0092 Standard_EXPORT Standard_Integer MaxPower10Single() const;
0093
0094 Standard_EXPORT Standard_Integer MaxDigitsSingle() const;
0095
0096
0097
0098 Standard_EXPORT Standard_Integer MaxPower10Double() const;
0099
0100 Standard_EXPORT Standard_Integer MaxDigitsDouble() const;
0101
0102
0103 Standard_EXPORT Handle(TCollection_HAsciiString) ReceiveName() const;
0104
0105
0106 Standard_EXPORT Standard_Real Scale() const;
0107
0108
0109 Standard_EXPORT Standard_Real CascadeUnit() const;
0110
0111
0112 Standard_EXPORT Standard_Integer UnitFlag() const;
0113
0114
0115 Standard_EXPORT Handle(TCollection_HAsciiString) UnitName() const;
0116
0117
0118 Standard_EXPORT Standard_Integer LineWeightGrad() const;
0119
0120
0121 Standard_EXPORT Standard_Real MaxLineWeight() const;
0122
0123
0124 Standard_EXPORT Handle(TCollection_HAsciiString) Date() const;
0125
0126
0127 Standard_EXPORT Standard_Real Resolution() const;
0128
0129
0130 Standard_EXPORT Standard_Real MaxCoord() const;
0131
0132
0133
0134 Standard_EXPORT Standard_Boolean HasMaxCoord() const;
0135
0136
0137 Standard_EXPORT Handle(TCollection_HAsciiString) AuthorName() const;
0138
0139
0140 Standard_EXPORT Handle(TCollection_HAsciiString) CompanyName() const;
0141
0142
0143 Standard_EXPORT Standard_Integer IGESVersion() const;
0144
0145 Standard_EXPORT Standard_Integer DraftingStandard() const;
0146
0147
0148
0149 Standard_EXPORT Handle(TCollection_HAsciiString) LastChangeDate() const;
0150
0151
0152
0153 Standard_EXPORT Standard_Boolean HasLastChangeDate() const;
0154
0155 Standard_EXPORT void SetLastChangeDate();
0156
0157 Standard_EXPORT Handle(TCollection_HAsciiString) ApplicationProtocol() const;
0158
0159 Standard_EXPORT Standard_Boolean HasApplicationProtocol() const;
0160
0161
0162
0163
0164
0165
0166
0167
0168
0169
0170
0171
0172
0173 Standard_EXPORT static Handle(TCollection_HAsciiString) NewDateString (const Standard_Integer year, const Standard_Integer month, const Standard_Integer day, const Standard_Integer hour, const Standard_Integer minut, const Standard_Integer second, const Standard_Integer mode = -1);
0174
0175
0176
0177
0178 Standard_EXPORT static Handle(TCollection_HAsciiString) NewDateString (const Handle(TCollection_HAsciiString)& date, const Standard_Integer mode = 1);
0179
0180
0181
0182 Standard_EXPORT Standard_Real UnitValue() const;
0183
0184 Standard_EXPORT void SetSeparator (const Standard_Character val);
0185
0186 Standard_EXPORT void SetEndMark (const Standard_Character val);
0187
0188 Standard_EXPORT void SetSendName (const Handle(TCollection_HAsciiString)& val);
0189
0190 Standard_EXPORT void SetFileName (const Handle(TCollection_HAsciiString)& val);
0191
0192 Standard_EXPORT void SetSystemId (const Handle(TCollection_HAsciiString)& val);
0193
0194 Standard_EXPORT void SetInterfaceVersion (const Handle(TCollection_HAsciiString)& val);
0195
0196 Standard_EXPORT void SetIntegerBits (const Standard_Integer val);
0197
0198 Standard_EXPORT void SetMaxPower10Single (const Standard_Integer val);
0199
0200 Standard_EXPORT void SetMaxDigitsSingle (const Standard_Integer val);
0201
0202 Standard_EXPORT void SetMaxPower10Double (const Standard_Integer val);
0203
0204 Standard_EXPORT void SetMaxDigitsDouble (const Standard_Integer val);
0205
0206 Standard_EXPORT void SetReceiveName (const Handle(TCollection_HAsciiString)& val);
0207
0208 Standard_EXPORT void SetCascadeUnit(const Standard_Real theUnit);
0209
0210 Standard_EXPORT void SetScale (const Standard_Real val);
0211
0212 Standard_EXPORT void SetUnitFlag (const Standard_Integer val);
0213
0214 Standard_EXPORT void SetUnitName (const Handle(TCollection_HAsciiString)& val);
0215
0216 Standard_EXPORT void SetLineWeightGrad (const Standard_Integer val);
0217
0218 Standard_EXPORT void SetMaxLineWeight (const Standard_Real val);
0219
0220 Standard_EXPORT void SetDate (const Handle(TCollection_HAsciiString)& val);
0221
0222 Standard_EXPORT void SetResolution (const Standard_Real val);
0223
0224 Standard_EXPORT void SetMaxCoord (const Standard_Real val = 0.0);
0225
0226 Standard_EXPORT void MaxMaxCoord (const Standard_Real val = 0.0);
0227
0228 Standard_EXPORT void MaxMaxCoords (const gp_XYZ& xyz);
0229
0230 Standard_EXPORT void SetAuthorName (const Handle(TCollection_HAsciiString)& val);
0231
0232 Standard_EXPORT void SetCompanyName (const Handle(TCollection_HAsciiString)& val);
0233
0234 Standard_EXPORT void SetIGESVersion (const Standard_Integer val);
0235
0236 Standard_EXPORT void SetDraftingStandard (const Standard_Integer val);
0237
0238 Standard_EXPORT void SetLastChangeDate (const Handle(TCollection_HAsciiString)& val);
0239
0240 Standard_EXPORT void SetApplicationProtocol (const Handle(TCollection_HAsciiString)& val);
0241
0242 private:
0243
0244 Standard_Character theSeparator;
0245 Standard_Character theEndMark;
0246 Handle(TCollection_HAsciiString) theSendName;
0247 Handle(TCollection_HAsciiString) theFileName;
0248 Handle(TCollection_HAsciiString) theSystemId;
0249 Handle(TCollection_HAsciiString) theInterfaceVersion;
0250 Standard_Integer theIntegerBits;
0251 Standard_Integer theMaxPower10Single;
0252 Standard_Integer theMaxDigitsSingle;
0253 Standard_Integer theMaxPower10Double;
0254 Standard_Integer theMaxDigitsDouble;
0255 Handle(TCollection_HAsciiString) theReceiveName;
0256 Standard_Real theScale;
0257 Standard_Real theCascadeUnit;
0258 Standard_Integer theUnitFlag;
0259 Handle(TCollection_HAsciiString) theUnitName;
0260 Standard_Integer theLineWeightGrad;
0261 Standard_Real theMaxLineWeight;
0262 Handle(TCollection_HAsciiString) theDate;
0263 Standard_Real theResolution;
0264 Standard_Real theMaxCoord;
0265 Standard_Boolean hasMaxCoord;
0266 Handle(TCollection_HAsciiString) theAuthorName;
0267 Handle(TCollection_HAsciiString) theCompanyName;
0268 Standard_Integer theIGESVersion;
0269 Standard_Integer theDraftingStandard;
0270 Handle(TCollection_HAsciiString) theLastChangeDate;
0271 Handle(TCollection_HAsciiString) theAppliProtocol;
0272
0273 };
0274
0275 #endif