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

Method LoadUint

source/YamlHelper.cpp:331–341  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

329}
330
331UINT YamlLoadHelper::LoadUint(const std::string key)
332{
333 bool bFound;
334 std::string value = m_yamlHelper.GetMapValue(*m_pMapYaml, key, bFound);
335 if (value == "")
336 {
337 m_bDoGetMapRemainder = false;
338 throw std::runtime_error(m_currentMapName + ": Missing: " + key);
339 }
340 return strtoul(value.c_str(), NULL, 0);
341}
342
343UINT64 YamlLoadHelper::LoadUint64(const std::string key)
344{

Callers 15

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

Calls 1

GetMapValueMethod · 0.80

Tested by

no test coverage detected