mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-12 18:43:26 +00:00
Interface mockup 9
This commit is contained in:
@@ -39,6 +39,10 @@ void ElementRegistry::bindLoader(SceneLoader* loader) {
|
||||
this, &ElementRegistry::onStreamedElementsReady);
|
||||
}
|
||||
|
||||
void ElementRegistry::clear() {
|
||||
elements_.clear();
|
||||
}
|
||||
|
||||
std::optional<BasicElementInfo> ElementRegistry::findBasicElementInfo(uint32_t object_id) const {
|
||||
auto it = elements_.find(object_id);
|
||||
if (it == elements_.end()) return std::nullopt;
|
||||
|
||||
Reference in New Issue
Block a user