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

Method seek

src/ifcparse/FileReader.cpp:277–280  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

275}
276
277void FileReader::seek(size_t pos) {
278 if (pos > impl_->size()) throw std::out_of_range("seek out of range");
279 cursor_ = pos;
280}
281
282size_t FileReader::tell() const { return cursor_; }
283

Callers 8

upload_documents_postFunction · 0.80
__repr__Method · 0.80
__getattr__Method · 0.80
__repr__Method · 0.80
getMethod · 0.80
skipCommentMethod · 0.80
TokenStringMethod · 0.80
try_read_semicolonMethod · 0.80

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected