blob: 5088e5b1a5ce8283f83a7c6a7d9f579822120dda (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
#include <StepAP214_AutoDesignOrganizationAssignment.ixx>
StepAP214_AutoDesignOrganizationAssignment::StepAP214_AutoDesignOrganizationAssignment () {}
void StepAP214_AutoDesignOrganizationAssignment::Init(
const Handle(StepBasic_Organization)& aAssignedOrganization,
const Handle(StepBasic_OrganizationRole)& aRole)
{
StepBasic_OrganizationAssignment::Init(aAssignedOrganization, aRole);
}
void StepAP214_AutoDesignOrganizationAssignment::Init(
const Handle(StepBasic_Organization)& aAssignedOrganization,
const Handle(StepBasic_OrganizationRole)& aRole,
const Handle(StepAP214_HArray1OfAutoDesignGeneralOrgItem)& aItems)
{
// --- classe own fields ---
items = aItems;
// --- classe inherited fields ---
StepBasic_OrganizationAssignment::Init(aAssignedOrganization, aRole);
}
void StepAP214_AutoDesignOrganizationAssignment::SetItems(const Handle(StepAP214_HArray1OfAutoDesignGeneralOrgItem)& aItems)
{
items = aItems;
}
Handle(StepAP214_HArray1OfAutoDesignGeneralOrgItem) StepAP214_AutoDesignOrganizationAssignment::Items() const
{
return items;
}
StepAP214_AutoDesignGeneralOrgItem StepAP214_AutoDesignOrganizationAssignment::ItemsValue(const Standard_Integer num) const
{
return items->Value(num);
}
Standard_Integer StepAP214_AutoDesignOrganizationAssignment::NbItems () const
{
return items->Length();
}
|