Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CalcProgrammer1/OpenRGB
/ hasURL
Method
hasURL
dependencies/hueplusplus-1.0.0/src/Sensor.cpp:154–157 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
152
}
153
154
bool Sensor::hasURL() const
155
{
156
return state.getValue().at(
"config"
).count(
"url"
) != 0;
157
}
158
std::string Sensor::getURL() const
159
{
160
return state.getValue().at(
"config"
).at(
"url"
).get<std::string>();
Callers
2
TEST_F
Function · 0.45
TEST_F
Function · 0.45
Calls
2
getValue
Method · 0.80
count
Method · 0.45
Tested by
2
TEST_F
Function · 0.36
TEST_F
Function · 0.36