Open CASCADE Technology 7.8.2.dev
STEPConstruct_AP203Context Class Reference

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.
 
Handle< StepBasic_ApprovalDefaultApproval ()
 Returns default approval entity which is used when no other data are available.
 
void SetDefaultApproval (const Handle< StepBasic_Approval > &app)
 Sets default approval.
 
Handle< StepBasic_DateAndTimeDefaultDateAndTime ()
 Returns default date_and_time entity which is used when no other data are available.
 
void SetDefaultDateAndTime (const Handle< StepBasic_DateAndTime > &dt)
 Sets default date_and_time entity.
 
Handle< StepBasic_PersonAndOrganizationDefaultPersonAndOrganization ()
 Returns default person_and_organization entity which is used when no other data are available.
 
void SetDefaultPersonAndOrganization (const Handle< StepBasic_PersonAndOrganization > &po)
 Sets default person_and_organization entity.
 
Handle< StepBasic_SecurityClassificationLevelDefaultSecurityClassificationLevel ()
 Returns default security_classification_level entity which is used when no other data are available.
 
void SetDefaultSecurityClassificationLevel (const Handle< StepBasic_SecurityClassificationLevel > &sc)
 Sets default security_classification_level.
 
Handle< StepBasic_PersonAndOrganizationRoleRoleCreator () const
 
Handle< StepBasic_PersonAndOrganizationRoleRoleDesignOwner () const
 
Handle< StepBasic_PersonAndOrganizationRoleRoleDesignSupplier () const
 
Handle< StepBasic_PersonAndOrganizationRoleRoleClassificationOfficer () const
 
Handle< StepBasic_DateTimeRoleRoleCreationDate () const
 
Handle< StepBasic_DateTimeRoleRoleClassificationDate () const
 
Handle< StepBasic_ApprovalRoleRoleApprover () const
 Return predefined PersonAndOrganizationRole and DateTimeRole entities named 'creator', 'design owner', 'design supplier', 'classification officer', 'creation date', 'classification date', 'approver'.
 
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.
 
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.
 
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.
 
Handle< StepAP203_CcDesignPersonAndOrganizationAssignmentGetCreator () const
 
Handle< StepAP203_CcDesignPersonAndOrganizationAssignmentGetDesignOwner () const
 
Handle< StepAP203_CcDesignPersonAndOrganizationAssignmentGetDesignSupplier () const
 
Handle< StepAP203_CcDesignPersonAndOrganizationAssignmentGetClassificationOfficer () const
 
Handle< StepAP203_CcDesignSecurityClassificationGetSecurity () const
 
Handle< StepAP203_CcDesignDateAndTimeAssignmentGetCreationDate () const
 
Handle< StepAP203_CcDesignDateAndTimeAssignmentGetClassificationDate () const
 
Handle< StepAP203_CcDesignApprovalGetApproval () const
 
Handle< StepBasic_ApprovalPersonOrganizationGetApprover () const
 
Handle< StepBasic_ApprovalDateTimeGetApprovalDateTime () const
 
Handle< StepBasic_ProductCategoryRelationshipGetProductCategoryRelationship () const
 Return entities (roots) instantiated for the part by method Init.
 
void Clear ()
 Clears all fields describing entities specific to each part.
 
void InitRoles ()
 Initializes constant fields (shared entities)
 
void InitAssembly (const Handle< StepRepr_NextAssemblyUsageOccurrence > &nauo)
 Initializes all missing data which are required for assembly.
 
void InitSecurityRequisites ()
 Initializes ClassificationOfficer and ClassificationDate entities according to Security entity.
 
void InitApprovalRequisites ()
 Initializes Approver and ApprovalDateTime entities according to Approval entity.
 

Detailed Description

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).

Constructor & Destructor Documentation

◆ STEPConstruct_AP203Context()

STEPConstruct_AP203Context::STEPConstruct_AP203Context ( )

Creates tool and fills constant fields.

Member Function Documentation

◆ Clear()

void STEPConstruct_AP203Context::Clear ( )

Clears all fields describing entities specific to each part.

◆ DefaultApproval()

Handle< StepBasic_Approval > STEPConstruct_AP203Context::DefaultApproval ( )

Returns default approval entity which is used when no other data are available.

◆ DefaultDateAndTime()

Handle< StepBasic_DateAndTime > STEPConstruct_AP203Context::DefaultDateAndTime ( )

Returns default date_and_time entity which is used when no other data are available.

◆ DefaultPersonAndOrganization()

Handle< StepBasic_PersonAndOrganization > STEPConstruct_AP203Context::DefaultPersonAndOrganization ( )

Returns default person_and_organization entity which is used when no other data are available.

◆ DefaultSecurityClassificationLevel()

