OpenLexocad  27.1
Ramp.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, Ramp)
8 
9 namespace OpenLxApp
10 {
19 class LX_OPENLXAPP_EXPORT Ramp : public Element
20 {
21  PROXY_HEADER(Ramp, App::Ramp, IFCRAMP)
22 
23 public:
24  enum class RampTypeEnum
25  {
26  STRAIGHT_RUN_RAMP,
27  TWO_STRAIGHT_RUN_RAMP,
28  QUARTER_TURN_RAMP,
29  TWO_QUARTER_TURN_RAMP,
30  HALF_TURN_RAMP,
31  SPIRAL_RAMP,
32  USERDEFINED,
33  NOTDEFINED
34  };
35 
36  void setPredefinedType(RampTypeEnum aType);
37  RampTypeEnum getPredefinedType() const;
38 
39  virtual ~Ramp(void);
40 
41 
42 protected:
43  Ramp() {}
44 };
45 
46 } // 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
RampTypeEnum
Definition: Ramp.h:24
Definition: ActiveScript.h:7
A ramp is a vertical passageway which provides a human circulation link between one floor level and a...
Definition: Ramp.h:19
Ramp()
Definition: Ramp.h:43
#define FORWARD_DECL(x, y)
Definition: Globals.h:93