blob: c7e7eb844c1466a5945bf10aa59ae45718d19810 (
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
|
// File: StepBasic_IdentificationRole.cxx
// Created: Wed May 10 15:09:08 2000
// Author: Andrey BETENEV
// Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.1
// Copyright: Matra Datavision 2000
#include <StepBasic_IdentificationRole.ixx>
//=======================================================================
//function : StepBasic_IdentificationRole
//purpose :
//=======================================================================
StepBasic_IdentificationRole::StepBasic_IdentificationRole ()
{
defDescription = Standard_False;
}
//=======================================================================
//function : Init
//purpose :
//=======================================================================
void StepBasic_IdentificationRole::Init (const Handle(TCollection_HAsciiString) &aName,
const Standard_Boolean hasDescription,
const Handle(TCollection_HAsciiString) &aDescription)
{
theName = aName;
defDescription = hasDescription;
if (defDescription) {
theDescription = aDescription;
}
else theDescription.Nullify();
}
//=======================================================================
//function : Name
//purpose :
//=======================================================================
Handle(TCollection_HAsciiString) StepBasic_IdentificationRole::Name () const
{
return theName;
}
//=======================================================================
//function : SetName
//purpose :
//=======================================================================
void StepBasic_IdentificationRole::SetName (const Handle(TCollection_HAsciiString) &aName)
{
theName = aName;
}
//=======================================================================
//function : Description
//purpose :
//=======================================================================
Handle(TCollection_HAsciiString) StepBasic_IdentificationRole::Description () const
{
return theDescription;
}
//=======================================================================
//function : SetDescription
//purpose :
//=======================================================================
void StepBasic_IdentificationRole::SetDescription (const Handle(TCollection_HAsciiString) &aDescription)
{
theDescription = aDescription;
}
//=======================================================================
//function : HasDescription
//purpose :
//=======================================================================
Standard_Boolean StepBasic_IdentificationRole::HasDescription () const
{
return defDescription;
}
|