MCPcopy Create free account
hub / github.com/FreeCAD/FreeCAD / getElementMapSize

Method getElementMapSize

src/App/ComplexGeoData.cpp:222–235  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

220}
221
222size_t ComplexGeoData::getElementMapSize(bool flush) const
223{
224 if (flush) {
225 flushElementMap();
226#ifdef _FC_MEM_TRACE
227 FC_MSG("memory size " << (_MemSize / 1024 / 1024) << "MB, " << (_MemMaxSize / 1024 / 1024));
228 for (auto& unit : _MemUnits) {
229 FC_MSG("unit " << unit.first << ": " << unit.second.count << ", "
230 << unit.second.maxcount);
231 }
232#endif
233 }
234 return _elementMap ? _elementMap->size() : 0;
235}
236
237MappedName ComplexGeoData::getMappedName(const IndexedName& element,
238 bool allowUnmapped,

Callers 13

PyInitMethod · 0.45
setPyObjectMethod · 0.45
beforeSaveMethod · 0.45
SaveMethod · 0.45
afterRestoreMethod · 0.45
updateMethod · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected