0033661: Data Exchange, Step Import - Tessellated GDTs are not imported
[occt.git] / src / StepAP242 / StepAP242_IdAttributeSelect.hxx
1 // Created on: 2015-07-10
2 // Created by: Irina KRYLOVA
3 // Copyright (c) 2015 OPEN CASCADE SAS
4 //
5 // This file is part of Open CASCADE Technology software library.
6 //
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
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.
12 //
13 // Alternatively, this file may be used under the terms of Open CASCADE
14 // commercial license or contractual agreement.
15
16 #ifndef _StepAP242_IdAttributeSelect_HeaderFile
17 #define _StepAP242_IdAttributeSelect_HeaderFile
18
19 #include <Standard.hxx>
20 #include <Standard_DefineAlloc.hxx>
21 #include <Standard_Handle.hxx>
22
23 #include <StepData_SelectType.hxx>
24 #include <Standard_Integer.hxx>
25 class Standard_Transient;
26 class StepBasic_Action;
27 class StepBasic_Address;
28 class StepBasic_ApplicationContext;
29 class StepShape_DimensionalSize;
30 class StepDimTol_GeometricTolerance;
31 class StepBasic_Group;
32 class StepBasic_ProductCategory;
33 class StepRepr_PropertyDefinition;
34 class StepRepr_Representation;
35 class StepRepr_ShapeAspect;
36 class StepRepr_ShapeAspectRelationship;
37
38 class StepAP242_IdAttributeSelect  : public StepData_SelectType
39 {
40 public:
41
42   DEFINE_STANDARD_ALLOC
43   
44   //! Returns a IdAttributeSelect select type
45   Standard_EXPORT StepAP242_IdAttributeSelect();
46   
47   //! Recognizes a IdAttributeSelect Kind Entity that is :
48   //! 1 -> Action
49   //! 2 -> Address
50   //! 3 -> ApplicationContext
51   //! 4 -> DimensionalSize
52   //! 5 -> GeometricTolerance
53   //! 6 -> Group
54   //! 7 -> Reserved for OrganizatonalProject (not implemented in OCCT)
55   //! 8 -> ProductCategory
56   //! 9 -> PropertyDefinition
57   //! 10 -> Representation
58   //! 11 -> ShapeAspect
59   //! 12 -> ShapeAspectRelationship
60   //! 0 else
61   Standard_EXPORT Standard_Integer CaseNum (const Handle(Standard_Transient)& ent)  const;
62   
63   //! returns Value as a Action (Null if another type)
64   Standard_EXPORT Handle(StepBasic_Action) Action()  const;
65   
66   //! returns Value as a Address (Null if another type)
67   Standard_EXPORT Handle(StepBasic_Address) Address()  const;
68   
69   //! returns Value as a ApplicationContext (Null if another type)
70   Standard_EXPORT Handle(StepBasic_ApplicationContext) ApplicationContext()  const;
71   
72   //! returns Value as a DimensionalSize (Null if another type)
73   Standard_EXPORT Handle(StepShape_DimensionalSize) DimensionalSize()  const;
74   
75   //! returns Value as a GeometricTolerance (Null if another type)
76   Standard_EXPORT Handle(StepDimTol_GeometricTolerance) GeometricTolerance()  const;
77   
78   //! returns Value as a Group (Null if another type)
79   Standard_EXPORT Handle(StepBasic_Group) Group()  const;
80   
81   //! returns Value as a ProductCategory (Null if another type)
82   Standard_EXPORT Handle(StepBasic_ProductCategory) ProductCategory()  const;
83   
84   //! returns Value as a PropertyDefinition (Null if another type)
85   Standard_EXPORT Handle(StepRepr_PropertyDefinition) PropertyDefinition()  const;
86   
87   //! returns Value as a Representation (Null if another type)
88   Standard_EXPORT Handle(StepRepr_Representation) Representation()  const;
89   
90   //! returns Value as a ShapeAspect (Null if another type)
91   Standard_EXPORT Handle(StepRepr_ShapeAspect) ShapeAspect()  const;
92   
93   //! returns Value as a ShapeAspectRelationship (Null if another type)
94   Standard_EXPORT Handle(StepRepr_ShapeAspectRelationship) ShapeAspectRelationship()  const;
95 };
96 #endif // _StepAP242_IdAttributeSelect_HeaderFile