summaryrefslogtreecommitdiff
path: root/src/StepAP214/StepAP214_AppliedPresentedItem.cxx
blob: 54e8e0fc66aef69b9c8d8f3654ac5ed75aa5c1d3 (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_AppliedPresentedItem.ixx>


StepAP214_AppliedPresentedItem::StepAP214_AppliedPresentedItem ()  {}

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


void StepAP214_AppliedPresentedItem::SetItems(const Handle(StepAP214_HArray1OfPresentedItemSelect)& aItems)
{
  items = aItems;
}

Handle(StepAP214_HArray1OfPresentedItemSelect) StepAP214_AppliedPresentedItem::Items() const
{
  return items;
}

StepAP214_PresentedItemSelect  StepAP214_AppliedPresentedItem::ItemsValue(const Standard_Integer num) const
{
  return items->Value(num);
}

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