Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:05:02

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 
0042   DEFINE_STANDARD_ALLOC
0043   
0044   //! Returns a IdAttributeSelect select type
0045   Standard_EXPORT StepAP242_IdAttributeSelect();
0046   
0047   //! Recognizes a IdAttributeSelect Kind Entity that is :
0048   //! 1 -> Action
0049   //! 2 -> Address
0050   //! 3 -> ApplicationContext
0051   //! 4 -> DimensionalSize
0052   //! 5 -> GeometricTolerance
0053   //! 6 -> Group
0054   //! 7 -> Reserved for OrganizatonalProject (not implemented in OCCT)
0055   //! 8 -> ProductCategory
0056   //! 9 -> PropertyDefinition
0057   //! 10 -> Representation
0058   //! 11 -> ShapeAspect
0059   //! 12 -> ShapeAspectRelationship
0060   //! 0 else
0061   Standard_EXPORT Standard_Integer CaseNum (const Handle(Standard_Transient)& ent)  const;
0062   
0063   //! returns Value as a Action (Null if another type)
0064   Standard_EXPORT Handle(StepBasic_Action) Action()  const;
0065   
0066   //! returns Value as a Address (Null if another type)
0067   Standard_EXPORT Handle(StepBasic_Address) Address()  const;
0068   
0069   //! returns Value as a ApplicationContext (Null if another type)
0070   Standard_EXPORT Handle(StepBasic_ApplicationContext) ApplicationContext()  const;
0071   
0072   //! returns Value as a DimensionalSize (Null if another type)
0073   Standard_EXPORT Handle(StepShape_DimensionalSize) DimensionalSize()  const;
0074   
0075   //! returns Value as a GeometricTolerance (Null if another type)
0076   Standard_EXPORT Handle(StepDimTol_GeometricTolerance) GeometricTolerance()  const;
0077   
0078   //! returns Value as a Group (Null if another type)
0079   Standard_EXPORT Handle(StepBasic_Group) Group()  const;
0080   
0081   //! returns Value as a ProductCategory (Null if another type)
0082   Standard_EXPORT Handle(StepBasic_ProductCategory) ProductCategory()  const;
0083   
0084   //! returns Value as a PropertyDefinition (Null if another type)
0085   Standard_EXPORT Handle(StepRepr_PropertyDefinition) PropertyDefinition()  const;
0086   
0087   //! returns Value as a Representation (Null if another type)
0088   Standard_EXPORT Handle(StepRepr_Representation) Representation()  const;
0089   
0090   //! returns Value as a ShapeAspect (Null if another type)
0091   Standard_EXPORT Handle(StepRepr_ShapeAspect) ShapeAspect()  const;
0092   
0093   //! returns Value as a ShapeAspectRelationship (Null if another type)
0094   Standard_EXPORT Handle(StepRepr_ShapeAspectRelationship) ShapeAspectRelationship()  const;
0095 };
0096 #endif // _StepAP242_IdAttributeSelect_HeaderFile