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

Function set_attribute_value

src/ifcparse/IfcEntityInstanceData.h:447–456  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

445
446 template<typename T>
447 void set_attribute_value(void* storage, const IfcParse::declaration* decl, std::size_t identity, std::size_t index, T&& value) {
448 if (storage_) {
449 storage_->set(index, value);
450 }
451#ifdef IFOPSH_WITH_ROCKSDB
452 else {
453 rocks_db_attribute_storage{}.set(storage, decl, identity, index, value);
454 }
455#endif
456 }
457
458 template<typename T>
459 bool has_attribute_value(void* storage, const IfcParse::declaration* decl, std::size_t identity, std::size_t index) const {

Callers 15

schema_nameMethod · 0.85
time_stamp_textMethod · 0.85
setdescriptionMethod · 0.85
file_descriptionMethod · 0.85
setnameMethod · 0.85
settime_stampMethod · 0.85
setauthorMethod · 0.85
setorganizationMethod · 0.85
setoriginating_systemMethod · 0.85
setauthorizationMethod · 0.85

Calls 1

setMethod · 0.45

Tested by

no test coverage detected