Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-09-29 09:20:20

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_ItemIdentifiedRepresentationUsageDefinition_HeaderFile
0017 #define _StepAP242_ItemIdentifiedRepresentationUsageDefinition_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 StepAP214_AppliedApprovalAssignment;
0027 class StepAP214_AppliedDateAndTimeAssignment;
0028 class StepAP214_AppliedDateAssignment;
0029 class StepAP214_AppliedDocumentReference;
0030 class StepAP214_AppliedExternalIdentificationAssignment;
0031 class StepAP214_AppliedGroupAssignment;
0032 class StepAP214_AppliedOrganizationAssignment;
0033 class StepAP214_AppliedPersonAndOrganizationAssignment;
0034 class StepAP214_AppliedSecurityClassificationAssignment;
0035 class StepShape_DimensionalSize;
0036 class StepBasic_GeneralProperty;
0037 class StepDimTol_GeometricTolerance;
0038 class StepBasic_ProductDefinitionRelationship;
0039 class StepRepr_PropertyDefinition;
0040 class StepRepr_PropertyDefinitionRelationship;
0041 class StepRepr_ShapeAspect;
0042 class StepRepr_ShapeAspectRelationship;
0043 
0044 class StepAP242_ItemIdentifiedRepresentationUsageDefinition : public StepData_SelectType
0045 {
0046 public:
0047   DEFINE_STANDARD_ALLOC
0048 
0049   //! Returns a ItemIdentifiedRepresentationUsageDefinition select type
0050   Standard_EXPORT StepAP242_ItemIdentifiedRepresentationUsageDefinition();
0051 
0052   //! Recognizes a ItemIdentifiedRepresentationUsageDefinition Kind Entity that is :
0053   //! 1 -> AppliedApprovalAssignment
0054   //! 2 -> AppliedDateAndTimeAssignment
0055   //! 3 -> AppliedDateAssignment
0056   //! 4 -> AppliedDocumentReference
0057   //! 5 -> AppliedExternalIdentificationAssignment
0058   //! 6 -> AppliedGroupAssignment
0059   //! 7 -> AppliedOrganizationAssignment
0060   //! 8 -> AppliedPersonAndOrganizationAssignment
0061   //! 9 -> AppliedSecurityClassificationAssignment
0062   //! 10 -> DimensionalSize
0063   //! 11 -> GeneralProperty
0064   //! 12 -> GeometricTolerance
0065   //! 13 -> ProductDefinitionRelationship
0066   //! 14 -> PropertyDefinition
0067   //! 15 -> PropertyDefinitionRelationship
0068   //! 16 -> ShapeAspect
0069   //! 17 -> ShapeAspectRelationship
0070   //! 0 else
0071   Standard_EXPORT int CaseNum(const occ::handle<Standard_Transient>& ent) const override;
0072 
0073   //! returns Value as a AppliedApprovalAssignment (Null if another type)
0074   Standard_EXPORT occ::handle<StepAP214_AppliedApprovalAssignment> AppliedApprovalAssignment()
0075     const;
0076 
0077   //! returns Value as a AppliedDateAndTimeAssignment (Null if another type)
0078   Standard_EXPORT occ::handle<StepAP214_AppliedDateAndTimeAssignment> AppliedDateAndTimeAssignment()
0079     const;
0080 
0081   //! returns Value as a AppliedDateAssignment (Null if another type)
0082   Standard_EXPORT occ::handle<StepAP214_AppliedDateAssignment> AppliedDateAssignment() const;
0083 
0084   //! returns Value as a AppliedDocumentReference (Null if another type)
0085   Standard_EXPORT occ::handle<StepAP214_AppliedDocumentReference> AppliedDocumentReference() const;
0086 
0087   //! returns Value as a AppliedExternalIdentificationAssignment (Null if another type)
0088   Standard_EXPORT occ::handle<StepAP214_AppliedExternalIdentificationAssignment>
0089                   AppliedExternalIdentificationAssignment() const;
0090 
0091   //! returns Value as a AppliedGroupAssignment (Null if another type)
0092   Standard_EXPORT occ::handle<StepAP214_AppliedGroupAssignment> AppliedGroupAssignment() const;
0093 
0094   //! returns Value as a AppliedOrganizationAssignment (Null if another type)
0095   Standard_EXPORT occ::handle<StepAP214_AppliedOrganizationAssignment>
0096                   AppliedOrganizationAssignment() const;
0097 
0098   //! returns Value as a AppliedPersonAndOrganizationAssignment (Null if another type)
0099   Standard_EXPORT occ::handle<StepAP214_AppliedPersonAndOrganizationAssignment>
0100                   AppliedPersonAndOrganizationAssignment() const;
0101 
0102   //! returns Value as a AppliedSecurityClassificationAssignment (Null if another type)
0103   Standard_EXPORT occ::handle<StepAP214_AppliedSecurityClassificationAssignment>
0104                   AppliedSecurityClassificationAssignment() const;
0105 
0106   //! returns Value as a DimensionalSize (Null if another type)
0107   Standard_EXPORT occ::handle<StepShape_DimensionalSize> DimensionalSize() const;
0108 
0109   //! returns Value as a GeneralProperty (Null if another type)
0110   Standard_EXPORT occ::handle<StepBasic_GeneralProperty> GeneralProperty() const;
0111 
0112   //! returns Value as a GeometricTolerance (Null if another type)
0113   Standard_EXPORT occ::handle<StepDimTol_GeometricTolerance> GeometricTolerance() const;
0114 
0115   //! returns Value as a ProductDefinitionRelationship (Null if another type)
0116   Standard_EXPORT occ::handle<StepBasic_ProductDefinitionRelationship>
0117                   ProductDefinitionRelationship() const;
0118 
0119   //! returns Value as a PropertyDefinition (Null if another type)
0120   Standard_EXPORT occ::handle<StepRepr_PropertyDefinition> PropertyDefinition() const;
0121 
0122   //! returns Value as a PropertyDefinitionRelationship (Null if another type)
0123   Standard_EXPORT occ::handle<StepRepr_PropertyDefinitionRelationship>
0124                   PropertyDefinitionRelationship() const;
0125 
0126   //! returns Value as a ShapeAspect (Null if another type)
0127   Standard_EXPORT occ::handle<StepRepr_ShapeAspect> ShapeAspect() const;
0128 
0129   //! returns Value as a ShapeAspectRelationship (Null if another type)
0130   Standard_EXPORT occ::handle<StepRepr_ShapeAspectRelationship> ShapeAspectRelationship() const;
0131 };
0132 #endif // _StepAP242_ItemIdentifiedRepresentationUsageDefinition_HeaderFile