# DataExchange
TKSTEP
STEPConstruct

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

`#include <STEPConstruct_AP203Context.hxx>`

## Public Member Functions

void * | operator new (size_t, void *anAddress)
void * | operator new (size_t size)
void | operator delete (void *anAddress)
Standard_EXPORT | STEPConstruct_AP203Context ()
| Creates tool and fills constant fields .
Standard_EXPORT Handle_StepBasic_Approval | DefaultApproval ()
| Returns default approval entity which is used when no other data are available .
Standard_EXPORT void | SetDefaultApproval (const Handle(StepBasic_Approval)&app)
| Sets default approval .
Standard_EXPORT Handle_StepBasic_DateAndTime | DefaultDateAndTime ()
| Returns default date_and_time entity which is used when no other data are available .
Standard_EXPORT void | SetDefaultDateAndTime (const Handle(StepBasic_DateAndTime)&dt)
| Sets default date_and_time entity .
Standard_EXPORT Handle_StepBasic_PersonAndOrganization | DefaultPersonAndOrganization ()
| Returns default person_and_organization entity which is used when no other data are available .
Standard_EXPORT void | SetDefaultPersonAndOrganization (const Handle(StepBasic_PersonAndOrganization)&po)
| Sets default person_and_organization entity .
Standard_EXPORT Handle_StepBasic_SecurityClassificationLevel | DefaultSecurityClassificationLevel ()
| Returns default security_classification_level entity which is used when no other data are available .
Standard_EXPORT void | SetDefaultSecurityClassificationLevel (const Handle(StepBasic_SecurityClassificationLevel)&sc)
| Sets default security_classification_level .
Standard_EXPORT Handle_StepBasic_PersonAndOrganizationRole | RoleCreator () const
Standard_EXPORT Handle_StepBasic_PersonAndOrganizationRole | RoleDesignOwner () const
Standard_EXPORT Handle_StepBasic_PersonAndOrganizationRole | RoleDesignSupplier () const
Standard_EXPORT Handle_StepBasic_PersonAndOrganizationRole | RoleClassificationOfficer () const
Standard_EXPORT Handle_StepBasic_DateTimeRole | RoleCreationDate () const
Standard_EXPORT Handle_StepBasic_DateTimeRole | RoleClassificationDate () const
Standard_EXPORT Handle_StepBasic_ApprovalRole | RoleApprover () const
| Return predefined PersonAndOrganizationRole and DateTimeRole entities named 'creator', 'design owner', 'design supplier', 'classification officer', 'creation date', 'classification date', 'approver' .
Standard_EXPORT 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 .
Standard_EXPORT 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 .
Standard_EXPORT 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
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
.

Standard_EXPORT Handle_StepAP203_CcDesignPersonAndOrganizationAssignment | GetCreator () const
Standard_EXPORT Handle_StepAP203_CcDesignPersonAndOrganizationAssignment | GetDesignOwner () const
Standard_EXPORT Handle_StepAP203_CcDesignPersonAndOrganizationAssignment | GetDesignSupplier () const
Standard_EXPORT Handle_StepAP203_CcDesignPersonAndOrganizationAssignment | GetClassificationOfficer () const
Standard_EXPORT Handle_StepAP203_CcDesignSecurityClassification | GetSecurity () const
Standard_EXPORT Handle_StepAP203_CcDesignDateAndTimeAssignment | GetCreationDate () const
Standard_EXPORT Handle_StepAP203_CcDesignDateAndTimeAssignment | GetClassificationDate () const
Standard_EXPORT Handle_StepAP203_CcDesignApproval | GetApproval () const
Standard_EXPORT Handle_StepBasic_ApprovalPersonOrganization | GetApprover () const
Standard_EXPORT Handle_StepBasic_ApprovalDateTime | GetApprovalDateTime () const
Standard_EXPORT Handle_StepBasic_ProductCategoryRelationship | GetProductCategoryRelationship () const
| Return entities (roots) instantiated for the part by method Init .
Standard_EXPORT void | Clear ()
| Clears all fields describing entities specific to each part .
Standard_EXPORT void | InitRoles ()
| Initializes constant fields (shared entities) .
Standard_EXPORT void | InitAssembly (const Handle(StepRepr_NextAssemblyUsageOccurrence)&nauo)
| Initializes all missing data which are required for assembly .
Standard_EXPORT void | InitSecurityRequisites ()
| Initializes ClassificationOfficer and ClassificationDate entities according to Security entity .
Standard_EXPORT void | InitApprovalRequisites ()
| Initializes Approver and ApprovalDateTime entities according to Approval entity .

## Private Member Functions

Standard_EXPORT void | InitPart (const STEPConstruct_Part &SDRTool)
| Initializes all missing data which are required for part .

## Private Attributes

