MCPcopy Create free account
hub / github.com/ZDoom/Raze / GetSize

Method GetSize

source/common/engine/serializer.cpp:605–613  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

603//==========================================================================
604
605unsigned FSerializer::GetSize(const char *group)
606{
607 if (isWriting()) return -1; // we do not know this when writing.
608
609 const rapidjson::Value *val = r->FindKey(group);
610 if (!val) return 0;
611 if (!val->IsArray()) return -1;
612 return val->Size();
613}
614
615//==========================================================================
616//

Callers 4

GetOutputMethod · 0.45
GetCompressedOutputMethod · 0.45
DictionaryToStringFunction · 0.45
OnPaintMethod · 0.45

Calls 3

IsArrayMethod · 0.80
FindKeyMethod · 0.45
SizeMethod · 0.45

Tested by

no test coverage detected