| 395 | } |
| 396 | |
| 397 | double 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 | |
| 409 | void YamlLoadHelper::LoadMemory(const LPBYTE pMemBase, const size_t size, const UINT offset/*=0*/) |
| 410 | { |
no test coverage detected