42cf5bc1 |
1 | // Created on: 1998-08-04 |
2 | // Created by: Christian CAILLET |
3 | // Copyright (c) 1998-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 _StepAP214_AutoDesignReferencingItem_HeaderFile |
18 | #define _StepAP214_AutoDesignReferencingItem_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_Approval; |
28 | class StepBasic_DocumentRelationship; |
29 | class StepRepr_ExternallyDefinedRepresentation; |
30 | class StepRepr_MappedItem; |
31 | class StepRepr_MaterialDesignation; |
32 | class StepVisual_PresentationArea; |
33 | class StepVisual_PresentationView; |
34 | class StepBasic_ProductCategory; |
35 | class StepBasic_ProductDefinition; |
36 | class StepBasic_ProductDefinitionRelationship; |
37 | class StepRepr_PropertyDefinition; |
38 | class StepRepr_Representation; |
39 | class StepRepr_RepresentationRelationship; |
40 | class StepRepr_ShapeAspect; |
41 | |
42 | |
43 | |
44 | class StepAP214_AutoDesignReferencingItem : public StepData_SelectType |
45 | { |
46 | public: |
47 | |
48 | DEFINE_STANDARD_ALLOC |
49 | |
50 | |
51 | //! Returns a AutoDesignReferencingItem SelectType |
52 | Standard_EXPORT StepAP214_AutoDesignReferencingItem(); |
53 | |
54 | //! Recognizes a AutoDesignReferencingItem Kind Entity that is : |
55 | //! 1 Approval from StepBasic, |
56 | //! 2 DocumentRelationship from StepBasic, |
57 | //! 3 ExternallyDefinedRepresentation from StepRepr, |
58 | //! 4 MappedItem from StepRepr, |
59 | //! 5 MaterialDesignation from StepRepr, |
60 | //! 6 PresentationArea from StepVisual, |
61 | //! 7 PresentationView from StepVisual, |
62 | //! 8 ProductCategory from StepBasic, |
63 | //! 9 ProductDefinition from StepBasic, |
64 | //! 10 ProductDefinitionRelationship from StepBasic, |
65 | //! 11 PropertyDefinition from StepBasic, |
66 | //! 12 Representation from StepRepr, |
67 | //! 13 RepresentationRelationship from StepRepr, |
68 | //! 14 ShapeAspect from StepRepr |
69 | //! 0 else |
70 | Standard_EXPORT Standard_Integer CaseNum (const Handle(Standard_Transient)& ent) const; |
71 | |
72 | Standard_EXPORT Handle(StepBasic_Approval) Approval() const; |
73 | |
74 | Standard_EXPORT Handle(StepBasic_DocumentRelationship) DocumentRelationship() const; |
75 | |
76 | Standard_EXPORT Handle(StepRepr_ExternallyDefinedRepresentation) ExternallyDefinedRepresentation() const; |
77 | |
78 | Standard_EXPORT Handle(StepRepr_MappedItem) MappedItem() const; |
79 | |
80 | Standard_EXPORT Handle(StepRepr_MaterialDesignation) MaterialDesignation() const; |
81 | |
82 | Standard_EXPORT Handle(StepVisual_PresentationArea) PresentationArea() const; |
83 | |
84 | Standard_EXPORT Handle(StepVisual_PresentationView) PresentationView() const; |
85 | |
86 | Standard_EXPORT Handle(StepBasic_ProductCategory) ProductCategory() const; |
87 | |
88 | Standard_EXPORT Handle(StepBasic_ProductDefinition) ProductDefinition() const; |
89 | |
90 | Standard_EXPORT Handle(StepBasic_ProductDefinitionRelationship) ProductDefinitionRelationship() const; |
91 | |
92 | Standard_EXPORT Handle(StepRepr_PropertyDefinition) PropertyDefinition() const; |
93 | |
94 | Standard_EXPORT Handle(StepRepr_Representation) Representation() const; |
95 | |
96 | Standard_EXPORT Handle(StepRepr_RepresentationRelationship) RepresentationRelationship() const; |
97 | |
98 | Standard_EXPORT Handle(StepRepr_ShapeAspect) ShapeAspect() const; |
99 | |
100 | |
101 | |
102 | |
103 | protected: |
104 | |
105 | |
106 | |
107 | |
108 | |
109 | private: |
110 | |
111 | |
112 | |
113 | |
114 | |
115 | }; |
116 | |
117 | |
118 | |
119 | |
120 | |
121 | |
122 | |
123 | #endif // _StepAP214_AutoDesignReferencingItem_HeaderFile |