Wrap more classes into ifcopenshell:: namespace

This commit is contained in:
Thomas Krijnen
2026-08-08 13:58:39 +02:00
parent 2c47c9d4fa
commit 02481b3247
149 changed files with 678 additions and 627 deletions
+3 -3
View File
@@ -131,19 +131,19 @@ void ifcopenshell::unescape_xml(std::string& str) {
boost::replace_all(str, ">", ">");
}
void instance_data::populate_derived_() {
void ifcopenshell::instance_data::populate_derived_() {
if (auto* ent = declaration_->as_entity()) {
for (auto it = ent->derived().begin(); it != ent->derived().end(); ++it) {
if (*it) {
set_attribute_value(
std::distance(ent->derived().begin(), it),
derived{});
ifcopenshell::derived{});
}
}
}
}
attribute_value express::entity::get(const std::string& name) const {
ifcopenshell::attribute_value express::entity::get(const std::string& name) const {
auto attrs = declaration().as_entity()->all_attributes();
auto iter = attrs.begin();
size_t idx = 0;