MCPcopy Create free account
hub / github.com/SHAILAB-IPEC/OpenFly-Platform / split

Function split

envs/gs/SIBR_viewers/src/core/system/String.cpp:86–98  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84 }
85
86 std::vector<std::string> split(const std::string& str, char delim)
87 {
88 std::stringstream ss(str);
89 std::string to;
90 std::vector<std::string> out;
91
92 if (str.empty())
93 return out;
94
95 while (std::getline(ss, to, delim))
96 out.push_back(to);
97 return out;
98 }
99
100 /// Wrapper around sibr::sprintf that returns a string
101 std::string sprint(const char *msg, ...)

Callers 2

parseSceneMetadataMethod · 0.50
getParsedColmapDataMethod · 0.50

Calls 2

emptyMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected