OpenLexocad  28.0
Root.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <Base/GlobalId.h>
4 #include <OpenLxApp/DocObject.h>
5 #include <OpenLxApp/Globals.h>
6 
7 FORWARD_DECL(App, Root)
8 
9 namespace OpenLxApp
10 {
11 class Document;
12 
19 class LX_OPENLXAPP_EXPORT Root : public DocObject
20 {
21  PROXY_HEADER_ABSTRACT(Root, App::Root, IFCROOT)
22 
23 public:
27  bool setGlobalId(const Base::GlobalId& aGlobalId);
29 
30  void setUserName(const Base::String& aName);
32 
33  virtual ~Root(void);
34 
35 protected:
36  Root() {}
37 };
38 } // namespace OpenLxApp
OpenLxApp
Definition: ActiveScript.h:10
DocObject.h
FORWARD_DECL
#define FORWARD_DECL(x, y)
Definition: Globals.h:93
OpenLxApp::DocObject
DocObject is the base class of all persistent objects. The DocObject belongs to exactly one Document.
Definition: DocObject.h:26
OpenLxApp::Root::~Root
virtual ~Root(void)
Base::GlobalId
Definition: GlobalId.h:28
PROXY_HEADER_ABSTRACT
#define PROXY_HEADER_ABSTRACT(_openlexocadclass_, _corelexocadclass_, _type_)
Definition: Globals.h:137
OpenLxApp::Root::Root
Root()
Definition: Root.h:36
OpenLxApp::Root::getGlobalId
Base::GlobalId getGlobalId() const
Globals.h
GlobalId.h
OpenLxApp::Root
Root is the base class of all BIM related entities. All BIM entities can be identified by a Globally ...
Definition: Root.h:20
OpenLxApp::Root::setGlobalId
bool setGlobalId(const Base::GlobalId &aGlobalId)
OpenLxApp::Root::getUserName
Base::String getUserName() const
OpenLxApp::Root::setUserName
void setUserName(const Base::String &aName)
Base::String
A Utf-16 (windows) or ucs4 (unix) encoded string class.
Definition: String.h:18