OpenLexocad  27.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>
7 
8 FORWARD_DECL(App, Root)
9 
10 namespace OpenLxApp
11 {
12 class Document;
13 
21 {
22  PROXY_HEADER_ABSTRACT(Root, App::Root, IFCROOT)
23 
24 public:
27  Base::GlobalId getGlobalId() const;
28  bool setGlobalId(const Base::GlobalId& aGlobalId);
30 
31  void setUserName(const Base::String& aName);
32  Base::String getUserName() const;
33 
34  virtual ~Root(void);
35 
36 protected:
37  Root() {}
38 };
39 } // namespace OpenLxApp
DocObject is the base class of all persistent objects. The DocObject belongs to exactly one Document.
Definition: DocObject.h:36
Root()
Definition: Root.h:37
A Utf-16 (windows) or ucs4 (unix) encoded string class.
Definition: String.h:29
#define PROXY_HEADER_ABSTRACT(_openlexocadclass_, _corelexocadclass_, _type_)
Definition: Globals.h:140
#define OPENLXAPP_EXPORT
Definition: OpenLxApp_defines.h:12
Definition: GlobalId.h:32
Definition: ActiveScript.h:9
Root is the base class of all BIM related entities. All BIM entities can be identified by a Globally ...
Definition: Root.h:20
#define FORWARD_DECL(x, y)
Definition: Globals.h:96