File indexing completed on 2026-09-18 09:21:53
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016 #ifndef _StepBasic_ProductDefinitionReference_HeaderFile
0017 #define _StepBasic_ProductDefinitionReference_HeaderFile
0018
0019 #include <Standard.hxx>
0020 #include <Standard_Type.hxx>
0021
0022 #include <Standard_Transient.hxx>
0023 class TCollection_HAsciiString;
0024
0025 class StepBasic_ExternalSource;
0026
0027
0028 class StepBasic_ProductDefinitionReference : public Standard_Transient
0029 {
0030 public:
0031
0032 Standard_EXPORT StepBasic_ProductDefinitionReference();
0033
0034
0035 Standard_EXPORT void Init(
0036 const occ::handle<StepBasic_ExternalSource>& theSource,
0037 const occ::handle<TCollection_HAsciiString>& theProductId,
0038 const occ::handle<TCollection_HAsciiString>& theProductDefinitionFormationId,
0039 const occ::handle<TCollection_HAsciiString>& theProductDefinitionId,
0040 const occ::handle<TCollection_HAsciiString>& theIdOwningOrganizationName);
0041
0042
0043 Standard_EXPORT void Init(
0044 const occ::handle<StepBasic_ExternalSource>& theSource,
0045 const occ::handle<TCollection_HAsciiString>& theProductId,
0046 const occ::handle<TCollection_HAsciiString>& theProductDefinitionFormationId,
0047 const occ::handle<TCollection_HAsciiString>& theProductDefinitionId);
0048
0049
0050 inline occ::handle<StepBasic_ExternalSource> Source() const { return mySource; }
0051
0052
0053 inline void SetSource(const occ::handle<StepBasic_ExternalSource>& theSource)
0054 {
0055 mySource = theSource;
0056 }
0057
0058
0059 inline occ::handle<TCollection_HAsciiString> ProductId() const { return myProductId; }
0060
0061
0062 inline void SetProductId(const occ::handle<TCollection_HAsciiString>& theProductId)
0063 {
0064 myProductId = theProductId;
0065 }
0066
0067
0068 inline occ::handle<TCollection_HAsciiString> ProductDefinitionFormationId() const
0069 {
0070 return myProductDefinitionFormationId;
0071 }
0072
0073
0074 inline void SetProductDefinitionFormationId(
0075 const occ::handle<TCollection_HAsciiString>& theProductDefinitionFormationId)
0076 {
0077 myProductDefinitionFormationId = theProductDefinitionFormationId;
0078 }
0079
0080
0081 inline occ::handle<TCollection_HAsciiString> ProductDefinitionId() const
0082 {
0083 return myProductDefinitionId;
0084 }
0085
0086
0087 inline void SetProductDefinitionId(
0088 const occ::handle<TCollection_HAsciiString>& theProductDefinitionId)
0089 {
0090 myProductDefinitionId = theProductDefinitionId;
0091 }
0092
0093
0094 inline occ::handle<TCollection_HAsciiString> IdOwningOrganizationName() const
0095 {
0096 return myIdOwningOrganizationName;
0097 }
0098
0099
0100 inline void SetIdOwningOrganizationName(
0101 const occ::handle<TCollection_HAsciiString>& theIdOwningOrganizationName)
0102 {
0103 myIdOwningOrganizationName = theIdOwningOrganizationName;
0104 hasIdOwningOrganizationName = (!theIdOwningOrganizationName.IsNull());
0105 }
0106
0107
0108 inline bool HasIdOwningOrganizationName() const { return hasIdOwningOrganizationName; }
0109
0110 DEFINE_STANDARD_RTTIEXT(StepBasic_ProductDefinitionReference, Standard_Transient)
0111
0112 private:
0113 occ::handle<StepBasic_ExternalSource> mySource;
0114 occ::handle<TCollection_HAsciiString> myProductId;
0115 occ::handle<TCollection_HAsciiString> myProductDefinitionFormationId;
0116 occ::handle<TCollection_HAsciiString> myProductDefinitionId;
0117 occ::handle<TCollection_HAsciiString> myIdOwningOrganizationName;
0118 bool hasIdOwningOrganizationName;
0119 };
0120
0121 #endif