File indexing completed on 2025-01-18 10:02:56
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #ifndef _APIHeaderSection_MakeHeader_HeaderFile
0018 #define _APIHeaderSection_MakeHeader_HeaderFile
0019
0020 #include <Standard.hxx>
0021 #include <Standard_DefineAlloc.hxx>
0022 #include <Standard_Handle.hxx>
0023
0024 #include <Standard_Boolean.hxx>
0025 #include <Standard_Integer.hxx>
0026 #include <Interface_HArray1OfHAsciiString.hxx>
0027 class HeaderSection_FileName;
0028 class HeaderSection_FileSchema;
0029 class HeaderSection_FileDescription;
0030 class StepData_StepModel;
0031 class Interface_Protocol;
0032 class TCollection_HAsciiString;
0033
0034
0035
0036
0037 class APIHeaderSection_MakeHeader
0038 {
0039 public:
0040
0041 DEFINE_STANDARD_ALLOC
0042
0043
0044
0045 Standard_EXPORT APIHeaderSection_MakeHeader(const Standard_Integer shapetype = 0);
0046
0047
0048
0049 Standard_EXPORT APIHeaderSection_MakeHeader(const Handle(StepData_StepModel)& model);
0050
0051
0052
0053 Standard_EXPORT void Init (const Standard_CString nameval);
0054
0055
0056
0057 Standard_EXPORT Standard_Boolean IsDone() const;
0058
0059
0060
0061 Standard_EXPORT void Apply (const Handle(StepData_StepModel)& model) const;
0062
0063
0064
0065
0066
0067 Standard_EXPORT Handle(StepData_StepModel) NewModel (const Handle(Interface_Protocol)& protocol) const;
0068
0069
0070
0071 Standard_EXPORT Standard_Boolean HasFn() const;
0072
0073
0074
0075 Standard_EXPORT Handle(HeaderSection_FileName) FnValue() const;
0076
0077 Standard_EXPORT void SetName (const Handle(TCollection_HAsciiString)& aName);
0078
0079
0080 Standard_EXPORT Handle(TCollection_HAsciiString) Name() const;
0081
0082 Standard_EXPORT void SetTimeStamp (const Handle(TCollection_HAsciiString)& aTimeStamp);
0083
0084
0085 Standard_EXPORT Handle(TCollection_HAsciiString) TimeStamp() const;
0086
0087 Standard_EXPORT void SetAuthor (const Handle(Interface_HArray1OfHAsciiString)& aAuthor);
0088
0089 Standard_EXPORT void SetAuthorValue (const Standard_Integer num, const Handle(TCollection_HAsciiString)& aAuthor);
0090
0091 Standard_EXPORT Handle(Interface_HArray1OfHAsciiString) Author() const;
0092
0093
0094 Standard_EXPORT Handle(TCollection_HAsciiString) AuthorValue (const Standard_Integer num) const;
0095
0096
0097 Standard_EXPORT Standard_Integer NbAuthor() const;
0098
0099 Standard_EXPORT void SetOrganization (const Handle(Interface_HArray1OfHAsciiString)& aOrganization);
0100
0101 Standard_EXPORT void SetOrganizationValue (const Standard_Integer num, const Handle(TCollection_HAsciiString)& aOrganization);
0102
0103 Standard_EXPORT Handle(Interface_HArray1OfHAsciiString) Organization() const;
0104
0105
0106
0107 Standard_EXPORT Handle(TCollection_HAsciiString) OrganizationValue (const Standard_Integer num) const;
0108
0109
0110
0111 Standard_EXPORT Standard_Integer NbOrganization() const;
0112
0113 Standard_EXPORT void SetPreprocessorVersion (const Handle(TCollection_HAsciiString)& aPreprocessorVersion);
0114
0115
0116 Standard_EXPORT Handle(TCollection_HAsciiString) PreprocessorVersion() const;
0117
0118 Standard_EXPORT void SetOriginatingSystem (const Handle(TCollection_HAsciiString)& aOriginatingSystem);
0119
0120 Standard_EXPORT Handle(TCollection_HAsciiString) OriginatingSystem() const;
0121
0122 Standard_EXPORT void SetAuthorisation (const Handle(TCollection_HAsciiString)& aAuthorisation);
0123
0124
0125 Standard_EXPORT Handle(TCollection_HAsciiString) Authorisation() const;
0126
0127
0128 Standard_EXPORT Standard_Boolean HasFs() const;
0129
0130
0131 Standard_EXPORT Handle(HeaderSection_FileSchema) FsValue() const;
0132
0133 Standard_EXPORT void SetSchemaIdentifiers (const Handle(Interface_HArray1OfHAsciiString)& aSchemaIdentifiers);
0134
0135 Standard_EXPORT void SetSchemaIdentifiersValue (const Standard_Integer num, const Handle(TCollection_HAsciiString)& aSchemaIdentifier);
0136
0137 Standard_EXPORT Handle(Interface_HArray1OfHAsciiString) SchemaIdentifiers() const;
0138
0139
0140 Standard_EXPORT Handle(TCollection_HAsciiString) SchemaIdentifiersValue (const Standard_Integer num) const;
0141
0142
0143 Standard_EXPORT Standard_Integer NbSchemaIdentifiers() const;
0144
0145
0146 Standard_EXPORT void AddSchemaIdentifier (const Handle(TCollection_HAsciiString)& aSchemaIdentifier);
0147
0148
0149 Standard_EXPORT Standard_Boolean HasFd() const;
0150
0151
0152
0153 Standard_EXPORT Handle(HeaderSection_FileDescription) FdValue() const;
0154
0155 Standard_EXPORT void SetDescription (const Handle(Interface_HArray1OfHAsciiString)& aDescription);
0156
0157 Standard_EXPORT void SetDescriptionValue (const Standard_Integer num, const Handle(TCollection_HAsciiString)& aDescription);
0158
0159 Standard_EXPORT Handle(Interface_HArray1OfHAsciiString) Description() const;
0160
0161
0162
0163 Standard_EXPORT Handle(TCollection_HAsciiString) DescriptionValue (const Standard_Integer num) const;
0164
0165
0166
0167 Standard_EXPORT Standard_Integer NbDescription() const;
0168
0169 Standard_EXPORT void SetImplementationLevel (const Handle(TCollection_HAsciiString)& aImplementationLevel);
0170
0171
0172
0173 Standard_EXPORT Handle(TCollection_HAsciiString) ImplementationLevel() const;
0174
0175
0176
0177
0178 protected:
0179
0180
0181
0182
0183
0184 private:
0185
0186
0187
0188 Standard_Boolean done;
0189 Handle(HeaderSection_FileName) fn;
0190 Handle(HeaderSection_FileSchema) fs;
0191 Handle(HeaderSection_FileDescription) fd;
0192
0193
0194 };
0195
0196
0197
0198
0199
0200
0201
0202 #endif