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

Function TokenNext

LASzip/src/mydefs.cpp:725–732  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

723
724/// returns next token, "" if done or first empty token
725std::string TokenNext(std::string& in, std::string delim) {
726 std::string out;
727 if (GetTokenNext(in, delim, out)) {
728 return out;
729 } else {
730 return "";
731 }
732}
733
734/// output all vector values separated by delimiter
735std::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