File indexing completed on 2026-09-27 09:19:08
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #ifndef _STEPConstruct_AP203Context_HeaderFile
0018 #define _STEPConstruct_AP203Context_HeaderFile
0019
0020 #include <Standard.hxx>
0021 #include <Standard_DefineAlloc.hxx>
0022 #include <Standard_Handle.hxx>
0023
0024 class StepBasic_Approval;
0025 class StepBasic_DateAndTime;
0026 class StepBasic_PersonAndOrganization;
0027 class StepBasic_SecurityClassificationLevel;
0028 class StepBasic_PersonAndOrganizationRole;
0029 class StepBasic_DateTimeRole;
0030 class StepBasic_ApprovalRole;
0031 class StepAP203_CcDesignPersonAndOrganizationAssignment;
0032 class StepAP203_CcDesignSecurityClassification;
0033 class StepAP203_CcDesignDateAndTimeAssignment;
0034 class StepAP203_CcDesignApproval;
0035 class StepBasic_ApprovalPersonOrganization;
0036 class StepBasic_ApprovalDateTime;
0037 class StepBasic_ProductCategoryRelationship;
0038 class StepShape_ShapeDefinitionRepresentation;
0039 class STEPConstruct_Part;
0040 class StepRepr_NextAssemblyUsageOccurrence;
0041
0042
0043
0044
0045
0046
0047 class STEPConstruct_AP203Context
0048 {
0049 public:
0050 DEFINE_STANDARD_ALLOC
0051
0052
0053 Standard_EXPORT STEPConstruct_AP203Context();
0054
0055
0056
0057 Standard_EXPORT occ::handle<StepBasic_Approval> DefaultApproval();
0058
0059
0060 Standard_EXPORT void SetDefaultApproval(const occ::handle<StepBasic_Approval>& app);
0061
0062
0063
0064 Standard_EXPORT occ::handle<StepBasic_DateAndTime> DefaultDateAndTime();
0065
0066
0067 Standard_EXPORT void SetDefaultDateAndTime(const occ::handle<StepBasic_DateAndTime>& dt);
0068
0069
0070
0071 Standard_EXPORT occ::handle<StepBasic_PersonAndOrganization> DefaultPersonAndOrganization();
0072
0073
0074 Standard_EXPORT void SetDefaultPersonAndOrganization(
0075 const occ::handle<StepBasic_PersonAndOrganization>& po);
0076
0077
0078
0079 Standard_EXPORT occ::handle<StepBasic_SecurityClassificationLevel>
0080 DefaultSecurityClassificationLevel();
0081
0082
0083 Standard_EXPORT void SetDefaultSecurityClassificationLevel(
0084 const occ::handle<StepBasic_SecurityClassificationLevel>& sc);
0085
0086 Standard_EXPORT occ::handle<StepBasic_PersonAndOrganizationRole> RoleCreator() const;
0087
0088 Standard_EXPORT occ::handle<StepBasic_PersonAndOrganizationRole> RoleDesignOwner() const;
0089
0090 Standard_EXPORT occ::handle<StepBasic_PersonAndOrganizationRole> RoleDesignSupplier() const;
0091
0092 Standard_EXPORT occ::handle<StepBasic_PersonAndOrganizationRole> RoleClassificationOfficer()
0093 const;
0094
0095 Standard_EXPORT occ::handle<StepBasic_DateTimeRole> RoleCreationDate() const;
0096
0097 Standard_EXPORT occ::handle<StepBasic_DateTimeRole> RoleClassificationDate() const;
0098
0099
0100
0101
0102
0103 Standard_EXPORT occ::handle<StepBasic_ApprovalRole> RoleApprover() const;
0104
0105
0106
0107
0108 Standard_EXPORT void Init(const occ::handle<StepShape_ShapeDefinitionRepresentation>& sdr);
0109
0110
0111
0112
0113
0114
0115
0116
0117
0118
0119
0120 Standard_EXPORT void Init(const STEPConstruct_Part& SDRTool);
0121
0122
0123
0124
0125
0126
0127
0128
0129
0130
0131
0132
0133
0134 Standard_EXPORT void Init(const occ::handle<StepRepr_NextAssemblyUsageOccurrence>& nauo);
0135
0136 Standard_EXPORT occ::handle<StepAP203_CcDesignPersonAndOrganizationAssignment> GetCreator() const;
0137
0138 Standard_EXPORT occ::handle<StepAP203_CcDesignPersonAndOrganizationAssignment> GetDesignOwner()
0139 const;
0140
0141 Standard_EXPORT occ::handle<StepAP203_CcDesignPersonAndOrganizationAssignment> GetDesignSupplier()
0142 const;
0143
0144 Standard_EXPORT occ::handle<StepAP203_CcDesignPersonAndOrganizationAssignment>
0145 GetClassificationOfficer() const;
0146
0147 Standard_EXPORT occ::handle<StepAP203_CcDesignSecurityClassification> GetSecurity() const;
0148
0149 Standard_EXPORT occ::handle<StepAP203_CcDesignDateAndTimeAssignment> GetCreationDate() const;
0150
0151 Standard_EXPORT occ::handle<StepAP203_CcDesignDateAndTimeAssignment> GetClassificationDate()
0152 const;
0153
0154 Standard_EXPORT occ::handle<StepAP203_CcDesignApproval> GetApproval() const;
0155
0156 Standard_EXPORT occ::handle<StepBasic_ApprovalPersonOrganization> GetApprover() const;
0157
0158 Standard_EXPORT occ::handle<StepBasic_ApprovalDateTime> GetApprovalDateTime() const;
0159
0160
0161 Standard_EXPORT occ::handle<StepBasic_ProductCategoryRelationship>
0162 GetProductCategoryRelationship() const;
0163
0164
0165 Standard_EXPORT void Clear();
0166
0167
0168 Standard_EXPORT void InitRoles();
0169
0170
0171 Standard_EXPORT void InitAssembly(const occ::handle<StepRepr_NextAssemblyUsageOccurrence>& nauo);
0172
0173
0174
0175 Standard_EXPORT void InitSecurityRequisites();
0176
0177
0178
0179 Standard_EXPORT void InitApprovalRequisites();
0180
0181 private:
0182
0183 Standard_EXPORT void InitPart(const STEPConstruct_Part& SDRTool);
0184
0185 occ::handle<StepBasic_Approval> defApproval;
0186 occ::handle<StepBasic_DateAndTime> defDateAndTime;
0187 occ::handle<StepBasic_PersonAndOrganization> defPersonAndOrganization;
0188 occ::handle<StepBasic_SecurityClassificationLevel> defSecurityClassificationLevel;
0189 occ::handle<StepBasic_PersonAndOrganizationRole> roleCreator;
0190 occ::handle<StepBasic_PersonAndOrganizationRole> roleDesignOwner;
0191 occ::handle<StepBasic_PersonAndOrganizationRole> roleDesignSupplier;
0192 occ::handle<StepBasic_PersonAndOrganizationRole> roleClassificationOfficer;
0193 occ::handle<StepBasic_DateTimeRole> roleCreationDate;
0194 occ::handle<StepBasic_DateTimeRole> roleClassificationDate;
0195 occ::handle<StepBasic_ApprovalRole> roleApprover;
0196 occ::handle<StepAP203_CcDesignPersonAndOrganizationAssignment> myCreator;
0197 occ::handle<StepAP203_CcDesignPersonAndOrganizationAssignment> myDesignOwner;
0198 occ::handle<StepAP203_CcDesignPersonAndOrganizationAssignment> myDesignSupplier;
0199 occ::handle<StepAP203_CcDesignPersonAndOrganizationAssignment> myClassificationOfficer;
0200 occ::handle<StepAP203_CcDesignSecurityClassification> mySecurity;
0201 occ::handle<StepAP203_CcDesignDateAndTimeAssignment> myCreationDate;
0202 occ::handle<StepAP203_CcDesignDateAndTimeAssignment> myClassificationDate;
0203 occ::handle<StepAP203_CcDesignApproval> myApproval;
0204 occ::handle<StepBasic_ApprovalPersonOrganization> myApprover;
0205 occ::handle<StepBasic_ApprovalDateTime> myApprovalDateTime;
0206 occ::handle<StepBasic_ProductCategoryRelationship> myProductCategoryRelationship;
0207 };
0208
0209 #endif