Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-09-14 09:15:58

0001 // Created on: 2000-05-10
0002 // Created by: Andrey BETENEV
0003 // Copyright (c) 2000-2014 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 _StepBasic_RoleSelect_HeaderFile
0017 #define _StepBasic_RoleSelect_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 StepBasic_ActionAssignment;
0027 class StepBasic_ActionRequestAssignment;
0028 class StepBasic_ApprovalAssignment;
0029 class StepBasic_ApprovalDateTime;
0030 class StepBasic_CertificationAssignment;
0031 class StepBasic_ContractAssignment;
0032 class StepBasic_DocumentReference;
0033 class StepBasic_EffectivityAssignment;
0034 class StepBasic_GroupAssignment;
0035 class StepBasic_NameAssignment;
0036 class StepBasic_SecurityClassificationAssignment;
0037 
0038 //! Representation of STEP SELECT type RoleSelect
0039 class StepBasic_RoleSelect : public StepData_SelectType
0040 {
0041 public:
0042   DEFINE_STANDARD_ALLOC
0043 
0044   //! Empty constructor
0045   Standard_EXPORT StepBasic_RoleSelect();
0046 
0047   //! Recognizes a kind of RoleSelect select type
0048   //! 1 -> ActionAssignment from StepBasic
0049   //! 2 -> ActionRequestAssignment from StepBasic
0050   //! 3 -> ApprovalAssignment from StepBasic
0051   //! 4 -> ApprovalDateTime from StepBasic
0052   //! 5 -> CertificationAssignment from StepBasic
0053   //! 6 -> ContractAssignment from StepBasic
0054   //! 7 -> DocumentReference from StepBasic
0055   //! 8 -> EffectivityAssignment from StepBasic
0056   //! 9 -> GroupAssignment from StepBasic
0057   //! 10 -> NameAssignment from StepBasic
0058   //! 11 -> SecurityClassificationAssignment from StepBasic
0059   //! 0 else
0060   Standard_EXPORT int CaseNum(const occ::handle<Standard_Transient>& ent) const override;
0061 
0062   //! Returns Value as ActionAssignment (or Null if another type)
0063   Standard_EXPORT occ::handle<StepBasic_ActionAssignment> ActionAssignment() const;
0064 
0065   //! Returns Value as ActionRequestAssignment (or Null if another type)
0066   Standard_EXPORT occ::handle<StepBasic_ActionRequestAssignment> ActionRequestAssignment() const;
0067 
0068   //! Returns Value as ApprovalAssignment (or Null if another type)
0069   Standard_EXPORT occ::handle<StepBasic_ApprovalAssignment> ApprovalAssignment() const;
0070 
0071   //! Returns Value as ApprovalDateTime (or Null if another type)
0072   Standard_EXPORT occ::handle<StepBasic_ApprovalDateTime> ApprovalDateTime() const;
0073 
0074   //! Returns Value as CertificationAssignment (or Null if another type)
0075   Standard_EXPORT occ::handle<StepBasic_CertificationAssignment> CertificationAssignment() const;
0076 
0077   //! Returns Value as ContractAssignment (or Null if another type)
0078   Standard_EXPORT occ::handle<StepBasic_ContractAssignment> ContractAssignment() const;
0079 
0080   //! Returns Value as DocumentReference (or Null if another type)
0081   Standard_EXPORT occ::handle<StepBasic_DocumentReference> DocumentReference() const;
0082 
0083   //! Returns Value as EffectivityAssignment (or Null if another type)
0084   Standard_EXPORT occ::handle<StepBasic_EffectivityAssignment> EffectivityAssignment() const;
0085 
0086   //! Returns Value as GroupAssignment (or Null if another type)
0087   Standard_EXPORT occ::handle<StepBasic_GroupAssignment> GroupAssignment() const;
0088 
0089   //! Returns Value as NameAssignment (or Null if another type)
0090   Standard_EXPORT occ::handle<StepBasic_NameAssignment> NameAssignment() const;
0091 
0092   //! Returns Value as SecurityClassificationAssignment (or Null if another type)
0093   Standard_EXPORT occ::handle<StepBasic_SecurityClassificationAssignment>
0094                   SecurityClassificationAssignment() const;
0095 };
0096 
0097 #endif // _StepBasic_RoleSelect_HeaderFile