blob: 2219fd57e0b0b6caa272ef01efe99065e32111f1 (
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
|
#include <StepAP214_AppliedSecurityClassificationAssignment.ixx>
StepAP214_AppliedSecurityClassificationAssignment::StepAP214_AppliedSecurityClassificationAssignment () {}
void StepAP214_AppliedSecurityClassificationAssignment::Init(
const Handle(StepBasic_SecurityClassification)& aAssignedSecurityClassification)
{
StepBasic_SecurityClassificationAssignment::Init(aAssignedSecurityClassification);
}
void StepAP214_AppliedSecurityClassificationAssignment::Init(
const Handle(StepBasic_SecurityClassification)& aAssignedSecurityClassification,
const Handle(StepAP214_HArray1OfSecurityClassificationItem)& aItems)
{
// --- classe own fields ---
items = aItems;
// --- classe inherited fields ---
StepBasic_SecurityClassificationAssignment::Init(aAssignedSecurityClassification);
}
void StepAP214_AppliedSecurityClassificationAssignment::SetItems(const Handle(StepAP214_HArray1OfSecurityClassificationItem)& aItems)
{
items = aItems;
}
Handle(StepAP214_HArray1OfSecurityClassificationItem) StepAP214_AppliedSecurityClassificationAssignment::Items() const
{
return items;
}
const StepAP214_SecurityClassificationItem& StepAP214_AppliedSecurityClassificationAssignment::ItemsValue(const Standard_Integer num) const
{
return items->Value(num);
}
Standard_Integer StepAP214_AppliedSecurityClassificationAssignment::NbItems () const
{
if (items.IsNull()) return 0;
return items->Length();
}
|