MCPcopy Create free account
hub / github.com/LASzip/LASzip / TokenNext

Function TokenNext

src/mydefs.cpp:729–736  ·  view source on GitHub ↗

returns next token, "" if done or first empty token

Source from the content-addressed store, hash-verified

727
728/// returns next token, "" if done or first empty token
729std::string TokenNext(std::string& in, std::string delim) {
730 std::string out;
731 if (GetTokenNext(in, delim, out)) {
732 return out;
733 } else {
734 return "";
735 }
736}
737
738/// output all vector values separated by delimiter
739std::string VectorDelimited(const std::vector<std::string>& items, const std::string& delimiter) {

Callers

nothing calls this directly

Calls 1

GetTokenNextFunction · 0.85

Tested by

no test coverage detected