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

Method LoadDouble

source/YamlHelper.cpp:397–407  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

395}
396
397double YamlLoadHelper::LoadDouble(const std::string& key)
398{
399 bool bFound;
400 std::string value = m_yamlHelper.GetMapValue(*m_pMapYaml, key, bFound);
401 if (value == "")
402 {
403 m_bDoGetMapRemainder = false;
404 throw std::runtime_error(m_currentMapName + ": Missing: " + key);
405 }
406 return strtod(value.c_str(), NULL);
407}
408
409void YamlLoadHelper::LoadMemory(const LPBYTE pMemBase, const size_t size, const UINT offset/*=0*/)
410{

Callers 1

LoadSnapshotFloppyMethod · 0.80

Calls 1

GetMapValueMethod · 0.80

Tested by

no test coverage detected