| 86 | } |
| 87 | |
| 88 | void IfcTokenStream::MoveTo(const size_t pos) |
| 89 | { |
| 90 | for (size_t i=_chunks.size()-1; i >=0; i--) |
| 91 | { |
| 92 | if (_chunks[i].GetTokenRef() <= pos) |
| 93 | { |
| 94 | _currentChunk = i; |
| 95 | _cChunk = &_chunks[_currentChunk]; |
| 96 | _readPtr = pos - _cChunk->GetTokenRef(); |
| 97 | break; |
| 98 | } |
| 99 | } |
| 100 | } |
| 101 | |
| 102 | void IfcTokenStream::checkMemory() |
| 103 | { |
no test coverage detected