1 // Created on: 2015-07-10
2 // Created by: Irina KRYLOVA
3 // Copyright (c) 2015 OPEN CASCADE SAS
5 // This file is part of Open CASCADE Technology software library.
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.
13 // Alternatively, this file may be used under the terms of Open CASCADE
14 // commercial license or contractual agreement.
16 #ifndef _StepAP242_IdAttributeSelect_HeaderFile
17 #define _StepAP242_IdAttributeSelect_HeaderFile
19 #include <Standard.hxx>
20 #include <Standard_DefineAlloc.hxx>
21 #include <Standard_Handle.hxx>
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;
38 class StepAP242_IdAttributeSelect : public StepData_SelectType
44 //! Returns a IdAttributeSelect select type
45 Standard_EXPORT StepAP242_IdAttributeSelect();
47 //! Recognizes a IdAttributeSelect Kind Entity that is :
50 //! 3 -> ApplicationContext
51 //! 4 -> DimensionalSize
52 //! 5 -> GeometricTolerance
54 //! 7 -> Reserved for OrganizatonalProject (not implemented in OCCT)
55 //! 8 -> ProductCategory
56 //! 9 -> PropertyDefinition
57 //! 10 -> Representation
59 //! 12 -> ShapeAspectRelationship
61 Standard_EXPORT Standard_Integer CaseNum (const Handle(Standard_Transient)& ent) const;
63 //! returns Value as a Action (Null if another type)
64 Standard_EXPORT Handle(StepBasic_Action) Action() const;
66 //! returns Value as a Address (Null if another type)
67 Standard_EXPORT Handle(StepBasic_Address) Address() const;
69 //! returns Value as a ApplicationContext (Null if another type)
70 Standard_EXPORT Handle(StepBasic_ApplicationContext) ApplicationContext() const;
72 //! returns Value as a DimensionalSize (Null if another type)
73 Standard_EXPORT Handle(StepShape_DimensionalSize) DimensionalSize() const;
75 //! returns Value as a GeometricTolerance (Null if another type)
76 Standard_EXPORT Handle(StepDimTol_GeometricTolerance) GeometricTolerance() const;
78 //! returns Value as a Group (Null if another type)
79 Standard_EXPORT Handle(StepBasic_Group) Group() const;
81 //! returns Value as a ProductCategory (Null if another type)
82 Standard_EXPORT Handle(StepBasic_ProductCategory) ProductCategory() const;
84 //! returns Value as a PropertyDefinition (Null if another type)
85 Standard_EXPORT Handle(StepRepr_PropertyDefinition) PropertyDefinition() const;
87 //! returns Value as a Representation (Null if another type)
88 Standard_EXPORT Handle(StepRepr_Representation) Representation() const;
90 //! returns Value as a ShapeAspect (Null if another type)
91 Standard_EXPORT Handle(StepRepr_ShapeAspect) ShapeAspect() const;
93 //! returns Value as a ShapeAspectRelationship (Null if another type)
94 Standard_EXPORT Handle(StepRepr_ShapeAspectRelationship) ShapeAspectRelationship() const;
96 #endif // _StepAP242_IdAttributeSelect_HeaderFile