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

Method LoadUint64

source/YamlHelper.cpp:343–353  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

341}
342
343UINT64 YamlLoadHelper::LoadUint64(const std::string key)
344{
345 bool bFound;
346 std::string value = m_yamlHelper.GetMapValue(*m_pMapYaml, key, bFound);
347 if (value == "")
348 {
349 m_bDoGetMapRemainder = false;
350 throw std::runtime_error(m_currentMapName + ": Missing: " + key);
351 }
352 return _strtoui64(value.c_str(), NULL, 0);
353}
354
355bool YamlLoadHelper::LoadBool(const std::string key)
356{

Callers 8

LoadSnapshotMethod · 0.80
LoadSnapshotMethod · 0.80
CpuLoadSnapshotFunction · 0.80
LoadSnapshotMethod · 0.80
SpkrLoadSnapshotFunction · 0.80
JoyLoadSnapshotFunction · 0.80
LoadSnapshotMethod · 0.80

Calls 1

GetMapValueMethod · 0.80

Tested by

no test coverage detected