0026936: Drawbacks of inlining in new type system in OCCT 7.0 -- automatic
[occt.git] / src / StepFEA / StepFEA_Curve3dElementProperty.cxx
CommitLineData
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
42cf5bc1 18#include <Standard_Type.hxx>
19#include <StepFEA_Curve3dElementProperty.hxx>
20#include <TCollection_HAsciiString.hxx>
7fd59977 21
92efcf78 22IMPLEMENT_STANDARD_RTTIEXT(StepFEA_Curve3dElementProperty,MMgt_TShared)
23
7fd59977 24//=======================================================================
25//function : StepFEA_Curve3dElementProperty
26//purpose :
27//=======================================================================
7fd59977 28StepFEA_Curve3dElementProperty::StepFEA_Curve3dElementProperty ()
29{
30}
31
32//=======================================================================
33//function : Init
34//purpose :
35//=======================================================================
36
37void StepFEA_Curve3dElementProperty::Init (const Handle(TCollection_HAsciiString) &aPropertyId,
38 const Handle(TCollection_HAsciiString) &aDescription,
39 const Handle(StepFEA_HArray1OfCurveElementInterval) &aIntervalDefinitions,
40 const Handle(StepFEA_HArray1OfCurveElementEndOffset) &aEndOffsets,
41 const Handle(StepFEA_HArray1OfCurveElementEndRelease) &aEndReleases)
42{
43
44 thePropertyId = aPropertyId;
45
46 theDescription = aDescription;
47
48 theIntervalDefinitions = aIntervalDefinitions;
49
50 theEndOffsets = aEndOffsets;
51
52 theEndReleases = aEndReleases;
53}
54
55//=======================================================================
56//function : PropertyId
57//purpose :
58//=======================================================================
59
60Handle(TCollection_HAsciiString) StepFEA_Curve3dElementProperty::PropertyId () const
61{
62 return thePropertyId;
63}
64
65//=======================================================================
66//function : SetPropertyId
67//purpose :
68//=======================================================================
69
70void StepFEA_Curve3dElementProperty::SetPropertyId (const Handle(TCollection_HAsciiString) &aPropertyId)
71{
72 thePropertyId = aPropertyId;
73}
74
75//=======================================================================
76//function : Description
77//purpose :
78//=======================================================================
79
80Handle(TCollection_HAsciiString) StepFEA_Curve3dElementProperty::Description () const
81{
82 return theDescription;
83}
84
85//=======================================================================
86//function : SetDescription
87//purpose :
88//=======================================================================
89
90void StepFEA_Curve3dElementProperty::SetDescription (const Handle(TCollection_HAsciiString) &aDescription)
91{
92 theDescription = aDescription;
93}
94
95//=======================================================================
96//function : IntervalDefinitions
97//purpose :
98//=======================================================================
99
100Handle(StepFEA_HArray1OfCurveElementInterval) StepFEA_Curve3dElementProperty::IntervalDefinitions () const
101{
102 return theIntervalDefinitions;
103}
104
105//=======================================================================
106//function : SetIntervalDefinitions
107//purpose :
108//=======================================================================
109
110void StepFEA_Curve3dElementProperty::SetIntervalDefinitions (const Handle(StepFEA_HArray1OfCurveElementInterval) &aIntervalDefinitions)
111{
112 theIntervalDefinitions = aIntervalDefinitions;
113}
114
115//=======================================================================
116//function : EndOffsets
117//purpose :
118//=======================================================================
119
120Handle(StepFEA_HArray1OfCurveElementEndOffset) StepFEA_Curve3dElementProperty::EndOffsets () const
121{
122 return theEndOffsets;
123}
124
125//=======================================================================
126//function : SetEndOffsets
127//purpose :
128//=======================================================================
129
130void StepFEA_Curve3dElementProperty::SetEndOffsets (const Handle(StepFEA_HArray1OfCurveElementEndOffset) &aEndOffsets)
131{
132 theEndOffsets = aEndOffsets;
133}
134
135//=======================================================================
136//function : EndReleases
137//purpose :
138//=======================================================================
139
140Handle(StepFEA_HArray1OfCurveElementEndRelease) StepFEA_Curve3dElementProperty::EndReleases () const
141{
142 return theEndReleases;
143}
144
145//=======================================================================
146//function : SetEndReleases
147//purpose :
148//=======================================================================
149
150void StepFEA_Curve3dElementProperty::SetEndReleases (const Handle(StepFEA_HArray1OfCurveElementEndRelease) &aEndReleases)
151{
152 theEndReleases = aEndReleases;
153}