0031642: Visualization - crash in Graphic3d_Structure::SetVisual() on redisplaying...
[occt.git] / src / StepAP203 / StepAP203_ChangeRequest.cxx
1 // Created on: 1999-11-26
2 // Created by: Andrey BETENEV
3 // Copyright (c) 1999 Matra Datavision
4 // Copyright (c) 1999-2014 OPEN CASCADE SAS
5 //
6 // This file is part of Open CASCADE Technology software library.
7 //
8 // This library is free software; you can redistribute it and/or modify it under
9 // the terms of the GNU Lesser General Public License version 2.1 as published
10 // by the Free Software Foundation, with special exception defined in the file
11 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
12 // distribution for complete text of the license and disclaimer of any warranty.
13 //
14 // Alternatively, this file may be used under the terms of Open CASCADE
15 // commercial license or contractual agreement.
16
17 // Generator:   ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.0
18
19 #include <Standard_Type.hxx>
20 #include <StepAP203_ChangeRequest.hxx>
21 #include <StepBasic_VersionedActionRequest.hxx>
22
23 IMPLEMENT_STANDARD_RTTIEXT(StepAP203_ChangeRequest,StepBasic_ActionRequestAssignment)
24
25 //=======================================================================
26 //function : StepAP203_ChangeRequest
27 //purpose  : 
28 //=======================================================================
29 StepAP203_ChangeRequest::StepAP203_ChangeRequest ()
30 {
31 }
32
33 //=======================================================================
34 //function : Init
35 //purpose  : 
36 //=======================================================================
37
38 void StepAP203_ChangeRequest::Init (const Handle(StepBasic_VersionedActionRequest) &aActionRequestAssignment_AssignedActionRequest,
39                                     const Handle(StepAP203_HArray1OfChangeRequestItem) &aItems)
40 {
41   StepBasic_ActionRequestAssignment::Init(aActionRequestAssignment_AssignedActionRequest);
42
43   theItems = aItems;
44 }
45
46 //=======================================================================
47 //function : Items
48 //purpose  : 
49 //=======================================================================
50
51 Handle(StepAP203_HArray1OfChangeRequestItem) StepAP203_ChangeRequest::Items () const
52 {
53   return theItems;
54 }
55
56 //=======================================================================
57 //function : SetItems
58 //purpose  : 
59 //=======================================================================
60
61 void StepAP203_ChangeRequest::SetItems (const Handle(StepAP203_HArray1OfChangeRequestItem) &aItems)
62 {
63   theItems = aItems;
64 }