Warnings on vc14 were eliminated
[occt.git] / src / StepBasic / StepBasic_RoleSelect.hxx
1 // Created on: 2000-05-10
2 // Created by: Andrey BETENEV
3 // Copyright (c) 2000-2014 OPEN CASCADE SAS
4 //
5 // This file is part of Open CASCADE Technology software library.
6 //
7 // This library is free software; you can redistribute it and/or modify it under
8 // the terms of the GNU Lesser General Public License version 2.1 as published
9 // by the Free Software Foundation, with special exception defined in the file
10 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
11 // distribution for complete text of the license and disclaimer of any warranty.
12 //
13 // Alternatively, this file may be used under the terms of Open CASCADE
14 // commercial license or contractual agreement.
15
16 #ifndef _StepBasic_RoleSelect_HeaderFile
17 #define _StepBasic_RoleSelect_HeaderFile
18
19 #include <Standard.hxx>
20 #include <Standard_DefineAlloc.hxx>
21 #include <Standard_Handle.hxx>
22
23 #include <StepData_SelectType.hxx>
24 #include <Standard_Integer.hxx>
25 class Standard_Transient;
26 class StepBasic_ActionAssignment;
27 class StepBasic_ActionRequestAssignment;
28 class StepBasic_ApprovalAssignment;
29 class StepBasic_ApprovalDateTime;
30 class StepBasic_CertificationAssignment;
31 class StepBasic_ContractAssignment;
32 class StepBasic_DocumentReference;
33 class StepBasic_EffectivityAssignment;
34 class StepBasic_GroupAssignment;
35 class StepBasic_NameAssignment;
36 class StepBasic_SecurityClassificationAssignment;
37
38
39 //! Representation of STEP SELECT type RoleSelect
40 class StepBasic_RoleSelect  : public StepData_SelectType
41 {
42 public:
43
44   DEFINE_STANDARD_ALLOC
45
46   
47   //! Empty constructor
48   Standard_EXPORT StepBasic_RoleSelect();
49   
50   //! Recognizes a kind of RoleSelect select type
51   //! 1 -> ActionAssignment from StepBasic
52   //! 2 -> ActionRequestAssignment from StepBasic
53   //! 3 -> ApprovalAssignment from StepBasic
54   //! 4 -> ApprovalDateTime from StepBasic
55   //! 5 -> CertificationAssignment from StepBasic
56   //! 6 -> ContractAssignment from StepBasic
57   //! 7 -> DocumentReference from StepBasic
58   //! 8 -> EffectivityAssignment from StepBasic
59   //! 9 -> GroupAssignment from StepBasic
60   //! 10 -> NameAssignment from StepBasic
61   //! 11 -> SecurityClassificationAssignment from StepBasic
62   //! 0 else
63   Standard_EXPORT Standard_Integer CaseNum (const Handle(Standard_Transient)& ent) const;
64   
65   //! Returns Value as ActionAssignment (or Null if another type)
66   Standard_EXPORT Handle(StepBasic_ActionAssignment) ActionAssignment() const;
67   
68   //! Returns Value as ActionRequestAssignment (or Null if another type)
69   Standard_EXPORT Handle(StepBasic_ActionRequestAssignment) ActionRequestAssignment() const;
70   
71   //! Returns Value as ApprovalAssignment (or Null if another type)
72   Standard_EXPORT Handle(StepBasic_ApprovalAssignment) ApprovalAssignment() const;
73   
74   //! Returns Value as ApprovalDateTime (or Null if another type)
75   Standard_EXPORT Handle(StepBasic_ApprovalDateTime) ApprovalDateTime() const;
76   
77   //! Returns Value as CertificationAssignment (or Null if another type)
78   Standard_EXPORT Handle(StepBasic_CertificationAssignment) CertificationAssignment() const;
79   
80   //! Returns Value as ContractAssignment (or Null if another type)
81   Standard_EXPORT Handle(StepBasic_ContractAssignment) ContractAssignment() const;
82   
83   //! Returns Value as DocumentReference (or Null if another type)
84   Standard_EXPORT Handle(StepBasic_DocumentReference) DocumentReference() const;
85   
86   //! Returns Value as EffectivityAssignment (or Null if another type)
87   Standard_EXPORT Handle(StepBasic_EffectivityAssignment) EffectivityAssignment() const;
88   
89   //! Returns Value as GroupAssignment (or Null if another type)
90   Standard_EXPORT Handle(StepBasic_GroupAssignment) GroupAssignment() const;
91   
92   //! Returns Value as NameAssignment (or Null if another type)
93   Standard_EXPORT Handle(StepBasic_NameAssignment) NameAssignment() const;
94   
95   //! Returns Value as SecurityClassificationAssignment (or Null if another type)
96   Standard_EXPORT Handle(StepBasic_SecurityClassificationAssignment) SecurityClassificationAssignment() const;
97
98
99
100
101 protected:
102
103
104
105
106
107 private:
108
109
110
111
112
113 };
114
115
116
117
118
119
120
121 #endif // _StepBasic_RoleSelect_HeaderFile