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

Method Clear

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

Source from the content-addressed store, hash-verified

17 }
18
19 bool IfcTokenStream::IfcTokenChunk::Clear(bool force)
20 {
21 if (_fileStream==nullptr && !force) return false;
22 if (_chunkData!=nullptr) { delete[] _chunkData; _chunkData = nullptr; }
23 _loaded=false;
24 return true;
25 }
26
27 bool IfcTokenStream::IfcTokenChunk::Clear()
28 {

Callers 3

~IfcTokenStreamMethod · 0.45
SetTokenSourceMethod · 0.45
checkMemoryMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected