MCPcopy Create free account
hub / github.com/bdring/FluidNC / ipValue

Method ipValue

FluidNC/src/Configuration/Parser.cpp:170–176  ·  view source on GitHub ↗

cppcheck-suppress unusedFunction

Source from the content-addressed store, hash-verified

168
169 // cppcheck-suppress unusedFunction
170 IPAddress Parser::ipValue() const {
171 IPAddress ip;
172 if (!ip.fromString(std::string(string_util::trim(_token._value)).c_str())) {
173 parseError("Expected an IP address like 192.168.0.100");
174 }
175 return ip;
176 }
177
178 // cppcheck-suppress unusedFunction
179 uint32_t Parser::enumValue(const EnumItem* e) const {

Callers 1

itemMethod · 0.80

Calls 3

c_strMethod · 0.80
trimFunction · 0.50
fromStringMethod · 0.45

Tested by

no test coverage detected