42cf5bc1 |
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 | #ifndef _StepAP203_ApprovedItem_HeaderFile |
18 | #define _StepAP203_ApprovedItem_HeaderFile |
19 | |
20 | #include <Standard.hxx> |
21 | #include <Standard_DefineAlloc.hxx> |
22 | #include <Standard_Handle.hxx> |
23 | |
24 | #include <StepData_SelectType.hxx> |
25 | #include <Standard_Integer.hxx> |
26 | class Standard_Transient; |
27 | class StepBasic_ProductDefinitionFormation; |
28 | class StepBasic_ProductDefinition; |
29 | class StepRepr_ConfigurationEffectivity; |
30 | class StepRepr_ConfigurationItem; |
31 | class StepBasic_SecurityClassification; |
32 | class StepAP203_ChangeRequest; |
33 | class StepAP203_Change; |
34 | class StepAP203_StartRequest; |
35 | class StepAP203_StartWork; |
36 | class StepBasic_Certification; |
37 | class StepBasic_Contract; |
38 | |
39 | |
40 | //! Representation of STEP SELECT type ApprovedItem |
41 | class StepAP203_ApprovedItem : public StepData_SelectType |
42 | { |
43 | public: |
44 | |
45 | DEFINE_STANDARD_ALLOC |
46 | |
47 | |
48 | //! Empty constructor |
49 | Standard_EXPORT StepAP203_ApprovedItem(); |
50 | |
51 | //! Recognizes a kind of ApprovedItem select type |
52 | //! 1 -> ProductDefinitionFormation from StepBasic |
53 | //! 2 -> ProductDefinition from StepBasic |
54 | //! 3 -> ConfigurationEffectivity from StepRepr |
55 | //! 4 -> ConfigurationItem from StepRepr |
56 | //! 5 -> SecurityClassification from StepBasic |
57 | //! 6 -> ChangeRequest from StepAP203 |
58 | //! 7 -> Change from StepAP203 |
59 | //! 8 -> StartRequest from StepAP203 |
60 | //! 9 -> StartWork from StepAP203 |
61 | //! 10 -> Certification from StepBasic |
62 | //! 11 -> Contract from StepBasic |
63 | //! 0 else |
64 | Standard_EXPORT Standard_Integer CaseNum (const Handle(Standard_Transient)& ent) const; |
65 | |
66 | //! Returns Value as ProductDefinitionFormation (or Null if another type) |
67 | Standard_EXPORT Handle(StepBasic_ProductDefinitionFormation) ProductDefinitionFormation() const; |
68 | |
69 | //! Returns Value as ProductDefinition (or Null if another type) |
70 | Standard_EXPORT Handle(StepBasic_ProductDefinition) ProductDefinition() const; |
71 | |
72 | //! Returns Value as ConfigurationEffectivity (or Null if another type) |
73 | Standard_EXPORT Handle(StepRepr_ConfigurationEffectivity) ConfigurationEffectivity() const; |
74 | |
75 | //! Returns Value as ConfigurationItem (or Null if another type) |
76 | Standard_EXPORT Handle(StepRepr_ConfigurationItem) ConfigurationItem() const; |
77 | |
78 | //! Returns Value as SecurityClassification (or Null if another type) |
79 | Standard_EXPORT Handle(StepBasic_SecurityClassification) SecurityClassification() const; |
80 | |
81 | //! Returns Value as ChangeRequest (or Null if another type) |
82 | Standard_EXPORT Handle(StepAP203_ChangeRequest) ChangeRequest() const; |
83 | |
84 | //! Returns Value as Change (or Null if another type) |
85 | Standard_EXPORT Handle(StepAP203_Change) Change() const; |
86 | |
87 | //! Returns Value as StartRequest (or Null if another type) |
88 | Standard_EXPORT Handle(StepAP203_StartRequest) StartRequest() const; |
89 | |
90 | //! Returns Value as StartWork (or Null if another type) |
91 | Standard_EXPORT Handle(StepAP203_StartWork) StartWork() const; |
92 | |
93 | //! Returns Value as Certification (or Null if another type) |
94 | Standard_EXPORT Handle(StepBasic_Certification) Certification() const; |
95 | |
96 | //! Returns Value as Contract (or Null if another type) |
97 | Standard_EXPORT Handle(StepBasic_Contract) Contract() const; |
98 | |
99 | |
100 | |
101 | |
102 | protected: |
103 | |
104 | |
105 | |
106 | |
107 | |
108 | private: |
109 | |
110 | |
111 | |
112 | |
113 | |
114 | }; |
115 | |
116 | |
117 | |
118 | |
119 | |
120 | |
121 | |
122 | #endif // _StepAP203_ApprovedItem_HeaderFile |