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

Method size

src/ifcparse/FileReader.cpp:181–185  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

179 size_t discarded_page_bytes_ = 0;
180
181 size_t size() const override {
182 size_t n = discarded_page_bytes_;
183 for (auto& pg : pages_) n += pg.data.size();
184 return n;
185 }
186
187 // Drop fully-consumed pages so pos is guaranteed to be within the first page
188 void dropPages(size_t pos) override {

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected