MCPcopy Create free account
hub / github.com/BoomingTech/Piccolo / VectorToString

Function VectorToString

engine/3rdparty/JoltPhysics/Jolt/Core/StringTools.cpp:68–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66}
67
68void VectorToString(const vector<string> &inVector, string &outString, const string_view &inDelimiter)
69{
70 // Ensure string empty
71 outString.clear();
72
73 for (const string &s : inVector)
74 {
75 // Add delimiter if not first element
76 if (!outString.empty())
77 outString.append(inDelimiter);
78
79 // Add element
80 outString.append(s);
81 }
82}
83
84string ToLower(const string_view &inString)
85{

Callers 1

Calls 3

clearMethod · 0.45
emptyMethod · 0.45
appendMethod · 0.45

Tested by

no test coverage detected