mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-23 06:02:45 +00:00
Wrap more classes into ifcopenshell:: namespace
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user