0033039: Coding - get rid of unused headers [StepData to StlAPI]
[occt.git] / src / StepElement / StepElement_AnalysisItemWithinRepresentation.cxx
1 // Created on: 2002-12-12
2 // Created by: data exchange team
3 // Copyright (c) 2002-2014 OPEN CASCADE SAS
4 //
5 // This file is part of Open CASCADE Technology software library.
6 //
7 // This library is free software; you can redistribute it and/or modify it under
8 // the terms of the GNU Lesser General Public License version 2.1 as published
9 // by the Free Software Foundation, with special exception defined in the file
10 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
11 // distribution for complete text of the license and disclaimer of any warranty.
12 //
13 // Alternatively, this file may be used under the terms of Open CASCADE
14 // commercial license or contractual agreement.
15
16 // Generator:   ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.2
17
18 #include <StepElement_AnalysisItemWithinRepresentation.hxx>
19 #include <StepRepr_Representation.hxx>
20 #include <StepRepr_RepresentationItem.hxx>
21 #include <TCollection_HAsciiString.hxx>
22
23 IMPLEMENT_STANDARD_RTTIEXT(StepElement_AnalysisItemWithinRepresentation,Standard_Transient)
24
25 //=======================================================================
26 //function : StepElement_AnalysisItemWithinRepresentation
27 //purpose  : 
28 //=======================================================================
29 StepElement_AnalysisItemWithinRepresentation::StepElement_AnalysisItemWithinRepresentation ()
30 {
31 }
32
33 //=======================================================================
34 //function : Init
35 //purpose  : 
36 //=======================================================================
37
38 void StepElement_AnalysisItemWithinRepresentation::Init (const Handle(TCollection_HAsciiString) &aName,
39                                                          const Handle(TCollection_HAsciiString) &aDescription,
40                                                          const Handle(StepRepr_RepresentationItem) &aItem,
41                                                          const Handle(StepRepr_Representation) &aRep)
42 {
43
44   theName = aName;
45
46   theDescription = aDescription;
47
48   theItem = aItem;
49
50   theRep = aRep;
51 }
52
53 //=======================================================================
54 //function : Name
55 //purpose  : 
56 //=======================================================================
57
58 Handle(TCollection_HAsciiString) StepElement_AnalysisItemWithinRepresentation::Name () const
59 {
60   return theName;
61 }
62
63 //=======================================================================
64 //function : SetName
65 //purpose  : 
66 //=======================================================================
67
68 void StepElement_AnalysisItemWithinRepresentation::SetName (const Handle(TCollection_HAsciiString) &aName)
69 {
70   theName = aName;
71 }
72
73 //=======================================================================
74 //function : Description
75 //purpose  : 
76 //=======================================================================
77
78 Handle(TCollection_HAsciiString) StepElement_AnalysisItemWithinRepresentation::Description () const
79 {
80   return theDescription;
81 }
82
83 //=======================================================================
84 //function : SetDescription
85 //purpose  : 
86 //=======================================================================
87
88 void StepElement_AnalysisItemWithinRepresentation::SetDescription (const Handle(TCollection_HAsciiString) &aDescription)
89 {
90   theDescription = aDescription;
91 }
92
93 //=======================================================================
94 //function : Item
95 //purpose  : 
96 //=======================================================================
97
98 Handle(StepRepr_RepresentationItem) StepElement_AnalysisItemWithinRepresentation::Item () const
99 {
100   return theItem;
101 }
102
103 //=======================================================================
104 //function : SetItem
105 //purpose  : 
106 //=======================================================================
107
108 void StepElement_AnalysisItemWithinRepresentation::SetItem (const Handle(StepRepr_RepresentationItem) &aItem)
109 {
110   theItem = aItem;
111 }
112
113 //=======================================================================
114 //function : Rep
115 //purpose  : 
116 //=======================================================================
117
118 Handle(StepRepr_Representation) StepElement_AnalysisItemWithinRepresentation::Rep () const
119 {
120   return theRep;
121 }
122
123 //=======================================================================
124 //function : SetRep
125 //purpose  : 
126 //=======================================================================
127
128 void StepElement_AnalysisItemWithinRepresentation::SetRep (const Handle(StepRepr_Representation) &aRep)
129 {
130   theRep = aRep;
131 }