MCPcopy Create free account
hub / github.com/BTCGPU/BTCGPU / GetArg

Method GetArg

src/util.cpp:528–534  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

526}
527
528std::string ArgsManager::GetArg(const std::string& strArg, const std::string& strDefault) const
529{
530 if (IsArgNegated(strArg)) return "0";
531 std::pair<bool,std::string> found_res = ArgsManagerHelper::GetArg(*this, strArg);
532 if (found_res.first) return found_res.second;
533 return strDefault;
534}
535
536int64_t ArgsManager::GetArg(const std::string& strArg, int64_t nDefault) const
537{

Callers 15

HTTPBindAddressesFunction · 0.45
InitHTTPServerFunction · 0.45
StartHTTPServerFunction · 0.45
AddTimeDataFunction · 0.45
InitRPCAuthenticationFunction · 0.45
DefaultOptionsFunction · 0.45
CreateNewBlockMethod · 0.45
auth_cbMethod · 0.45
protocolinfo_cbMethod · 0.45
TorControlThreadFunction · 0.45
AppInitRPCFunction · 0.45
CallRPCFunction · 0.45

Calls 1

atoi64Function · 0.85

Tested by 2

BOOST_AUTO_TEST_CASEFunction · 0.36
BOOST_AUTO_TEST_CASEFunction · 0.36