Back to home page

EIC code displayed by LXR

 
 

    


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

0001 // Created on: 1999-11-26
0002 // Created by: Andrey BETENEV
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 _StepAP203_PersonOrganizationItem_HeaderFile
0018 #define _StepAP203_PersonOrganizationItem_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 StepAP203_Change;
0028 class StepAP203_StartWork;
0029 class StepAP203_ChangeRequest;
0030 class StepAP203_StartRequest;
0031 class StepRepr_ConfigurationItem;
0032 class StepBasic_Product;
0033 class StepBasic_ProductDefinitionFormation;
0034 class StepBasic_ProductDefinition;
0035 class StepBasic_Contract;
0036 class StepBasic_SecurityClassification;
0037 
0038 
0039 //! Representation of STEP SELECT type PersonOrganizationItem
0040 class StepAP203_PersonOrganizationItem  : public StepData_SelectType
0041 {
0042 public:
0043 
0044   DEFINE_STANDARD_ALLOC
0045 
0046   
0047   //! Empty constructor
0048   Standard_EXPORT StepAP203_PersonOrganizationItem();
0049   
0050   //! Recognizes a kind of PersonOrganizationItem select type
0051   //! 1 -> Change from StepAP203
0052   //! 2 -> StartWork from StepAP203
0053   //! 3 -> ChangeRequest from StepAP203
0054   //! 4 -> StartRequest from StepAP203
0055   //! 5 -> ConfigurationItem from StepRepr
0056   //! 6 -> Product from StepBasic
0057   //! 7 -> ProductDefinitionFormation from StepBasic
0058   //! 8 -> ProductDefinition from StepBasic
0059   //! 9 -> Contract from StepBasic
0060   //! 10 -> SecurityClassification from StepBasic
0061   //! 0 else
0062   Standard_EXPORT Standard_Integer CaseNum (const Handle(Standard_Transient)& ent) const;
0063   
0064   //! Returns Value as Change (or Null if another type)
0065   Standard_EXPORT Handle(StepAP203_Change) Change() const;
0066   
0067   //! Returns Value as StartWork (or Null if another type)
0068   Standard_EXPORT Handle(StepAP203_StartWork) StartWork() const;
0069   
0070   //! Returns Value as ChangeRequest (or Null if another type)
0071   Standard_EXPORT Handle(StepAP203_ChangeRequest) ChangeRequest() const;
0072   
0073   //! Returns Value as StartRequest (or Null if another type)
0074   Standard_EXPORT Handle(StepAP203_StartRequest) StartRequest() const;
0075   
0076   //! Returns Value as ConfigurationItem (or Null if another type)
0077   Standard_EXPORT Handle(StepRepr_ConfigurationItem) ConfigurationItem() const;
0078   
0079   //! Returns Value as Product (or Null if another type)
0080   Standard_EXPORT Handle(StepBasic_Product) Product() const;
0081   
0082   //! Returns Value as ProductDefinitionFormation (or Null if another type)
0083   Standard_EXPORT Handle(StepBasic_ProductDefinitionFormation) ProductDefinitionFormation() const;
0084   
0085   //! Returns Value as ProductDefinition (or Null if another type)
0086   Standard_EXPORT Handle(StepBasic_ProductDefinition) ProductDefinition() const;
0087   
0088   //! Returns Value as Contract (or Null if another type)
0089   Standard_EXPORT Handle(StepBasic_Contract) Contract() const;
0090   
0091   //! Returns Value as SecurityClassification (or Null if another type)
0092   Standard_EXPORT Handle(StepBasic_SecurityClassification) SecurityClassification() const;
0093 
0094 
0095 
0096 
0097 protected:
0098 
0099 
0100 
0101 
0102 
0103 private:
0104 
0105 
0106 
0107 
0108 
0109 };
0110 
0111 
0112 
0113 
0114 
0115 
0116 
0117 #endif // _StepAP203_PersonOrganizationItem_HeaderFile