Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-08-13 09:19:43

0001 // Created on: 2015-07-10
0002 // Created by: Irina KRYLOVA
0003 // Copyright (c) 2015 OPEN CASCADE SAS
0004 //
0005 // This file is part of Open CASCADE Technology software library.
0006 //
0007 // This library is free software; you can redistribute it and/or modify it under
0008 // the terms of the GNU Lesser General Public License version 2.1 as published
0009 // by the Free Software Foundation, with special exception defined in the file
0010 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
0011 // distribution for complete text of the license and disclaimer of any warranty.
0012 //
0013 // Alternatively, this file may be used under the terms of Open CASCADE
0014 // commercial license or contractual agreement.
0015 
0016 #ifndef _StepAP242_IdAttributeSelect_HeaderFile
0017 #define _StepAP242_IdAttributeSelect_HeaderFile
0018 
0019 #include <Standard.hxx>
0020 #include <Standard_DefineAlloc.hxx>
0021 #include <Standard_Handle.hxx>
0022 
0023 #include <StepData_SelectType.hxx>
0024 #include <Standard_Integer.hxx>
0025 class Standard_Transient;
0026 class StepBasic_Action;
0027 class StepBasic_Address;
0028 class StepBasic_ApplicationContext;
0029 class StepShape_DimensionalSize;
0030 class StepDimTol_GeometricTolerance;
0031 class StepBasic_Group;
0032 class StepBasic_ProductCategory;
0033 class StepRepr_PropertyDefinition;
0034 class StepRepr_Representation;
0035 class StepRepr_ShapeAspect;
0036 class StepRepr_ShapeAspectRelationship;
0037 
0038 class StepAP242_IdAttributeSelect : public StepData_SelectType
0039 {
0040 public:
0041   DEFINE_STANDARD_ALLOC
0042 
0043   //! Returns a IdAttributeSelect select type
0044   Standard_EXPORT StepAP242_IdAttributeSelect();
0045 
0046   //! Recognizes a IdAttributeSelect Kind Entity that is :
0047   //! 1 -> Action
0048   //! 2 -> Address
0049   //! 3 -> ApplicationContext
0050   //! 4 -> DimensionalSize
0051   //! 5 -> GeometricTolerance
0052   //! 6 -> Group
0053   //! 7 -> Reserved for OrganizatonalProject (not implemented in OCCT)
0054   //! 8 -> ProductCategory
0055   //! 9 -> PropertyDefinition
0056   //! 10 -> Representation
0057   //! 11 -> ShapeAspect
0058   //! 12 -> ShapeAspectRelationship
0059   //! 0 else
0060   Standard_EXPORT Standard_Integer CaseNum(const Handle(Standard_Transient)& ent) const;
0061 
0062   //! returns Value as a Action (Null if another type)
0063   Standard_EXPORT Handle(StepBasic_Action) Action() const;
0064 
0065   //! returns Value as a Address (Null if another type)
0066   Standard_EXPORT Handle(StepBasic_Address) Address() const;
0067 
0068   //! returns Value as a ApplicationContext (Null if another type)
0069   Standard_EXPORT Handle(StepBasic_ApplicationContext) ApplicationContext() const;
0070 
0071   //! returns Value as a DimensionalSize (Null if another type)
0072   Standard_EXPORT Handle(StepShape_DimensionalSize) DimensionalSize() const;
0073 
0074   //! returns Value as a GeometricTolerance (Null if another type)
0075   Standard_EXPORT Handle(StepDimTol_GeometricTolerance) GeometricTolerance() const;
0076 
0077   //! returns Value as a Group (Null if another type)
0078   Standard_EXPORT Handle(StepBasic_Group) Group() const;
0079 
0080   //! returns Value as a ProductCategory (Null if another type)
0081   Standard_EXPORT Handle(StepBasic_ProductCategory) ProductCategory() const;
0082 
0083   //! returns Value as a PropertyDefinition (Null if another type)
0084   Standard_EXPORT Handle(StepRepr_PropertyDefinition) PropertyDefinition() const;
0085 
0086   //! returns Value as a Representation (Null if another type)
0087   Standard_EXPORT Handle(StepRepr_Representation) Representation() const;
0088 
0089   //! returns Value as a ShapeAspect (Null if another type)
0090   Standard_EXPORT Handle(StepRepr_ShapeAspect) ShapeAspect() const;
0091 
0092   //! returns Value as a ShapeAspectRelationship (Null if another type)
0093   Standard_EXPORT Handle(StepRepr_ShapeAspectRelationship) ShapeAspectRelationship() const;
0094 };
0095 #endif // _StepAP242_IdAttributeSelect_HeaderFile