MCPcopy Create free account
hub / github.com/Snapchat/Valdi / getMapLength

Method getMapLength

valdi_core/src/valdi_core/cpp/Utils/Marshaller.cpp:368–375  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

366}
367
368int Marshaller::getMapLength(int index) {
369 auto map = getMap(index);
370 if (!_exceptionTracker) {
371 return 0;
372 }
373
374 return static_cast<int>(map->size());
375}
376
377bool Marshaller::getMapProperty(const StringBox& key, int index, Marshaller::GetMapPropertyFlags flags) {
378 auto map = getMap(index);

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected