MCPcopy Create free account
hub / github.com/OpenHD/OpenHD / to_string

Method to_string

OpenHD/ohd_common/src/openhd_platform.cpp:295–299  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

293}
294
295std::string OHDPlatform::to_string() const {
296 std::stringstream ss;
297 ss << "OHDPlatform:[" << x_platform_type_to_string(platform_type) << "]";
298 return ss.str();
299}
300
301bool OHDPlatform::is_rpi() const {
302 return platform_type >= 10 && platform_type < 20;

Callers 1

write_platform_manifestFunction · 0.45

Calls 1

Tested by

no test coverage detected