OpenLexocad  27.1
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:
26  Base::GlobalId getGlobalId() const;
27  bool setGlobalId(const Base::GlobalId& aGlobalId);
29 
30  void setUserName(const Base::String& aName);
31  Base::String getUserName() const;
32 
33  virtual ~Root(void);
34 
35 protected:
36  Root() {}
37 };
38 } // namespace OpenLxApp
DocObject is the base class of all persistent objects. The DocObject belongs to exactly one Document.
Definition: DocObject.h:25
Root()
Definition: Root.h:36
A Utf-16 (windows) or ucs4 (unix) encoded string class.
Definition: String.h:23
#define PROXY_HEADER_ABSTRACT(_openlexocadclass_, _corelexocadclass_, _type_)
Definition: Globals.h:137
Definition: GlobalId.h:29
Definition: ActiveScript.h:7
Root is the base class of all BIM related entities. All BIM entities can be identified by a Globally ...
Definition: Root.h:19
#define FORWARD_DECL(x, y)
Definition: Globals.h:93