MCPcopy Create free account
hub / github.com/bwapi/bwapi / LoadConfigStringUCase

Function LoadConfigStringUCase

bwapi/BWAPI/Source/Config.cpp:61–64  ·  view source on GitHub ↗

this version uppercase result string after loading, should be used for the most of enum-like strings

Source from the content-addressed store, hash-verified

59}
60// this version uppercase result string after loading, should be used for the most of enum-like strings
61std::string LoadConfigStringUCase (const char *pszKey, const char *pszItem, const char *pszDefault)
62{
63 return Util::to_upper_copy(LoadConfigString(pszKey, pszItem, pszDefault));
64}
65int LoadConfigInt(const char *pszKey, const char *pszItem, const int iDefault)
66{
67 std::string envKey = envKeyName(pszKey, pszItem);

Callers 5

CheckAttachConsoleFunction · 0.85
_GetCommandLineAFunction · 0.85
InitPrimaryConfigFunction · 0.85
loadAutoMenuDataMethod · 0.85
reloadConfigMethod · 0.85

Calls 2

to_upper_copyFunction · 0.85
LoadConfigStringFunction · 0.85

Tested by

no test coverage detected