| 329 | } |
| 330 | |
| 331 | UINT 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 | |
| 343 | UINT64 YamlLoadHelper::LoadUint64(const std::string key) |
| 344 | { |
no test coverage detected