summaryrefslogtreecommitdiff
path: root/src/StepAP214/StepAP214_AppliedOrganizationAssignment.cxx
blob: 406074b88ce0582babffaf3a8bb151c29664f385 (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_AppliedOrganizationAssignment.ixx>


StepAP214_AppliedOrganizationAssignment::StepAP214_AppliedOrganizationAssignment ()  {}

void StepAP214_AppliedOrganizationAssignment::Init(
	const Handle(StepBasic_Organization)& aAssignedOrganization,
	const Handle(StepBasic_OrganizationRole)& aRole)
{

	StepBasic_OrganizationAssignment::Init(aAssignedOrganization, aRole);
}

void StepAP214_AppliedOrganizationAssignment::Init(
	const Handle(StepBasic_Organization)& aAssignedOrganization,
	const Handle(StepBasic_OrganizationRole)& aRole,
	const Handle(StepAP214_HArray1OfOrganizationItem)& aItems)
{
	// --- classe own fields ---
	items = aItems;
	// --- classe inherited fields ---
	StepBasic_OrganizationAssignment::Init(aAssignedOrganization, aRole);
}


void StepAP214_AppliedOrganizationAssignment::SetItems(const Handle(StepAP214_HArray1OfOrganizationItem)& aItems)
{
	items = aItems;
}

Handle(StepAP214_HArray1OfOrganizationItem) StepAP214_AppliedOrganizationAssignment::Items() const
{
	return items;
}

StepAP214_OrganizationItem StepAP214_AppliedOrganizationAssignment::ItemsValue(const Standard_Integer num) const
{
	return items->Value(num);
}

Standard_Integer StepAP214_AppliedOrganizationAssignment::NbItems () const
{
	return items->Length();
}