summaryrefslogtreecommitdiff
path: root/inc/StepElement_ElementAspect.hxx
blob: d3d8893e12718b59ce5e4f30ca4e910acb1e5bfb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
// This file is generated by WOK (CPPExt).
// Please do not edit this file; modify original file instead.
// The copyright and license terms as defined for the original file apply to 
// this header file considered to be the "object code" form of the original source.

#ifndef _StepElement_ElementAspect_HeaderFile
#define _StepElement_ElementAspect_HeaderFile

#ifndef _Standard_HeaderFile
#include <Standard.hxx>
#endif
#ifndef _Standard_Macro_HeaderFile
#include <Standard_Macro.hxx>
#endif

#ifndef _StepData_SelectType_HeaderFile
#include <StepData_SelectType.hxx>
#endif
#ifndef _Standard_Integer_HeaderFile
#include <Standard_Integer.hxx>
#endif
#ifndef _Handle_Standard_Transient_HeaderFile
#include <Handle_Standard_Transient.hxx>
#endif
#ifndef _Handle_StepData_SelectMember_HeaderFile
#include <Handle_StepData_SelectMember.hxx>
#endif
#ifndef _StepElement_ElementVolume_HeaderFile
#include <StepElement_ElementVolume.hxx>
#endif
#ifndef _StepElement_CurveEdge_HeaderFile
#include <StepElement_CurveEdge.hxx>
#endif
class Standard_Transient;
class StepData_SelectMember;


//! Representation of STEP SELECT type ElementAspect <br>
class StepElement_ElementAspect  : public StepData_SelectType {
public:

  void* operator new(size_t,void* anAddress) 
  {
    return anAddress;
  }
  void* operator new(size_t size) 
  {
    return Standard::Allocate(size); 
  }
  void  operator delete(void *anAddress) 
  {
    if (anAddress) Standard::Free((Standard_Address&)anAddress); 
  }

  //! Empty constructor <br>
  Standard_EXPORT   StepElement_ElementAspect();
  //! Recognizes a kind of ElementAspect select type <br>
//!          return 0 <br>
  Standard_EXPORT     Standard_Integer CaseNum(const Handle(Standard_Transient)& ent) const;
  //! Recognizes a items of select member ElementAspectMember <br>
//!          1 -> ElementVolume <br>
//!          2 -> Volume3dFace <br>
//!          3 -> Volume2dFace <br>
//!          4 -> Volume3dEdge <br>
//!          5 -> Volume2dEdge <br>
//!          6 -> Surface3dFace <br>
//!          7 -> Surface2dFace <br>
//!          8 -> Surface3dEdge <br>
//!          9 -> Surface2dEdge <br>
//!          10 -> CurveEdge <br>
//!          0 else <br>
  Standard_EXPORT   virtual  Standard_Integer CaseMem(const Handle(StepData_SelectMember)& ent) const;
  //! Returns a new select member the type ElementAspectMember <br>
  Standard_EXPORT   virtual  Handle_StepData_SelectMember NewMember() const;
  //! Set Value for ElementVolume <br>
  Standard_EXPORT     void SetElementVolume(const StepElement_ElementVolume aVal) ;
  //! Returns Value as ElementVolume (or Null if another type) <br>
  Standard_EXPORT     StepElement_ElementVolume ElementVolume() const;
  //! Set Value for Volume3dFace <br>
  Standard_EXPORT     void SetVolume3dFace(const Standard_Integer aVal) ;
  //! Returns Value as Volume3dFace (or Null if another type) <br>
  Standard_EXPORT     Standard_Integer Volume3dFace() const;
  //! Set Value for Volume2dFace <br>
  Standard_EXPORT     void SetVolume2dFace(const Standard_Integer aVal) ;
  //! Returns Value as Volume2dFace (or Null if another type) <br>
  Standard_EXPORT     Standard_Integer Volume2dFace() const;
  //! Set Value for Volume3dEdge <br>
  Standard_EXPORT     void SetVolume3dEdge(const Standard_Integer aVal) ;
  //! Returns Value as Volume3dEdge (or Null if another type) <br>
  Standard_EXPORT     Standard_Integer Volume3dEdge() const;
  //! Set Value for Volume2dEdge <br>
  Standard_EXPORT     void SetVolume2dEdge(const Standard_Integer aVal) ;
  //! Returns Value as Volume2dEdge (or Null if another type) <br>
  Standard_EXPORT     Standard_Integer Volume2dEdge() const;
  //! Set Value for Surface3dFace <br>
  Standard_EXPORT     void SetSurface3dFace(const Standard_Integer aVal) ;
  //! Returns Value as Surface3dFace (or Null if another type) <br>
  Standard_EXPORT     Standard_Integer Surface3dFace() const;
  //! Set Value for Surface2dFace <br>
  Standard_EXPORT     void SetSurface2dFace(const Standard_Integer aVal) ;
  //! Returns Value as Surface2dFace (or Null if another type) <br>
  Standard_EXPORT     Standard_Integer Surface2dFace() const;
  //! Set Value for Surface3dEdge <br>
  Standard_EXPORT     void SetSurface3dEdge(const Standard_Integer aVal) ;
  //! Returns Value as Surface3dEdge (or Null if another type) <br>
  Standard_EXPORT     Standard_Integer Surface3dEdge() const;
  //! Set Value for Surface2dEdge <br>
  Standard_EXPORT     void SetSurface2dEdge(const Standard_Integer aVal) ;
  //! Returns Value as Surface2dEdge (or Null if another type) <br>
  Standard_EXPORT     Standard_Integer Surface2dEdge() const;
  //! Set Value for CurveEdge <br>
  Standard_EXPORT     void SetCurveEdge(const StepElement_CurveEdge aVal) ;
  //! Returns Value as CurveEdge (or Null if another type) <br>
  Standard_EXPORT     StepElement_CurveEdge CurveEdge() const;





protected:





private:





};





// other Inline functions and methods (like "C++: function call" methods)


#endif