option to disable guid map and lazy loading

This commit is contained in:
Thomas Krijnen
2021-09-13 13:17:08 +02:00
parent 7440321b30
commit 99a27fbfef
2 changed files with 26 additions and 2 deletions
+8
View File
@@ -112,6 +112,14 @@ public:
}
};
static bool lazy_load_;
static bool lazy_load() { return lazy_load_; }
static void lazy_load(bool b) { lazy_load_ = b; }
static bool guid_map_;
static bool guid_map() { return guid_map_; }
static void guid_map(bool b) { guid_map_ = b; }
private:
typedef std::map<uint32_t, IfcUtil::IfcBaseClass*> entity_entity_map_t;