MCPcopy Create free account
hub / github.com/AppleWin/AppleWin / GetSubMap

Method GetSubMap

source/YamlHelper.cpp:226–236  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

224}
225
226bool YamlHelper::GetSubMap(MapYaml** mapYaml, const std::string& key, const bool canBeNull/*=false*/)
227{
228 MapYaml::const_iterator iter = (*mapYaml)->find(key);
229 if (iter == (*mapYaml)->end() || (!canBeNull && iter->second.subMap == NULL))
230 {
231 return false; // not found
232 }
233
234 *mapYaml = iter->second.subMap;
235 return true;
236}
237
238void YamlHelper::GetMapRemainder(std::string& mapName, MapYaml& mapYaml)
239{

Callers 15

LoadSnapshotMethod · 0.45
SC01_LoadSnapshotMethod · 0.45
LoadSnapshotMethod · 0.45
ParseSlotsFunction · 0.45
ParseUnitFunction · 0.45
RGB_LoadSnapshotFunction · 0.45
MemLoadSnapshotFunction · 0.45
MemLoadSnapshotAuxCommonFunction · 0.45
MemLoadSnapshotAuxVer2Function · 0.45
VideoLoadSnapshotMethod · 0.45
LoadSnapshotMC6821Method · 0.45
LoadSnapshotMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected