0026912: CLang 3.6.2 compiler warning [-Winconsistent-missing-override]
[occt.git] / src / StepElement / StepElement_ElementAspect.hxx
CommitLineData
42cf5bc1 1// Created on: 2002-12-10
2// Created by: data exchange team
3// Copyright (c) 2002-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 _StepElement_ElementAspect_HeaderFile
17#define _StepElement_ElementAspect_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#include <StepElement_ElementVolume.hxx>
26#include <StepElement_CurveEdge.hxx>
27class Standard_Transient;
28class StepData_SelectMember;
29
30
31//! Representation of STEP SELECT type ElementAspect
32class StepElement_ElementAspect : public StepData_SelectType
33{
34public:
35
36 DEFINE_STANDARD_ALLOC
37
38
39 //! Empty constructor
40 Standard_EXPORT StepElement_ElementAspect();
41
42 //! Recognizes a kind of ElementAspect select type
43 //! return 0
79104795 44 Standard_EXPORT Standard_Integer CaseNum (const Handle(Standard_Transient)& ent) const Standard_OVERRIDE;
42cf5bc1 45
46 //! Recognizes a items of select member ElementAspectMember
47 //! 1 -> ElementVolume
48 //! 2 -> Volume3dFace
49 //! 3 -> Volume2dFace
50 //! 4 -> Volume3dEdge
51 //! 5 -> Volume2dEdge
52 //! 6 -> Surface3dFace
53 //! 7 -> Surface2dFace
54 //! 8 -> Surface3dEdge
55 //! 9 -> Surface2dEdge
56 //! 10 -> CurveEdge
57 //! 0 else
58 Standard_EXPORT virtual Standard_Integer CaseMem (const Handle(StepData_SelectMember)& ent) const Standard_OVERRIDE;
59
60 //! Returns a new select member the type ElementAspectMember
61 Standard_EXPORT virtual Handle(StepData_SelectMember) NewMember() const Standard_OVERRIDE;
62
63 //! Set Value for ElementVolume
64 Standard_EXPORT void SetElementVolume (const StepElement_ElementVolume aVal);
65
66 //! Returns Value as ElementVolume (or Null if another type)
67 Standard_EXPORT StepElement_ElementVolume ElementVolume() const;
68
69 //! Set Value for Volume3dFace
70 Standard_EXPORT void SetVolume3dFace (const Standard_Integer aVal);
71
72 //! Returns Value as Volume3dFace (or Null if another type)
73 Standard_EXPORT Standard_Integer Volume3dFace() const;
74
75 //! Set Value for Volume2dFace
76 Standard_EXPORT void SetVolume2dFace (const Standard_Integer aVal);
77
78 //! Returns Value as Volume2dFace (or Null if another type)
79 Standard_EXPORT Standard_Integer Volume2dFace() const;
80
81 //! Set Value for Volume3dEdge
82 Standard_EXPORT void SetVolume3dEdge (const Standard_Integer aVal);
83
84 //! Returns Value as Volume3dEdge (or Null if another type)
85 Standard_EXPORT Standard_Integer Volume3dEdge() const;
86
87 //! Set Value for Volume2dEdge
88 Standard_EXPORT void SetVolume2dEdge (const Standard_Integer aVal);
89
90 //! Returns Value as Volume2dEdge (or Null if another type)
91 Standard_EXPORT Standard_Integer Volume2dEdge() const;
92
93 //! Set Value for Surface3dFace
94 Standard_EXPORT void SetSurface3dFace (const Standard_Integer aVal);
95
96 //! Returns Value as Surface3dFace (or Null if another type)
97 Standard_EXPORT Standard_Integer Surface3dFace() const;
98
99 //! Set Value for Surface2dFace
100 Standard_EXPORT void SetSurface2dFace (const Standard_Integer aVal);
101
102 //! Returns Value as Surface2dFace (or Null if another type)
103 Standard_EXPORT Standard_Integer Surface2dFace() const;
104
105 //! Set Value for Surface3dEdge
106 Standard_EXPORT void SetSurface3dEdge (const Standard_Integer aVal);
107
108 //! Returns Value as Surface3dEdge (or Null if another type)
109 Standard_EXPORT Standard_Integer Surface3dEdge() const;
110
111 //! Set Value for Surface2dEdge
112 Standard_EXPORT void SetSurface2dEdge (const Standard_Integer aVal);
113
114 //! Returns Value as Surface2dEdge (or Null if another type)
115 Standard_EXPORT Standard_Integer Surface2dEdge() const;
116
117 //! Set Value for CurveEdge
118 Standard_EXPORT void SetCurveEdge (const StepElement_CurveEdge aVal);
119
120 //! Returns Value as CurveEdge (or Null if another type)
121 Standard_EXPORT StepElement_CurveEdge CurveEdge() const;
122
123
124
125
126protected:
127
128
129
130
131
132private:
133
134
135
136
137
138};
139
140
141
142
143
144
145
146#endif // _StepElement_ElementAspect_HeaderFile