MCPcopy Create free account
hub / github.com/IfcOpenShell/IfcOpenShell / unset_attribute_value

Method unset_attribute_value

src/ifcparse/IfcParse.cpp:2822–2825  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2820// bool IfcParse::IfcFile::guid_map_ = true;
2821
2822void IfcUtil::IfcBaseClass::unset_attribute_value(size_t index) {
2823 void* storage = file_ ? std::visit([](const auto& m) { return (void*)&m; }, file_->storage_) : nullptr;
2824 data_.set_attribute_value(storage, &declaration(), id() ? id() : identity(), index, Blank{});
2825}
2826
2827AttributeValue IfcUtil::IfcBaseClass::get_attribute_value(size_t index) const {
2828 void* storage = file_ ? std::visit([](const auto& m) { return (void*)&m; }, file_->storage_) : nullptr;

Callers

nothing calls this directly

Calls 5

idFunction · 0.85
set_attribute_valueMethod · 0.80
declarationClass · 0.70
identityFunction · 0.70
visitFunction · 0.50

Tested by

no test coverage detected