| 31 | |
| 32 | namespace { |
| 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 | |
| 46 | void IfcSpfHeader::readSemicolon() { |
no test coverage detected