OpenLexocad  27.1
Slab.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, Slab)
8 
9 namespace OpenLxApp
10 {
18 class LX_OPENLXAPP_EXPORT Slab : public Element
19 {
20  PROXY_HEADER(Slab, App::Slab, IFCSLAB)
21 
22 public:
23  enum class SlabTypeEnum
24  {
25  FLOOR, // Display name Floor
26  ROOF, // Display name Roof
27  LANDING,
28  BASESLAB,
29  USERDEFINED, // Display name Slab
30  NOTDEFINED
31  };
32 
33  void setPredefinedType(SlabTypeEnum aType);
34  SlabTypeEnum getPredefinedType() const;
35 
36  virtual ~Slab(void);
37 
38 
39 protected:
40  Slab() {}
41 };
42 
43 } // namespace OpenLxApp
Slab()
Definition: Slab.h:40
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
Definition: ActiveScript.h:7
A slab is a component of the construction that normally encloses a space vertically....
Definition: Slab.h:18
SlabTypeEnum
Definition: Slab.h:23
#define FORWARD_DECL(x, y)
Definition: Globals.h:93