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

Method InstanceStreamer

src/ifcparse/IfcParse.cpp:1420–1429  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1418}
1419
1420IfcParse::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
1431IfcParse::InstanceStreamer::InstanceStreamer(const std::string& fn, bool mmap)
1432 : stream_(mmap ? new FileReader(fn, FileReader::mmap_tag{}) : new FileReader(fn))

Callers 2

stream2Function · 0.80
__init__Method · 0.80

Calls 7

init_localeFunction · 0.85
schema_by_nameFunction · 0.85
eofMethod · 0.80
tryReadMethod · 0.80
schema_identifiersMethod · 0.80
sizeMethod · 0.45
file_schemaMethod · 0.45

Tested by

no test coverage detected