OpenLexocad  27.1
Stair.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <OpenLxApp/Element.h>
4 
5 #include <memory>
6 
7 FORWARD_DECL(App, Stair)
8 
9 namespace OpenLxApp
10 {
19 class LX_OPENLXAPP_EXPORT Stair : public Element
20 {
21  PROXY_HEADER(Stair, App::Stair, IFCSTAIR)
22 
23 public:
24  enum class StairTypeEnum
25  {
26  STRAIGHT_RUN_STAIR,
27  TWO_STRAIGHT_RUN_STAIR,
28  QUARTER_WINDING_STAIR,
29  QUARTER_TURN_STAIR,
30  HALF_WINDING_STAIR,
31  HALF_TURN_STAIR,
32  TWO_QUARTER_WINDING_STAIR,
33  TWO_QUARTER_TURN_STAIR,
34  THREE_QUARTER_WINDING_STAIR,
35  THREE_QUARTER_TURN_STAIR,
36  SPIRAL_STAIR,
37  DOUBLE_RETURN_STAIR,
38  CURVED_RUN_STAIR,
39  TWO_CURVED_RUN_STAIR,
40  USERDEFINED,
41  NOTDEFINED
42  };
43 
44  void setPredefinedType(StairTypeEnum aType);
45  StairTypeEnum getPredefinedType() const;
46 
47  virtual ~Stair(void);
48 
49 
50 protected:
51  Stair() {}
52 };
53 
54 } // namespace OpenLxApp
An element is a generalization of all components that make up an AEC product. Those elements can be l...
Definition: Element.h:29
#define PROXY_HEADER(_openlexocadclass_, _corelexocadclass_, _type_)
Definition: Globals.h:146
StairTypeEnum
Definition: Stair.h:24
Stair()
Definition: Stair.h:51
Definition: ActiveScript.h:7
A stair is a vertical passageway allowing occupants to walk (step) from one floor level to another fl...
Definition: Stair.h:19
#define FORWARD_DECL(x, y)
Definition: Globals.h:93