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