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

Method set_id

src/ifcparse/IfcParse.cpp:955–960  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

953}
954
955unsigned IfcUtil::IfcBaseEntity::set_id(const boost::optional<unsigned>& i) {
956 if (i) {
957 return id_ = *i;
958 }
959 return id_ = file_->FreshId();
960}
961
962namespace {
963// @todo remove redundancy with python wrapper code (which is not identical due to

Callers 1

addEntityMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected