7fd59977 |
1 | #include <StepRepr_DescriptiveRepresentationItem.ixx> |
2 | |
3 | |
4 | StepRepr_DescriptiveRepresentationItem::StepRepr_DescriptiveRepresentationItem () {} |
5 | |
6 | void StepRepr_DescriptiveRepresentationItem::Init( |
7 | const Handle(TCollection_HAsciiString)& aName) |
8 | { |
9 | |
10 | StepRepr_RepresentationItem::Init(aName); |
11 | } |
12 | |
13 | void StepRepr_DescriptiveRepresentationItem::Init( |
14 | const Handle(TCollection_HAsciiString)& aName, |
15 | const Handle(TCollection_HAsciiString)& aDescription) |
16 | { |
17 | // --- classe own fields --- |
18 | description = aDescription; |
19 | // --- classe inherited fields --- |
20 | StepRepr_RepresentationItem::Init(aName); |
21 | } |
22 | |
23 | |
24 | void StepRepr_DescriptiveRepresentationItem::SetDescription(const Handle(TCollection_HAsciiString)& aDescription) |
25 | { |
26 | description = aDescription; |
27 | } |
28 | |
29 | Handle(TCollection_HAsciiString) StepRepr_DescriptiveRepresentationItem::Description() const |
30 | { |
31 | return description; |
32 | } |