b311480e |
1 | // Created on: 2002-12-12 |
2 | // Created by: data exchange team |
973c2be1 |
3 | // Copyright (c) 2002-2014 OPEN CASCADE SAS |
b311480e |
4 | // |
973c2be1 |
5 | // This file is part of Open CASCADE Technology software library. |
b311480e |
6 | // |
d5f74e42 |
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 |
973c2be1 |
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. |
b311480e |
12 | // |
973c2be1 |
13 | // Alternatively, this file may be used under the terms of Open CASCADE |
14 | // commercial license or contractual agreement. |
b311480e |
15 | |
7fd59977 |
16 | // Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.2 |
7fd59977 |
17 | |
18 | #include <StepFEA_FeaModel.ixx> |
19 | |
20 | //======================================================================= |
21 | //function : StepFEA_FeaModel |
22 | //purpose : |
23 | //======================================================================= |
24 | |
25 | StepFEA_FeaModel::StepFEA_FeaModel () |
26 | { |
27 | } |
28 | |
29 | //======================================================================= |
30 | //function : Init |
31 | //purpose : |
32 | //======================================================================= |
33 | |
34 | void StepFEA_FeaModel::Init (const Handle(TCollection_HAsciiString) &aRepresentation_Name, |
35 | const Handle(StepRepr_HArray1OfRepresentationItem) &aRepresentation_Items, |
36 | const Handle(StepRepr_RepresentationContext) &aRepresentation_ContextOfItems, |
37 | const Handle(TCollection_HAsciiString) &aCreatingSoftware, |
38 | const Handle(TColStd_HArray1OfAsciiString) &aIntendedAnalysisCode, |
39 | const Handle(TCollection_HAsciiString) &aDescription, |
40 | const Handle(TCollection_HAsciiString) &aAnalysisType) |
41 | { |
42 | StepRepr_Representation::Init(aRepresentation_Name, |
43 | aRepresentation_Items, |
44 | aRepresentation_ContextOfItems); |
45 | |
46 | theCreatingSoftware = aCreatingSoftware; |
47 | |
48 | theIntendedAnalysisCode = aIntendedAnalysisCode; |
49 | |
50 | theDescription = aDescription; |
51 | |
52 | theAnalysisType = aAnalysisType; |
53 | } |
54 | |
55 | //======================================================================= |
56 | //function : CreatingSoftware |
57 | //purpose : |
58 | //======================================================================= |
59 | |
60 | Handle(TCollection_HAsciiString) StepFEA_FeaModel::CreatingSoftware () const |
61 | { |
62 | return theCreatingSoftware; |
63 | } |
64 | |
65 | //======================================================================= |
66 | //function : SetCreatingSoftware |
67 | //purpose : |
68 | //======================================================================= |
69 | |
70 | void StepFEA_FeaModel::SetCreatingSoftware (const Handle(TCollection_HAsciiString) &aCreatingSoftware) |
71 | { |
72 | theCreatingSoftware = aCreatingSoftware; |
73 | } |
74 | |
75 | //======================================================================= |
76 | //function : IntendedAnalysisCode |
77 | //purpose : |
78 | //======================================================================= |
79 | |
80 | Handle(TColStd_HArray1OfAsciiString) StepFEA_FeaModel::IntendedAnalysisCode () const |
81 | { |
82 | return theIntendedAnalysisCode; |
83 | } |
84 | |
85 | //======================================================================= |
86 | //function : SetIntendedAnalysisCode |
87 | //purpose : |
88 | //======================================================================= |
89 | |
90 | void StepFEA_FeaModel::SetIntendedAnalysisCode (const Handle(TColStd_HArray1OfAsciiString) &aIntendedAnalysisCode) |
91 | { |
92 | theIntendedAnalysisCode = aIntendedAnalysisCode; |
93 | } |
94 | |
95 | //======================================================================= |
96 | //function : Description |
97 | //purpose : |
98 | //======================================================================= |
99 | |
100 | Handle(TCollection_HAsciiString) StepFEA_FeaModel::Description () const |
101 | { |
102 | return theDescription; |
103 | } |
104 | |
105 | //======================================================================= |
106 | //function : SetDescription |
107 | //purpose : |
108 | //======================================================================= |
109 | |
110 | void StepFEA_FeaModel::SetDescription (const Handle(TCollection_HAsciiString) &aDescription) |
111 | { |
112 | theDescription = aDescription; |
113 | } |
114 | |
115 | //======================================================================= |
116 | //function : AnalysisType |
117 | //purpose : |
118 | //======================================================================= |
119 | |
120 | Handle(TCollection_HAsciiString) StepFEA_FeaModel::AnalysisType () const |
121 | { |
122 | return theAnalysisType; |
123 | } |
124 | |
125 | //======================================================================= |
126 | //function : SetAnalysisType |
127 | //purpose : |
128 | //======================================================================= |
129 | |
130 | void StepFEA_FeaModel::SetAnalysisType (const Handle(TCollection_HAsciiString) &aAnalysisType) |
131 | { |
132 | theAnalysisType = aAnalysisType; |
133 | } |