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

Function convertCylinderHeadsToString

lib/data/locations.cc:153–163  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

151}
152
153std::string convertCylinderHeadsToString(const std::vector<CylinderHead>& chs)
154{
155 return fmt::format("{}",
156 fmt::join(chs | std::views::transform(
157 [](const auto& ch)
158 {
159 return fmt::format(
160 "c{}h{}", ch.cylinder, ch.head);
161 }),
162 " "));
163}

Callers 8

ScpFluxSourceMethod · 0.85
MemoryFluxSourceMethod · 0.85
CwfFluxSourceMethod · 0.85
Fl2FluxSourceMethod · 0.85
DmkFluxSourceMethod · 0.85
A2rFluxSourceMethod · 0.85
KryofluxFluxSourceMethod · 0.85
FlxFluxSourceMethod · 0.85

Calls 1

joinFunction · 0.50

Tested by

no test coverage detected