File indexing completed on 2025-01-18 10:05:04
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 class StepBasic_ProductDefinitionReference;
0028 DEFINE_STANDARD_HANDLE(StepBasic_ProductDefinitionReference, Standard_Transient)
0029
0030
0031 class StepBasic_ProductDefinitionReference : public Standard_Transient
0032 {
0033 public:
0034
0035
0036 Standard_EXPORT StepBasic_ProductDefinitionReference();
0037
0038
0039 Standard_EXPORT void Init (const Handle(StepBasic_ExternalSource)& theSource,
0040 const Handle(TCollection_HAsciiString)& theProductId,
0041 const Handle(TCollection_HAsciiString)& theProductDefinitionFormationId,
0042 const Handle(TCollection_HAsciiString)& theProductDefinitionId,
0043 const Handle(TCollection_HAsciiString)& theIdOwningOrganizationName);
0044
0045
0046 Standard_EXPORT void Init (const Handle(StepBasic_ExternalSource)& theSource,
0047 const Handle(TCollection_HAsciiString)& theProductId,
0048 const Handle(TCollection_HAsciiString)& theProductDefinitionFormationId,
0049 const Handle(TCollection_HAsciiString)& theProductDefinitionId);
0050
0051
0052 inline Handle(StepBasic_ExternalSource) Source() const
0053 {
0054 return mySource;
0055 }
0056
0057
0058 inline void SetSource (const Handle(StepBasic_ExternalSource)& theSource)
0059 {
0060 mySource = theSource;
0061 }
0062
0063
0064 inline Handle(TCollection_HAsciiString) ProductId() const
0065 {
0066 return myProductId;
0067 }
0068
0069
0070 inline void SetProductId (const Handle(TCollection_HAsciiString)& theProductId)
0071 {
0072 myProductId = theProductId;
0073 }
0074
0075
0076 inline Handle(TCollection_HAsciiString) ProductDefinitionFormationId() const
0077 {
0078 return myProductDefinitionFormationId;
0079 }
0080
0081
0082 inline void SetProductDefinitionFormationId (const Handle(TCollection_HAsciiString)& theProductDefinitionFormationId)
0083 {
0084 myProductDefinitionFormationId = theProductDefinitionFormationId;
0085 }
0086
0087
0088 inline Handle(TCollection_HAsciiString) ProductDefinitionId() const
0089 {
0090 return myProductDefinitionId;
0091 }
0092
0093
0094 inline void SetProductDefinitionId (const Handle(TCollection_HAsciiString)& theProductDefinitionId)
0095 {
0096 myProductDefinitionId = theProductDefinitionId;
0097 }
0098
0099
0100 inline Handle(TCollection_HAsciiString) IdOwningOrganizationName() const
0101 {
0102 return myIdOwningOrganizationName;
0103 }
0104
0105
0106 inline void SetIdOwningOrganizationName (const Handle(TCollection_HAsciiString)& theIdOwningOrganizationName)
0107 {
0108 myIdOwningOrganizationName = theIdOwningOrganizationName;
0109 hasIdOwningOrganizationName = (!theIdOwningOrganizationName.IsNull());
0110 }
0111
0112
0113 inline Standard_Boolean HasIdOwningOrganizationName() const
0114 {
0115 return hasIdOwningOrganizationName;
0116 }
0117
0118 DEFINE_STANDARD_RTTIEXT(StepBasic_ProductDefinitionReference, Standard_Transient)
0119
0120 private:
0121 Handle(StepBasic_ExternalSource) mySource;
0122 Handle(TCollection_HAsciiString) myProductId;
0123 Handle(TCollection_HAsciiString) myProductDefinitionFormationId;
0124 Handle(TCollection_HAsciiString) myProductDefinitionId;
0125 Handle(TCollection_HAsciiString) myIdOwningOrganizationName;
0126 Standard_Boolean hasIdOwningOrganizationName;
0127 };
0128
0129 #endif