Handle_StepBasic_Approval | defApproval
Handle_StepBasic_DateAndTime | defDateAndTime
Handle_StepBasic_PersonAndOrganization | defPersonAndOrganization
Handle_StepBasic_SecurityClassificationLevel | defSecurityClassificationLevel
Handle_StepBasic_PersonAndOrganizationRole | roleCreator
Handle_StepBasic_PersonAndOrganizationRole | roleDesignOwner
Handle_StepBasic_PersonAndOrganizationRole | roleDesignSupplier
Handle_StepBasic_PersonAndOrganizationRole | roleClassificationOfficer
Handle_StepBasic_DateTimeRole | roleCreationDate
Handle_StepBasic_DateTimeRole | roleClassificationDate
Handle_StepBasic_ApprovalRole | roleApprover
Handle_StepAP203_CcDesignPersonAndOrganizationAssignment | myCreator
Handle_StepAP203_CcDesignPersonAndOrganizationAssignment | myDesignOwner
Handle_StepAP203_CcDesignPersonAndOrganizationAssignment | myDesignSupplier
Handle_StepAP203_CcDesignPersonAndOrganizationAssignment | myClassificationOfficer
Handle_StepAP203_CcDesignSecurityClassification | mySecurity
Handle_StepAP203_CcDesignDateAndTimeAssignment | myCreationDate
Handle_StepAP203_CcDesignDateAndTimeAssignment | myClassificationDate
Handle_StepAP203_CcDesignApproval | myApproval
Handle_StepBasic_ApprovalPersonOrganization | myApprover
Handle_StepBasic_ApprovalDateTime | myApprovalDateTime
Handle_StepBasic_ProductCategoryRelationship | myProductCategoryRelationship

## Constructor & Destructor Documentation

Standard_EXPORT STEPConstruct_AP203Context::STEPConstruct_AP203Context | ( |  | ) |

## Member Function Documentation

Standard_EXPORT void STEPConstruct_AP203Context::Clear | ( |  | ) |

Standard_EXPORT Handle_StepBasic_Approval STEPConstruct_AP203Context::DefaultApproval | ( |  | ) |

Standard_EXPORT Handle_StepBasic_DateAndTime STEPConstruct_AP203Context::DefaultDateAndTime | ( |  | ) |

Standard_EXPORT Handle_StepBasic_PersonAndOrganization STEPConstruct_AP203Context::DefaultPersonAndOrganization | ( |  | ) |

Standard_EXPORT Handle_StepBasic_SecurityClassificationLevel STEPConstruct_AP203Context::DefaultSecurityClassificationLevel | ( |  | ) |

Standard_EXPORT Handle_StepAP203_CcDesignApproval STEPConstruct_AP203Context::GetApproval | ( |  | ) | const

Standard_EXPORT Handle_StepBasic_ApprovalDateTime STEPConstruct_AP203Context::GetApprovalDateTime | ( |  | ) | const

Standard_EXPORT Handle_StepBasic_ApprovalPersonOrganization STEPConstruct_AP203Context::GetApprover | ( |  | ) | const

Standard_EXPORT Handle_StepAP203_CcDesignDateAndTimeAssignment STEPConstruct_AP203Context::GetClassificationDate | ( |  | ) | const

Standard_EXPORT Handle_StepAP203_CcDesignPersonAndOrganizationAssignment STEPConstruct_AP203Context::GetClassificationOfficer | ( |  | ) | const

Standard_EXPORT Handle_StepAP203_CcDesignDateAndTimeAssignment STEPConstruct_AP203Context::GetCreationDate | ( |  | ) | const

Standard_EXPORT Handle_StepAP203_CcDesignPersonAndOrganizationAssignment STEPConstruct_AP203Context::GetCreator | ( |  | ) | const

Standard_EXPORT Handle_StepAP203_CcDesignPersonAndOrganizationAssignment STEPConstruct_AP203Context::GetDesignOwner | ( |  | ) | const

Standard_EXPORT Handle_StepAP203_CcDesignPersonAndOrganizationAssignment STEPConstruct_AP203Context::GetDesignSupplier | ( |  | ) | const

Standard_EXPORT Handle_StepBasic_ProductCategoryRelationship STEPConstruct_AP203Context::GetProductCategoryRelationship | ( |  | ) | const

Standard_EXPORT Handle_StepAP203_CcDesignSecurityClassification STEPConstruct_AP203Context::GetSecurity | ( |  | ) | const

Standard_EXPORT void STEPConstruct_AP203Context::Init | ( | const Handle(StepRepr_NextAssemblyUsageOccurrence)& | nauo | ) |

Standard_EXPORT void STEPConstruct_AP203Context::Init | ( | const STEPConstruct_Part & | SDRTool | ) |

Standard_EXPORT void STEPConstruct_AP203Context::Init | ( | const Handle(StepShape_ShapeDefinitionRepresentation)& | sdr | ) |

Standard_EXPORT void STEPConstruct_AP203Context::InitApprovalRequisites | ( |  | ) |

Standard_EXPORT void STEPConstruct_AP203Context::InitAssembly | ( | const Handle(StepRepr_NextAssemblyUsageOccurrence)& | nauo | ) |

Standard_EXPORT void STEPConstruct_AP203Context::InitPart | ( | const STEPConstruct_Part & | SDRTool | ) | `[private]`