Handle< StepBasic_SecurityClassificationLevel > STEPConstruct_AP203Context::DefaultSecurityClassificationLevel ( )

Returns default security_classification_level entity which is used when no other data are available.

◆ GetApproval()

Handle< StepAP203_CcDesignApproval > STEPConstruct_AP203Context::GetApproval ( ) const

◆ GetApprovalDateTime()

Handle< StepBasic_ApprovalDateTime > STEPConstruct_AP203Context::GetApprovalDateTime ( ) const

◆ GetApprover()

Handle< StepBasic_ApprovalPersonOrganization > STEPConstruct_AP203Context::GetApprover ( ) const

◆ GetClassificationDate()

Handle< StepAP203_CcDesignDateAndTimeAssignment > STEPConstruct_AP203Context::GetClassificationDate ( ) const

◆ GetClassificationOfficer()

Handle< StepAP203_CcDesignPersonAndOrganizationAssignment > STEPConstruct_AP203Context::GetClassificationOfficer ( ) const

◆ GetCreationDate()

Handle< StepAP203_CcDesignDateAndTimeAssignment > STEPConstruct_AP203Context::GetCreationDate ( ) const

◆ GetCreator()

Handle< StepAP203_CcDesignPersonAndOrganizationAssignment > STEPConstruct_AP203Context::GetCreator ( ) const

◆ GetDesignOwner()

Handle< StepAP203_CcDesignPersonAndOrganizationAssignment > STEPConstruct_AP203Context::GetDesignOwner ( ) const

◆ GetDesignSupplier()

Handle< StepAP203_CcDesignPersonAndOrganizationAssignment > STEPConstruct_AP203Context::GetDesignSupplier ( ) const

◆ GetProductCategoryRelationship()

Handle< StepBasic_ProductCategoryRelationship > STEPConstruct_AP203Context::GetProductCategoryRelationship ( ) const

Return entities (roots) instantiated for the part by method Init.

◆ GetSecurity()

Handle< StepAP203_CcDesignSecurityClassification > STEPConstruct_AP203Context::GetSecurity ( ) const

◆ Init() [1/3]

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

◆ Init() [2/3]

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.

◆ Init() [3/3]

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()

◆ InitApprovalRequisites()

void STEPConstruct_AP203Context::InitApprovalRequisites ( )

Initializes Approver and ApprovalDateTime entities according to Approval entity.

◆ InitAssembly()

void STEPConstruct_AP203Context::InitAssembly ( const Handle< StepRepr_NextAssemblyUsageOccurrence > & nauo)

Initializes all missing data which are required for assembly.

◆ InitRoles()

void STEPConstruct_AP203Context::InitRoles ( )

Initializes constant fields (shared entities)

◆ InitSecurityRequisites()

void STEPConstruct_AP203Context::InitSecurityRequisites ( )

Initializes ClassificationOfficer and ClassificationDate entities according to Security entity.

◆ RoleApprover()

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'.

◆ RoleClassificationDate()

Handle< StepBasic_DateTimeRole > STEPConstruct_AP203Context::RoleClassificationDate ( ) const

◆ RoleClassificationOfficer()

Handle< StepBasic_PersonAndOrganizationRole > STEPConstruct_AP203Context::RoleClassificationOfficer ( ) const

◆ RoleCreationDate()

Handle< StepBasic_DateTimeRole > STEPConstruct_AP203Context::RoleCreationDate ( ) const

◆ RoleCreator()

Handle< StepBasic_PersonAndOrganizationRole > STEPConstruct_AP203Context::RoleCreator ( ) const

◆ RoleDesignOwner()

Handle< StepBasic_PersonAndOrganizationRole > STEPConstruct_AP203Context::RoleDesignOwner ( ) const

◆ RoleDesignSupplier()

Handle< StepBasic_PersonAndOrganizationRole > STEPConstruct_AP203Context::RoleDesignSupplier ( ) const

◆ SetDefaultApproval()

void STEPConstruct_AP203Context::SetDefaultApproval ( const Handle< StepBasic_Approval > & app)

Sets default approval.

◆ SetDefaultDateAndTime()

void STEPConstruct_AP203Context::SetDefaultDateAndTime ( const Handle< StepBasic_DateAndTime > & dt)

Sets default date_and_time entity.

◆ SetDefaultPersonAndOrganization()

void STEPConstruct_AP203Context::SetDefaultPersonAndOrganization ( const Handle< StepBasic_PersonAndOrganization > & po)

Sets default person_and_organization entity.

◆ SetDefaultSecurityClassificationLevel()

void STEPConstruct_AP203Context::SetDefaultSecurityClassificationLevel ( const Handle< StepBasic_SecurityClassificationLevel > & sc)

Sets default security_classification_level.


The documentation for this class was generated from the following file: