MCPcopy Create free account
hub / github.com/davidgiven/fluxengine / optionsToString

Function optionsToString

src/gui2/utils.cc:43–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41}
42
43std::string optionsToString(const OptionsMap& options)
44{
45 std::stringstream ss;
46 for (auto& it : options)
47 {
48 if (ss.rdbuf()->in_avail())
49 ss << " ";
50 ss << it.first;
51 if (!it.second.empty())
52 ss << "=" << it.second;
53 }
54 return ss.str();
55}

Callers 1

emitOptionsFunction · 0.85

Calls 1

emptyMethod · 0.45

Tested by

no test coverage detected