blob: d2d63accc70b72edfec3e9e0962951ba6107e193 (
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 <StepRepr_MappedItem.ixx>
StepRepr_MappedItem::StepRepr_MappedItem () {}
void StepRepr_MappedItem::Init(
const Handle(TCollection_HAsciiString)& aName)
{
StepRepr_RepresentationItem::Init(aName);
}
void StepRepr_MappedItem::Init(
const Handle(TCollection_HAsciiString)& aName,
const Handle(StepRepr_RepresentationMap)& aMappingSource,
const Handle(StepRepr_RepresentationItem)& aMappingTarget)
{
// --- classe own fields ---
mappingSource = aMappingSource;
mappingTarget = aMappingTarget;
// --- classe inherited fields ---
StepRepr_RepresentationItem::Init(aName);
}
void StepRepr_MappedItem::SetMappingSource(const Handle(StepRepr_RepresentationMap)& aMappingSource)
{
mappingSource = aMappingSource;
}
Handle(StepRepr_RepresentationMap) StepRepr_MappedItem::MappingSource() const
{
return mappingSource;
}
void StepRepr_MappedItem::SetMappingTarget(const Handle(StepRepr_RepresentationItem)& aMappingTarget)
{
mappingTarget = aMappingTarget;
}
Handle(StepRepr_RepresentationItem) StepRepr_MappedItem::MappingTarget() const
{
return mappingTarget;
}
|