| 1418 | } |
| 1419 | |
| 1420 | IfcParse::InstanceStreamer::InstanceStreamer() |
| 1421 | : stream_(new FileReader(FileReader::caller_fed_tag{})) |
| 1422 | , lexer_(new IfcSpfLexer(stream_)) |
| 1423 | , token_stream_(3, Token{}) |
| 1424 | , schema_(nullptr) |
| 1425 | , progress_(0) |
| 1426 | { |
| 1427 | init_locale(); |
| 1428 | good_ = file_open_status::NO_HEADER; |
| 1429 | } |
| 1430 | |
| 1431 | IfcParse::InstanceStreamer::InstanceStreamer(const std::string& fn, bool mmap) |
| 1432 | : stream_(mmap ? new FileReader(fn, FileReader::mmap_tag{}) : new FileReader(fn)) |
no test coverage detected