| 341 | } |
| 342 | |
| 343 | UINT64 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 | |
| 355 | bool YamlLoadHelper::LoadBool(const std::string key) |
| 356 | { |
no test coverage detected