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

Function read_from_spf_file

src/ifcparse/IfcSpfHeader.cpp:33–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31
32namespace {
33 IfcEntityInstanceData read_from_spf_file(IfcParse::impl::in_memory_file_storage* storage, const IfcParse::entity* decl) {
34 if (storage != nullptr) {
35 parse_context pc;
36 storage->tokens->Next();
37 storage->load(-1, nullptr, pc, -1);
38 return pc.construct(boost::none, *storage->references_to_resolve, decl, decl->as_entity()->attribute_count(), -1);
39 } else {
40 // std::unreachable();
41 return IfcEntityInstanceData(in_memory_attribute_storage(10));
42 }
43 }
44} // namespace
45
46void IfcSpfHeader::readSemicolon() {

Callers 1

readMethod · 0.85

Calls 4

NextMethod · 0.45
loadMethod · 0.45
constructMethod · 0.45

Tested by

no test coverage detected