1 // Created on: 2000-05-10
2 // Created by: Andrey BETENEV
3 // Copyright (c) 2000-2014 OPEN CASCADE SAS
5 // This file is part of Open CASCADE Technology software library.
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.
13 // Alternatively, this file may be used under the terms of Open CASCADE
14 // commercial license or contractual agreement.
16 #ifndef _StepAP214_ExternalIdentificationItem_HeaderFile
17 #define _StepAP214_ExternalIdentificationItem_HeaderFile
19 #include <Standard.hxx>
20 #include <Standard_DefineAlloc.hxx>
21 #include <Standard_Handle.hxx>
23 #include <StepData_SelectType.hxx>
24 #include <Standard_Integer.hxx>
25 class Standard_Transient;
26 class StepBasic_DocumentFile;
27 class StepAP214_AppliedOrganizationAssignment;
28 class StepAP214_AppliedPersonAndOrganizationAssignment;
29 class StepAP214_ExternallyDefinedClass;
30 class StepAP214_ExternallyDefinedGeneralProperty;
31 class StepBasic_Approval;
32 class StepBasic_ApprovalStatus;
33 class StepBasic_ExternalSource;
34 class StepBasic_OrganizationalAddress;
35 class StepBasic_ProductDefinition;
36 class StepBasic_SecurityClassification;
37 class StepBasic_VersionedActionRequest;
38 class StepGeom_TrimmedCurve;
39 class StepBasic_DateAndTimeAssignment;
40 class StepBasic_DateAssignment;
42 //! Representation of STEP SELECT type ExternalIdentificationItem
43 class StepAP214_ExternalIdentificationItem : public StepData_SelectType
51 Standard_EXPORT StepAP214_ExternalIdentificationItem();
53 //! Recognizes a kind of ExternalIdentificationItem select type
54 //! 1 -> DocumentFile from StepBasic
55 //! 2 -> ExternallyDefinedClass from StepAP214
56 //! 3 -> ExternallyDefinedGeneralProperty from StepAP214
57 //! 4 -> ProductDefinition from StepBasic
58 //! 5 -> AppliedOrganizationAssignment from AP214
59 //! 6 -> AppliedPersonAndOrganizationAssignment from AP214
60 //! 7 -> Approval from StepBasic
61 //! 8 -> ApprovalStatus from StepBasic
62 //! 9 -> ExternalSource from StepBasic
63 //! 10 -> OrganizationalAddress from StepBasic
64 //! 11 -> SecurityClassification from StepBasic
65 //! 12 -> TrimmedCurve from StepGeom
66 //! 13 -> VersionedActionRequest from StepBasic
67 //! 14 -> DateAndTimeAssignment from StepBasic
68 //! 15 -> DateAssignment from StepBasic
70 Standard_EXPORT Standard_Integer CaseNum (const Handle(Standard_Transient)& ent) const;
72 //! Returns Value as DocumentFile (or Null if another type)
73 Standard_EXPORT Handle(StepBasic_DocumentFile) DocumentFile() const;
75 //! Returns Value as ExternallyDefinedClass (or Null if another type)
76 Standard_EXPORT Handle(StepAP214_ExternallyDefinedClass) ExternallyDefinedClass() const;
78 //! Returns Value as ExternallyDefinedGeneralProperty (or Null if another type)
79 Standard_EXPORT Handle(StepAP214_ExternallyDefinedGeneralProperty) ExternallyDefinedGeneralProperty() const;
81 //! Returns Value as ProductDefinition (or Null if another type)
82 Standard_EXPORT Handle(StepBasic_ProductDefinition) ProductDefinition() const;
84 //! Returns Value as AppliedOrganizationAssignment (or Null if another type)
85 Standard_EXPORT Handle(StepAP214_AppliedOrganizationAssignment) AppliedOrganizationAssignment() const;
87 //! Returns Value as AppliedPersonAndOrganizationAssignment (or Null if another type)
88 Standard_EXPORT Handle(StepAP214_AppliedPersonAndOrganizationAssignment) AppliedPersonAndOrganizationAssignment() const;
90 //! Returns Value as Approval (or Null if another type)
91 Standard_EXPORT Handle(StepBasic_Approval) Approval() const;
93 //! Returns Value as ApprovalStatus (or Null if another type)
94 Standard_EXPORT Handle(StepBasic_ApprovalStatus) ApprovalStatus() const;
96 //! Returns Value as ExternalSource (or Null if another type)
97 Standard_EXPORT Handle(StepBasic_ExternalSource) ExternalSource() const;
99 //! Returns Value as OrganizationalAddress (or Null if another type)
100 Standard_EXPORT Handle(StepBasic_OrganizationalAddress) OrganizationalAddress() const;
102 //! Returns Value as SecurityClassification (or Null if another type)
103 Standard_EXPORT Handle(StepBasic_SecurityClassification) SecurityClassification() const;
105 //! Returns Value as TrimmedCurve (or Null if another type)
106 Standard_EXPORT Handle(StepGeom_TrimmedCurve) TrimmedCurve() const;
108 //! Returns Value as VersionedActionRequest (or Null if another type)
109 Standard_EXPORT Handle(StepBasic_VersionedActionRequest) VersionedActionRequest() const;
111 //! Returns Value as DateAndTimeAssignment (or Null if another type)
112 Standard_EXPORT Handle(StepBasic_DateAndTimeAssignment) DateAndTimeAssignment() const;
114 //! Returns Value as DateAssignment (or Null if another type)
115 Standard_EXPORT Handle(StepBasic_DateAssignment) DateAssignment() const;
137 #endif // _StepAP214_ExternalIdentificationItem_HeaderFile