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
+6 -4
View File
@@ -54,8 +54,10 @@ struct in_memory_file_storage;
}
} // namespace ifcopenshell
namespace ifcopenshell {
class instance_data;
class attribute_value;
}
namespace express {
@@ -67,8 +69,8 @@ class declared_type;
class IFC_PARSE_API base {
protected:
ifcopenshell::pointer_type data_;
const instance_data* data() const;
instance_data* data();
const ifcopenshell::instance_data* data() const;
ifcopenshell::instance_data* data();
public:
operator bool() const {
#ifdef IFOPSH_SAFE_INSTANCE
@@ -120,7 +122,7 @@ class IFC_PARSE_API base {
void unset_attribute_value(size_t attribute_index);
attribute_value get_attribute_value(size_t attribute_index) const;
ifcopenshell::attribute_value get_attribute_value(size_t attribute_index) const;
uint32_t identity() const;
@@ -160,7 +162,7 @@ class IFC_PARSE_API entity : public base {
public:
using base::base;
attribute_value get(const std::string& attribute_name) const;
ifcopenshell::attribute_value get(const std::string& attribute_name) const;
template <typename T>
T get_value(const std::string& attribute_name) const;