Back to home page

EIC code displayed by LXR

 
 

    


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

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 
0039 //! Representation of STEP SELECT type RoleSelect
0040 class StepBasic_RoleSelect  : public StepData_SelectType
0041 {
0042 public:
0043 
0044   DEFINE_STANDARD_ALLOC
0045 
0046   
0047   //! Empty constructor
0048   Standard_EXPORT StepBasic_RoleSelect();
0049   
0050   //! Recognizes a kind of RoleSelect select type
0051   //! 1 -> ActionAssignment from StepBasic
0052   //! 2 -> ActionRequestAssignment from StepBasic
0053   //! 3 -> ApprovalAssignment from StepBasic
0054   //! 4 -> ApprovalDateTime from StepBasic
0055   //! 5 -> CertificationAssignment from StepBasic
0056   //! 6 -> ContractAssignment from StepBasic
0057   //! 7 -> DocumentReference from StepBasic
0058   //! 8 -> EffectivityAssignment from StepBasic
0059   //! 9 -> GroupAssignment from StepBasic
0060   //! 10 -> NameAssignment from StepBasic
0061   //! 11 -> SecurityClassificationAssignment from StepBasic
0062   //! 0 else
0063   Standard_EXPORT Standard_Integer CaseNum (const Handle(Standard_Transient)& ent) const;
0064   
0065   //! Returns Value as ActionAssignment (or Null if another type)
0066   Standard_EXPORT Handle(StepBasic_ActionAssignment) ActionAssignment() const;
0067   
0068   //! Returns Value as ActionRequestAssignment (or Null if another type)
0069   Standard_EXPORT Handle(StepBasic_ActionRequestAssignment) ActionRequestAssignment() const;
0070   
0071   //! Returns Value as ApprovalAssignment (or Null if another type)
0072   Standard_EXPORT Handle(StepBasic_ApprovalAssignment) ApprovalAssignment() const;
0073   
0074   //! Returns Value as ApprovalDateTime (or Null if another type)
0075   Standard_EXPORT Handle(StepBasic_ApprovalDateTime) ApprovalDateTime() const;
0076   
0077   //! Returns Value as CertificationAssignment (or Null if another type)
0078   Standard_EXPORT Handle(StepBasic_CertificationAssignment) CertificationAssignment() const;
0079   
0080   //! Returns Value as ContractAssignment (or Null if another type)
0081   Standard_EXPORT Handle(StepBasic_ContractAssignment) ContractAssignment() const;
0082   
0083   //! Returns Value as DocumentReference (or Null if another type)
0084   Standard_EXPORT Handle(StepBasic_DocumentReference) DocumentReference() const;
0085   
0086   //! Returns Value as EffectivityAssignment (or Null if another type)
0087   Standard_EXPORT Handle(StepBasic_EffectivityAssignment) EffectivityAssignment() const;
0088   
0089   //! Returns Value as GroupAssignment (or Null if another type)
0090   Standard_EXPORT Handle(StepBasic_GroupAssignment) GroupAssignment() const;
0091   
0092   //! Returns Value as NameAssignment (or Null if another type)
0093   Standard_EXPORT Handle(StepBasic_NameAssignment) NameAssignment() const;
0094   
0095   //! Returns Value as SecurityClassificationAssignment (or Null if another type)
0096   Standard_EXPORT Handle(StepBasic_SecurityClassificationAssignment) SecurityClassificationAssignment() const;
0097 
0098 
0099 
0100 
0101 protected:
0102 
0103 
0104 
0105 
0106 
0107 private:
0108 
0109 
0110 
0111 
0112 
0113 };
0114 
0115 
0116 
0117 
0118 
0119 
0120 
0121 #endif // _StepBasic_RoleSelect_HeaderFile