Open CASCADE Technology
7.3.0
|
Maintains context specific for AP203 (required data and management information such as persons, dates, approvals etc.) It contains static entities (which can be shared), default values for person and organisation, and also provides tool for creating management entities around specific part (SDR). More...
#include <STEPConstruct_AP203Context.hxx>
Public Member Functions | |
STEPConstruct_AP203Context () | |
Creates tool and fills constant fields. More... | |
Handle< StepBasic_Approval > | DefaultApproval () |
Returns default approval entity which is used when no other data are available. More... | |
void | SetDefaultApproval (const Handle< StepBasic_Approval > &app) |
Sets default approval. More... | |
Handle< StepBasic_DateAndTime > | DefaultDateAndTime () |
Returns default date_and_time entity which is used when no other data are available. More... | |
void | SetDefaultDateAndTime (const Handle< StepBasic_DateAndTime > &dt) |
Sets default date_and_time entity. More... | |
Handle< StepBasic_PersonAndOrganization > | DefaultPersonAndOrganization () |
Returns default person_and_organization entity which is used when no other data are available. More... | |
void | SetDefaultPersonAndOrganization (const Handle< StepBasic_PersonAndOrganization > &po) |
Sets default person_and_organization entity. More... | |
Handle< StepBasic_SecurityClassificationLevel > | DefaultSecurityClassificationLevel () |
Returns default security_classification_level entity which is used when no other data are available. More... | |
void | SetDefaultSecurityClassificationLevel (const Handle< StepBasic_SecurityClassificationLevel > &sc) |
Sets default security_classification_level. More... | |
Handle< StepBasic_PersonAndOrganizationRole > | RoleCreator () const |
Handle< StepBasic_PersonAndOrganizationRole > | RoleDesignOwner () const |
Handle< StepBasic_PersonAndOrganizationRole > | RoleDesignSupplier () const |
Handle< StepBasic_PersonAndOrganizationRole > | RoleClassificationOfficer () const |
Handle< StepBasic_DateTimeRole > | RoleCreationDate () const |
Handle< StepBasic_DateTimeRole > | RoleClassificationDate () const |
Handle< StepBasic_ApprovalRole > | RoleApprover () const |
Return predefined PersonAndOrganizationRole and DateTimeRole entities named 'creator', 'design owner', 'design supplier', 'classification officer', 'creation date', 'classification date', 'approver'. More... | |
void | Init (const Handle< StepShape_ShapeDefinitionRepresentation > &sdr) |
Takes SDR (part) which brings all standard data around part (common for AP203 and AP214) and creates all the additional entities required for AP203. More... | |
void | Init (const STEPConstruct_Part &SDRTool) |
Takes tool which describes standard data around part (common for AP203 and AP214) and creates all the additional entities required for AP203. More... | |
void | Init (const Handle< StepRepr_NextAssemblyUsageOccurrence > &nauo) |
Takes NAUO which describes assembly link to component and creates the security_classification entity associated to it as required by the AP203. More... | |
Handle< StepAP203_CcDesignPersonAndOrganizationAssignment > | GetCreator () const |
Handle< StepAP203_CcDesignPersonAndOrganizationAssignment > | GetDesignOwner () const |
Handle< StepAP203_CcDesignPersonAndOrganizationAssignment > | GetDesignSupplier () const |
Handle< StepAP203_CcDesignPersonAndOrganizationAssignment > | GetClassificationOfficer () const |
Handle< StepAP203_CcDesignSecurityClassification > | GetSecurity () const |
Handle< StepAP203_CcDesignDateAndTimeAssignment > | GetCreationDate () const |
Handle< StepAP203_CcDesignDateAndTimeAssignment > | GetClassificationDate () const |
Handle< StepAP203_CcDesignApproval > | GetApproval () const |
Handle< StepBasic_ApprovalPersonOrganization > | GetApprover () const |
Handle< StepBasic_ApprovalDateTime > | GetApprovalDateTime () const |
Handle< StepBasic_ProductCategoryRelationship > | GetProductCategoryRelationship () const |
Return entities (roots) instantiated for the part by method Init. More... | |
void | Clear () |
Clears all fields describing entities specific to each part. More... | |
void | InitRoles () |
Initializes constant fields (shared entities) More... | |
void | InitAssembly (const Handle< StepRepr_NextAssemblyUsageOccurrence > &nauo) |
Initializes all missing data which are required for assembly. More... | |
void | InitSecurityRequisites () |
Initializes ClassificationOfficer and ClassificationDate entities according to Security entity. More... | |
void | InitApprovalRequisites () |
Initializes Approver and ApprovalDateTime entities according to Approval entity. More... | |
Maintains context specific for AP203 (required data and management information such as persons, dates, approvals etc.) It contains static entities (which can be shared), default values for person and organisation, and also provides tool for creating management entities around specific part (SDR).
STEPConstruct_AP203Context::STEPConstruct_AP203Context | ( | ) |
Creates tool and fills constant fields.
void STEPConstruct_AP203Context::Clear | ( | ) |
Clears all fields describing entities specific to each part.
Handle< StepBasic_Approval > STEPConstruct_AP203Context::DefaultApproval | ( | ) |
Returns default approval entity which is used when no other data are available.
Handle< StepBasic_DateAndTime > STEPConstruct_AP203Context::DefaultDateAndTime | ( | ) |
Returns default date_and_time entity which is used when no other data are available.
Handle< StepBasic_PersonAndOrganization > STEPConstruct_AP203Context::DefaultPersonAndOrganization | ( | ) |
Returns default person_and_organization entity which is used when no other data are available.
Handle< StepBasic_SecurityClassificationLevel > STEPConstruct_AP203Context::DefaultSecurityClassificationLevel | ( | ) |
Returns default security_classification_level entity which is used when no other data are available.
Handle< StepAP203_CcDesignApproval > STEPConstruct_AP203Context::GetApproval | ( | ) | const |
Handle< StepBasic_ApprovalDateTime > STEPConstruct_AP203Context::GetApprovalDateTime | ( | ) | const |
Handle< StepBasic_ApprovalPersonOrganization > STEPConstruct_AP203Context::GetApprover | ( | ) | const |
Handle< StepAP203_CcDesignDateAndTimeAssignment > STEPConstruct_AP203Context::GetClassificationDate | ( | ) | const |
Handle< StepAP203_CcDesignPersonAndOrganizationAssignment > STEPConstruct_AP203Context::GetClassificationOfficer | ( | ) | const |
Handle< StepAP203_CcDesignDateAndTimeAssignment > STEPConstruct_AP203Context::GetCreationDate | ( | ) | const |
Handle< StepAP203_CcDesignPersonAndOrganizationAssignment > STEPConstruct_AP203Context::GetCreator | ( | ) | const |
Handle< StepAP203_CcDesignPersonAndOrganizationAssignment > STEPConstruct_AP203Context::GetDesignOwner | ( | ) | const |
Handle< StepAP203_CcDesignPersonAndOrganizationAssignment > STEPConstruct_AP203Context::GetDesignSupplier | ( | ) | const |
Handle< StepBasic_ProductCategoryRelationship > STEPConstruct_AP203Context::GetProductCategoryRelationship | ( | ) | const |
Return entities (roots) instantiated for the part by method Init.
Handle< StepAP203_CcDesignSecurityClassification > STEPConstruct_AP203Context::GetSecurity | ( | ) | const |
void STEPConstruct_AP203Context::Init | ( | const Handle< StepShape_ShapeDefinitionRepresentation > & | sdr | ) |
Takes SDR (part) which brings all standard data around part (common for AP203 and AP214) and creates all the additional entities required for AP203.
void STEPConstruct_AP203Context::Init | ( | const STEPConstruct_Part & | SDRTool | ) |
Takes tool which describes standard data around part (common for AP203 and AP214) and creates all the additional entities required for AP203.
The created entities can be obtained by calls to methods GetCreator(), GetDesignOwner(), GetDesignSupplier(), GetClassificationOfficer(), GetSecurity(), GetCreationDate(), GetClassificationDate(), GetApproval(), GetApprover(), GetApprovalDateTime(), GetProductCategoryRelationship()
void STEPConstruct_AP203Context::Init | ( | const Handle< StepRepr_NextAssemblyUsageOccurrence > & | nauo | ) |
Takes NAUO which describes assembly link to component and creates the security_classification entity associated to it as required by the AP203.
Instantiated (or existing previously) entities concerned can be obtained by calls to methods GetClassificationOfficer(), GetSecurity(), GetClassificationDate(), GetApproval(), GetApprover(), GetApprovalDateTime() Takes tool which describes standard data around part (common for AP203 and AP214) and takes from model (or creates if missing) all the additional entities required by AP203
void STEPConstruct_AP203Context::InitApprovalRequisites | ( | ) |
Initializes Approver and ApprovalDateTime entities according to Approval entity.
void STEPConstruct_AP203Context::InitAssembly | ( | const Handle< StepRepr_NextAssemblyUsageOccurrence > & | nauo | ) |
Initializes all missing data which are required for assembly.
void STEPConstruct_AP203Context::InitRoles | ( | ) |
Initializes constant fields (shared entities)
void STEPConstruct_AP203Context::InitSecurityRequisites | ( | ) |
Initializes ClassificationOfficer and ClassificationDate entities according to Security entity.
Handle< StepBasic_ApprovalRole > STEPConstruct_AP203Context::RoleApprover | ( | ) | const |
Return predefined PersonAndOrganizationRole and DateTimeRole entities named 'creator', 'design owner', 'design supplier', 'classification officer', 'creation date', 'classification date', 'approver'.
Handle< StepBasic_DateTimeRole > STEPConstruct_AP203Context::RoleClassificationDate | ( | ) | const |
Handle< StepBasic_PersonAndOrganizationRole > STEPConstruct_AP203Context::RoleClassificationOfficer | ( | ) | const |
Handle< StepBasic_DateTimeRole > STEPConstruct_AP203Context::RoleCreationDate | ( | ) | const |
Handle< StepBasic_PersonAndOrganizationRole > STEPConstruct_AP203Context::RoleCreator | ( | ) | const |
Handle< StepBasic_PersonAndOrganizationRole > STEPConstruct_AP203Context::RoleDesignOwner | ( | ) | const |
Handle< StepBasic_PersonAndOrganizationRole > STEPConstruct_AP203Context::RoleDesignSupplier | ( | ) | const |
void STEPConstruct_AP203Context::SetDefaultApproval | ( | const Handle< StepBasic_Approval > & | app | ) |
Sets default approval.
void STEPConstruct_AP203Context::SetDefaultDateAndTime | ( | const Handle< StepBasic_DateAndTime > & | dt | ) |
Sets default date_and_time entity.
void STEPConstruct_AP203Context::SetDefaultPersonAndOrganization | ( | const Handle< StepBasic_PersonAndOrganization > & | po | ) |
Sets default person_and_organization entity.
void STEPConstruct_AP203Context::SetDefaultSecurityClassificationLevel | ( | const Handle< StepBasic_SecurityClassificationLevel > & | sc | ) |
Sets default security_classification_level.