Back to home page

EIC code displayed by LXR

 
 

    


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

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 
0053   DEFINE_STANDARD_ALLOC
0054 
0055   
0056   //! Returns a ApprovalItem SelectType
0057   Standard_EXPORT StepAP214_ApprovalItem();
0058   
0059   //! Recognizes a ApprovalItem Kind Entity that is :
0060   //! 1 -> AssemblyComponentUsageSubstitute
0061   //! 2 -> DocumentFile
0062   //! 3 -> MaterialDesignation
0063   //! 4 -> MechanicalDesignGeometricPresentationRepresentation
0064   //! 5 -> PresentationArea
0065   //! 6 -> Product
0066   //! 7 -> ProductDefinition
0067   //! 8 -> ProductDefinitionFormation
0068   //! 9 -> ProductDefinitionRelationship
0069   //! 10 -> PropertyDefinition
0070   //! 11 -> ShapeRepresentation
0071   //! 12 -> SecurityClassification
0072   //! 13 -> ConfigurationItem
0073   //! 14 -> Date
0074   //! 15 -> Document
0075   //! 16 -> Effectivity
0076   //! 17 -> Group
0077   //! 18 -> GroupRelationship
0078   //! 19 -> ProductDefinitionFormationRelationship
0079   //! 20 -> Representation
0080   //! 21 -> ShapeAspectRelationship
0081   //! 0 else
0082   Standard_EXPORT virtual Standard_Integer CaseNum (const Handle(Standard_Transient)& ent) const;
0083   
0084   //! returns Value as a AssemblyComponentUsageSubstitute (Null if another type)
0085   Standard_EXPORT virtual Handle(StepRepr_AssemblyComponentUsageSubstitute) AssemblyComponentUsageSubstitute() const;
0086   
0087   //! returns Value as a DocumentFile (Null if another type)
0088   Standard_EXPORT virtual Handle(StepBasic_DocumentFile) DocumentFile() const;
0089   
0090   //! returns Value as a MaterialDesignation (Null if another type)
0091   Standard_EXPORT virtual Handle(StepRepr_MaterialDesignation) MaterialDesignation() const;
0092   
0093   //! returns Value as a MechanicalDesignGeometricPresentationRepresentation (Null if another type)
0094   Standard_EXPORT virtual Handle(StepVisual_MechanicalDesignGeometricPresentationRepresentation) MechanicalDesignGeometricPresentationRepresentation() const;
0095   
0096   //! returns Value as a PresentationArea (Null if another type)
0097   Standard_EXPORT virtual Handle(StepVisual_PresentationArea) PresentationArea() const;
0098   
0099   //! returns Value as a Product (Null if another type)
0100   Standard_EXPORT virtual Handle(StepBasic_Product) Product() const;
0101   
0102   //! returns Value as a ProductDefinition (Null if another type)
0103   Standard_EXPORT virtual Handle(StepBasic_ProductDefinition) ProductDefinition() const;
0104   
0105   //! returns Value as a ProductDefinitionFormation (Null if another type)
0106   Standard_EXPORT virtual Handle(StepBasic_ProductDefinitionFormation) ProductDefinitionFormation() const;
0107   
0108   //! returns Value as aProductDefinitionRelationship (Null if another type)
0109   Standard_EXPORT virtual Handle(StepBasic_ProductDefinitionRelationship) ProductDefinitionRelationship() const;
0110   
0111   //! returns Value as a PropertyDefinition (Null if another type)
0112   Standard_EXPORT virtual Handle(StepRepr_PropertyDefinition) PropertyDefinition() const;
0113   
0114   //! returns Value as a ShapeRepresentation  (Null if another type)
0115   Standard_EXPORT virtual Handle(StepShape_ShapeRepresentation) ShapeRepresentation() const;
0116   
0117   //! returns Value as a SecurityClassification (Null if another type)
0118   Standard_EXPORT virtual Handle(StepBasic_SecurityClassification) SecurityClassification() const;
0119 
0120   //! returns Value as a ConfigurationItem (Null if another type)
0121   Standard_EXPORT virtual Handle(StepRepr_ConfigurationItem) ConfigurationItem() const;
0122 
0123   //! returns Value as a Date (Null if another type)
0124   Standard_EXPORT virtual Handle(StepBasic_Date) Date() const;
0125 
0126   //! returns Value as a Document (Null if another type)
0127   Standard_EXPORT virtual Handle(StepBasic_Document) Document() const;
0128 
0129   //! returns Value as a Effectivity (Null if another type)
0130   Standard_EXPORT virtual Handle(StepBasic_Effectivity) Effectivity() const;
0131 
0132   //! returns Value as a Group (Null if another type)
0133   Standard_EXPORT virtual Handle(StepBasic_Group) Group() const;
0134 
0135   //! returns Value as a GroupRelationship (Null if another type)
0136   Standard_EXPORT virtual Handle(StepBasic_GroupRelationship) GroupRelationship() const;
0137 
0138   //! returns Value as a ProductDefinitionFormationRelationship (Null if another type)
0139   Standard_EXPORT virtual Handle(StepBasic_ProductDefinitionFormationRelationship) ProductDefinitionFormationRelationship() const;
0140 
0141   //! returns Value as a Representation (Null if another type)
0142   Standard_EXPORT virtual Handle(StepRepr_Representation) Representation() const;
0143 
0144   //! returns Value as a ShapeAspectRelationship (Null if another type)
0145   Standard_EXPORT virtual Handle(StepRepr_ShapeAspectRelationship) ShapeAspectRelationship() const;
0146 
0147 protected:
0148 
0149 
0150 
0151 
0152 
0153 private:
0154 
0155 
0156 
0157 
0158 
0159 };
0160 
0161 
0162 
0163 
0164 
0165 
0166 
0167 #endif // _StepAP214_ApprovalItem_HeaderFile