summaryrefslogtreecommitdiff
path: root/src/StepAP214/StepAP214_AutoDesignPresentedItem.cxx
blob: b4ca86b571507c3d4e17a3d3f92daebed9e4e5de (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
#include <StepAP214_AutoDesignPresentedItem.ixx>


StepAP214_AutoDesignPresentedItem::StepAP214_AutoDesignPresentedItem ()  {}

void StepAP214_AutoDesignPresentedItem::Init(
	const Handle(StepAP214_HArray1OfAutoDesignPresentedItemSelect)& aItems)
{
	// --- classe own fields ---
	items = aItems;
}


void StepAP214_AutoDesignPresentedItem::SetItems(const Handle(StepAP214_HArray1OfAutoDesignPresentedItemSelect)& aItems)
{
	items = aItems;
}

Handle(StepAP214_HArray1OfAutoDesignPresentedItemSelect) StepAP214_AutoDesignPresentedItem::Items() const
{
	return items;
}

StepAP214_AutoDesignPresentedItemSelect  StepAP214_AutoDesignPresentedItem::ItemsValue(const Standard_Integer num) const
{
	return items->Value(num);
}

Standard_Integer StepAP214_AutoDesignPresentedItem::NbItems () const
{
	if (items.IsNull()) return 0;
	return items->Length();
}