MCPcopy Create free account
hub / github.com/ThatOpen/engine_web-ifc / ~IfcTokenStream

Method ~IfcTokenStream

src/cpp/web-ifc/parsing/IfcTokenStream.cpp:19–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17 }
18
19 IfcTokenStream::~IfcTokenStream()
20 {
21 for (size_t i=0; i < _chunks.size();i++) _chunks[i].Clear(true);
22 _chunks.clear();
23 std::vector<IfcTokenChunk>().swap(_chunks);
24 delete _fileStream;
25 }
26
27 size_t IfcTokenStream::GetNoLines() {
28 if (_fileStream != nullptr) return _fileStream->GetNoLines();

Callers

nothing calls this directly

Calls 3

sizeMethod · 0.80
clearMethod · 0.65
ClearMethod · 0.45

Tested by

no test coverage detected