OpenLexocad  27.0
ElementFactory.h
Go to the documentation of this file.
1 #pragma once
2 #include <LxIfc/IFC2X3_impl/LxIfcEntityEnums.h>
3 #include <OpenLxApp_defines.h>
4 
5 #include <memory>
6 #include <vector>
7 
8 namespace App
9 {
10 class Element;
11 class Document;
12 } // namespace App
13 
14 namespace OpenLxApp
15 {
16 class Element;
17 class Document;
18 
20 {
21 public:
22  static std::shared_ptr<Element> create(std::shared_ptr<Document> aDoc, LxIfcEntityEnum aType);
23  static std::shared_ptr<Element> create(std::shared_ptr<Document> aDoc, App::Element* aElem);
24  static std::vector<std::shared_ptr<Element>> create(std::shared_ptr<Document> aDoc, const std::vector<App::Element*> aElems);
25 };
26 } // namespace OpenLxApp
#define OPENLXAPP_EXPORT
Definition: OpenLxApp_defines.h:12
Definition: ActiveScript.h:9
Definition: ElementFactory.h:19