0027047: STEP -- eliminate useless polymorhic methods Init()
[occt.git] / src / StepAP242 / StepAP242_ItemIdentifiedRepresentationUsageDefinition.hxx
CommitLineData
28a73c1f 1// Created on: 2015-07-10
2// Created by: Irina KRYLOVA
3// Copyright (c) 2015 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 _StepAP242_ItemIdentifiedRepresentationUsageDefinition_HeaderFile
17#define _StepAP242_ItemIdentifiedRepresentationUsageDefinition_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>
25class Standard_Transient;
26class StepAP214_AppliedApprovalAssignment;
27class StepAP214_AppliedDateAndTimeAssignment;
28class StepAP214_AppliedDateAssignment;
29class StepAP214_AppliedDocumentReference;
30class StepAP214_AppliedExternalIdentificationAssignment;
31class StepAP214_AppliedGroupAssignment;
32class StepAP214_AppliedOrganizationAssignment;
33class StepAP214_AppliedPersonAndOrganizationAssignment;
34class StepAP214_AppliedSecurityClassificationAssignment;
35class StepShape_DimensionalSize;
36class StepBasic_GeneralProperty;
37class StepDimTol_GeometricTolerance;
38class StepBasic_ProductDefinitionRelationship;
39class StepRepr_PropertyDefinition;
40class StepRepr_PropertyDefinitionRelationship;
41class StepRepr_ShapeAspect;
42class StepRepr_ShapeAspectRelationship;
43
44class StepAP242_ItemIdentifiedRepresentationUsageDefinition : public StepData_SelectType
45{
46public:
47
48 DEFINE_STANDARD_ALLOC
49
50 //! Returns a ItemIdentifiedRepresentationUsageDefinition select type
51 Standard_EXPORT StepAP242_ItemIdentifiedRepresentationUsageDefinition();
52
53 //! Recognizes a ItemIdentifiedRepresentationUsageDefinition Kind Entity that is :
54 //! 1 -> AppliedApprovalAssignment
55 //! 2 -> AppliedDateAndTimeAssignment
56 //! 3 -> AppliedDateAssignment
57 //! 4 -> AppliedDocumentReference
58 //! 5 -> AppliedExternalIdentificationAssignment
59 //! 6 -> AppliedGroupAssignment
60 //! 7 -> AppliedOrganizationAssignment
61 //! 8 -> AppliedPersonAndOrganizationAssignment
62 //! 9 -> AppliedSecurityClassificationAssignment
63 //! 10 -> DimensionalSize
64 //! 11 -> GeneralProperty
65 //! 12 -> GeometricTolerance
66 //! 13 -> ProductDefinitionRelationship
67 //! 14 -> PropertyDefinition
68 //! 15 -> PropertyDefinitionRelationship
69 //! 16 -> ShapeAspect
70 //! 17 -> ShapeAspectRelationship
71 //! 0 else
72 Standard_EXPORT Standard_Integer CaseNum (const Handle(Standard_Transient)& ent) const;
73
74 //! returns Value as a AppliedApprovalAssignment (Null if another type)
75 Standard_EXPORT Handle(StepAP214_AppliedApprovalAssignment) AppliedApprovalAssignment() const;
76
77 //! returns Value as a AppliedDateAndTimeAssignment (Null if another type)
78 Standard_EXPORT Handle(StepAP214_AppliedDateAndTimeAssignment) AppliedDateAndTimeAssignment() const;
79
80 //! returns Value as a AppliedDateAssignment (Null if another type)
81 Standard_EXPORT Handle(StepAP214_AppliedDateAssignment) AppliedDateAssignment() const;
82
83 //! returns Value as a AppliedDocumentReference (Null if another type)
84 Standard_EXPORT Handle(StepAP214_AppliedDocumentReference) AppliedDocumentReference() const;
85
86 //! returns Value as a AppliedExternalIdentificationAssignment (Null if another type)
87 Standard_EXPORT Handle(StepAP214_AppliedExternalIdentificationAssignment) AppliedExternalIdentificationAssignment() const;
88
89 //! returns Value as a AppliedGroupAssignment (Null if another type)
90 Standard_EXPORT Handle(StepAP214_AppliedGroupAssignment) AppliedGroupAssignment() const;
91
92 //! returns Value as a AppliedOrganizationAssignment (Null if another type)
93 Standard_EXPORT Handle(StepAP214_AppliedOrganizationAssignment) AppliedOrganizationAssignment() const;
94
95 //! returns Value as a AppliedPersonAndOrganizationAssignment (Null if another type)
96 Standard_EXPORT Handle(StepAP214_AppliedPersonAndOrganizationAssignment) AppliedPersonAndOrganizationAssignment() const;
97
98 //! returns Value as a AppliedSecurityClassificationAssignment (Null if another type)
99 Standard_EXPORT Handle(StepAP214_AppliedSecurityClassificationAssignment) AppliedSecurityClassificationAssignment() const;
100
101 //! returns Value as a DimensionalSize (Null if another type)
102 Standard_EXPORT Handle(StepShape_DimensionalSize) DimensionalSize() const;
103
104 //! returns Value as a GeneralProperty (Null if another type)
105 Standard_EXPORT Handle(StepBasic_GeneralProperty) GeneralProperty() const;
106
107 //! returns Value as a GeometricTolerance (Null if another type)
108 Standard_EXPORT Handle(StepDimTol_GeometricTolerance) GeometricTolerance() const;
109
110 //! returns Value as a ProductDefinitionRelationship (Null if another type)
111 Standard_EXPORT Handle(StepBasic_ProductDefinitionRelationship) ProductDefinitionRelationship() const;
112
113 //! returns Value as a PropertyDefinition (Null if another type)
114 Standard_EXPORT Handle(StepRepr_PropertyDefinition) PropertyDefinition() const;
115
116 //! returns Value as a PropertyDefinitionRelationship (Null if another type)
117 Standard_EXPORT Handle(StepRepr_PropertyDefinitionRelationship) PropertyDefinitionRelationship() const;
118
119 //! returns Value as a ShapeAspect (Null if another type)
120 Standard_EXPORT Handle(StepRepr_ShapeAspect) ShapeAspect() const;
121
122 //! returns Value as a ShapeAspectRelationship (Null if another type)
123 Standard_EXPORT Handle(StepRepr_ShapeAspectRelationship) ShapeAspectRelationship() const;
124
125};
126#endif // _StepAP242_ItemIdentifiedRepresentationUsageDefinition_HeaderFile