Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-09-13 09:17:50

0001 // Created on: 1999-03-09
0002 // Created by: data exchange team
0003 // Copyright (c) 1999 Matra Datavision
0004 // Copyright (c) 1999-2014 OPEN CASCADE SAS
0005 //
0006 // This file is part of Open CASCADE Technology software library.
0007 //
0008 // This library is free software; you can redistribute it and/or modify it under
0009 // the terms of the GNU Lesser General Public License version 2.1 as published
0010 // by the Free Software Foundation, with special exception defined in the file
0011 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
0012 // distribution for complete text of the license and disclaimer of any warranty.
0013 //
0014 // Alternatively, this file may be used under the terms of Open CASCADE
0015 // commercial license or contractual agreement.
0016 
0017 #ifndef _StepAP214_ApprovalItem_HeaderFile
0018 #define _StepAP214_ApprovalItem_HeaderFile
0019 
0020 #include <Standard.hxx>
0021 #include <Standard_DefineAlloc.hxx>
0022 #include <Standard_Handle.hxx>
0023 
0024 #include <StepData_SelectType.hxx>
0025 #include <Standard_Integer.hxx>
0026 class Standard_Transient;
0027 class StepRepr_AssemblyComponentUsageSubstitute;
0028 class StepBasic_DocumentFile;
0029 class StepRepr_MaterialDesignation;
0030 class StepVisual_MechanicalDesignGeometricPresentationRepresentation;
0031 class StepVisual_PresentationArea;
0032 class StepBasic_Product;
0033 class StepBasic_ProductDefinition;
0034 class StepBasic_ProductDefinitionFormation;
0035 class StepBasic_ProductDefinitionRelationship;
0036 class StepRepr_PropertyDefinition;
0037 class StepShape_ShapeRepresentation;
0038 class StepBasic_SecurityClassification;
0039 class StepRepr_ConfigurationItem;
0040 class StepBasic_Date;
0041 class StepBasic_Document;
0042 class StepBasic_Effectivity;
0043 class StepBasic_Group;
0044 class StepBasic_GroupRelationship;
0045 class StepBasic_ProductDefinitionFormationRelationship;
0046 class StepRepr_Representation;
0047 class StepRepr_ShapeAspectRelationship;
0048 
0049 class StepAP214_ApprovalItem : public StepData_SelectType
0050 {
0051 public:
0052   DEFINE_STANDARD_ALLOC
0053 
0054   //! Returns a ApprovalItem SelectType
0055   Standard_EXPORT StepAP214_ApprovalItem();
0056 
0057   //! Recognizes a ApprovalItem Kind Entity that is :
0058   //! 1 -> AssemblyComponentUsageSubstitute
0059   //! 2 -> DocumentFile
0060   //! 3 -> MaterialDesignation
0061   //! 4 -> MechanicalDesignGeometricPresentationRepresentation
0062   //! 5 -> PresentationArea
0063   //! 6 -> Product
0064   //! 7 -> ProductDefinition
0065   //! 8 -> ProductDefinitionFormation
0066   //! 9 -> ProductDefinitionRelationship
0067   //! 10 -> PropertyDefinition
0068   //! 11 -> ShapeRepresentation
0069   //! 12 -> SecurityClassification
0070   //! 13 -> ConfigurationItem
0071   //! 14 -> Date
0072   //! 15 -> Document
0073   //! 16 -> Effectivity
0074   //! 17 -> Group
0075   //! 18 -> GroupRelationship
0076   //! 19 -> ProductDefinitionFormationRelationship
0077   //! 20 -> Representation
0078   //! 21 -> ShapeAspectRelationship
0079   //! 0 else
0080   Standard_EXPORT int CaseNum(const occ::handle<Standard_Transient>& ent) const override;
0081 
0082   //! returns Value as a AssemblyComponentUsageSubstitute (Null if another type)
0083   Standard_EXPORT virtual occ::handle<StepRepr_AssemblyComponentUsageSubstitute>
0084     AssemblyComponentUsageSubstitute() const;
0085 
0086   //! returns Value as a DocumentFile (Null if another type)
0087   Standard_EXPORT virtual occ::handle<StepBasic_DocumentFile> DocumentFile() const;
0088 
0089   //! returns Value as a MaterialDesignation (Null if another type)
0090   Standard_EXPORT virtual occ::handle<StepRepr_MaterialDesignation> MaterialDesignation() const;
0091 
0092   //! returns Value as a MechanicalDesignGeometricPresentationRepresentation (Null if another type)
0093   Standard_EXPORT virtual occ::handle<
0094     StepVisual_MechanicalDesignGeometricPresentationRepresentation>
0095     MechanicalDesignGeometricPresentationRepresentation() const;
0096 
0097   //! returns Value as a PresentationArea (Null if another type)
0098   Standard_EXPORT virtual occ::handle<StepVisual_PresentationArea> PresentationArea() const;
0099 
0100   //! returns Value as a Product (Null if another type)
0101   Standard_EXPORT virtual occ::handle<StepBasic_Product> Product() const;
0102 
0103   //! returns Value as a ProductDefinition (Null if another type)
0104   Standard_EXPORT virtual occ::handle<StepBasic_ProductDefinition> ProductDefinition() const;
0105 
0106   //! returns Value as a ProductDefinitionFormation (Null if another type)
0107   Standard_EXPORT virtual occ::handle<StepBasic_ProductDefinitionFormation>
0108     ProductDefinitionFormation() const;
0109 
0110   //! returns Value as aProductDefinitionRelationship (Null if another type)
0111   Standard_EXPORT virtual occ::handle<StepBasic_ProductDefinitionRelationship>
0112     ProductDefinitionRelationship() const;
0113 
0114   //! returns Value as a PropertyDefinition (Null if another type)
0115   Standard_EXPORT virtual occ::handle<StepRepr_PropertyDefinition> PropertyDefinition() const;
0116 
0117   //! returns Value as a ShapeRepresentation (Null if another type)
0118   Standard_EXPORT virtual occ::handle<StepShape_ShapeRepresentation> ShapeRepresentation() const;
0119 
0120   //! returns Value as a SecurityClassification (Null if another type)
0121   Standard_EXPORT virtual occ::handle<StepBasic_SecurityClassification> SecurityClassification()
0122     const;
0123 
0124   //! returns Value as a ConfigurationItem (Null if another type)
0125   Standard_EXPORT virtual occ::handle<StepRepr_ConfigurationItem> ConfigurationItem() const;
0126 
0127   //! returns Value as a Date (Null if another type)
0128   Standard_EXPORT virtual occ::handle<StepBasic_Date> Date() const;
0129 
0130   //! returns Value as a Document (Null if another type)
0131   Standard_EXPORT virtual occ::handle<StepBasic_Document> Document() const;
0132 
0133   //! returns Value as a Effectivity (Null if another type)
0134   Standard_EXPORT virtual occ::handle<StepBasic_Effectivity> Effectivity() const;
0135 
0136   //! returns Value as a Group (Null if another type)
0137   Standard_EXPORT virtual occ::handle<StepBasic_Group> Group() const;
0138 
0139   //! returns Value as a GroupRelationship (Null if another type)
0140   Standard_EXPORT virtual occ::handle<StepBasic_GroupRelationship> GroupRelationship() const;
0141 
0142   //! returns Value as a ProductDefinitionFormationRelationship (Null if another type)
0143   Standard_EXPORT virtual occ::handle<StepBasic_ProductDefinitionFormationRelationship>
0144     ProductDefinitionFormationRelationship() const;
0145 
0146   //! returns Value as a Representation (Null if another type)
0147   Standard_EXPORT virtual occ::handle<StepRepr_Representation> Representation() const;
0148 
0149   //! returns Value as a ShapeAspectRelationship (Null if another type)
0150   Standard_EXPORT virtual occ::handle<StepRepr_ShapeAspectRelationship> ShapeAspectRelationship()
0151     const;
0152 };
0153 
0154 #endif // _StepAP214_ApprovalItem_HeaderFile