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

Method Forward

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

Source from the content-addressed store, hash-verified

70 }
71
72 void IfcTokenStream::Forward(const size_t size)
73 {
74 _readPtr+=size;
75 while (_readPtr >= _cChunk->TokenSize())
76 {
77 if (_currentChunk == _chunks.size()-1)
78 {
79 _readPtr = _chunks.back().TokenSize();
80 return;
81 }
82 _readPtr -= _cChunk->TokenSize();
83 _currentChunk++;
84 _cChunk = &_chunks[_currentChunk];
85 }
86 }
87
88 void IfcTokenStream::MoveTo(const size_t pos)
89 {

Callers

nothing calls this directly

Calls 2

TokenSizeMethod · 0.80
sizeMethod · 0.80

Tested by

no test coverage detected