Standard_EXPORT void STEPConstruct_AP203Context::InitRoles | ( |  | ) |

Standard_EXPORT void STEPConstruct_AP203Context::InitSecurityRequisites | ( |  | ) |

void STEPConstruct_AP203Context::operator delete | ( | void * | anAddress | ) | `[inline]`

void* STEPConstruct_AP203Context::operator new | ( | size_t | size | ) | `[inline]`

void* STEPConstruct_AP203Context::operator new | ( | size_t | ,
|  | void * | anAddress
| ) | `[inline]`

Standard_EXPORT Handle_StepBasic_ApprovalRole STEPConstruct_AP203Context::RoleApprover | ( |  | ) | const

Standard_EXPORT Handle_StepBasic_DateTimeRole STEPConstruct_AP203Context::RoleClassificationDate | ( |  | ) | const

Standard_EXPORT Handle_StepBasic_PersonAndOrganizationRole STEPConstruct_AP203Context::RoleClassificationOfficer | ( |  | ) | const

Standard_EXPORT Handle_StepBasic_DateTimeRole STEPConstruct_AP203Context::RoleCreationDate | ( |  | ) | const

Standard_EXPORT Handle_StepBasic_PersonAndOrganizationRole STEPConstruct_AP203Context::RoleCreator | ( |  | ) | const

Standard_EXPORT Handle_StepBasic_PersonAndOrganizationRole STEPConstruct_AP203Context::RoleDesignOwner | ( |  | ) | const

Standard_EXPORT Handle_StepBasic_PersonAndOrganizationRole STEPConstruct_AP203Context::RoleDesignSupplier | ( |  | ) | const

Standard_EXPORT void STEPConstruct_AP203Context::SetDefaultApproval | ( | const Handle(StepBasic_Approval)& | app | ) |

Standard_EXPORT void STEPConstruct_AP203Context::SetDefaultDateAndTime | ( | const Handle(StepBasic_DateAndTime)& | dt | ) |

Standard_EXPORT void STEPConstruct_AP203Context::SetDefaultPersonAndOrganization | ( | const Handle(StepBasic_PersonAndOrganization)& | po | ) |

Standard_EXPORT void STEPConstruct_AP203Context::SetDefaultSecurityClassificationLevel | ( | const Handle(StepBasic_SecurityClassificationLevel)& | sc | ) |

## Field Documentation

Handle_StepBasic_Approval STEPConstruct_AP203Context::defApproval`[private]`

Handle_StepBasic_DateAndTime STEPConstruct_AP203Context::defDateAndTime`[private]`

Handle_StepBasic_PersonAndOrganization STEPConstruct_AP203Context::defPersonAndOrganization`[private]`

Handle_StepBasic_SecurityClassificationLevel STEPConstruct_AP203Context::defSecurityClassificationLevel`[private]`

Handle_StepAP203_CcDesignApproval STEPConstruct_AP203Context::myApproval`[private]`

Handle_StepBasic_ApprovalDateTime STEPConstruct_AP203Context::myApprovalDateTime`[private]`

Handle_StepBasic_ApprovalPersonOrganization STEPConstruct_AP203Context::myApprover`[private]`

Handle_StepAP203_CcDesignDateAndTimeAssignment STEPConstruct_AP203Context::myClassificationDate`[private]`

Handle_StepAP203_CcDesignPersonAndOrganizationAssignment STEPConstruct_AP203Context::myClassificationOfficer`[private]`

Handle_StepAP203_CcDesignDateAndTimeAssignment STEPConstruct_AP203Context::myCreationDate`[private]`

Handle_StepAP203_CcDesignPersonAndOrganizationAssignment STEPConstruct_AP203Context::myCreator`[private]`

Handle_StepAP203_CcDesignPersonAndOrganizationAssignment STEPConstruct_AP203Context::myDesignOwner`[private]`

Handle_StepAP203_CcDesignPersonAndOrganizationAssignment STEPConstruct_AP203Context::myDesignSupplier`[private]`

Handle_StepBasic_ProductCategoryRelationship STEPConstruct_AP203Context::myProductCategoryRelationship`[private]`

Handle_StepAP203_CcDesignSecurityClassification STEPConstruct_AP203Context::mySecurity`[private]`

Handle_StepBasic_ApprovalRole STEPConstruct_AP203Context::roleApprover`[private]`

Handle_StepBasic_DateTimeRole STEPConstruct_AP203Context::roleClassificationDate`[private]`

Handle_StepBasic_PersonAndOrganizationRole STEPConstruct_AP203Context::roleClassificationOfficer`[private]`

Handle_StepBasic_DateTimeRole STEPConstruct_AP203Context::roleCreationDate`[private]`

Handle_StepBasic_PersonAndOrganizationRole STEPConstruct_AP203Context::roleCreator`[private]`

Handle_StepBasic_PersonAndOrganizationRole STEPConstruct_AP203Context::roleDesignOwner`[private]`

Handle_StepBasic_PersonAndOrganizationRole STEPConstruct_AP203Context::roleDesignSupplier`[private]`

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

- STEPConstruct_AP203Context.hxx