MCPcopy Create free account
hub / github.com/apache/brpc / GetNext

Method GetNext

src/butil/strings/string_tokenizer.h:128–133  ·  view source on GitHub ↗

Call this method to advance the tokenizer to the next delimiter. This returns false if the tokenizer is complete. This method must be called before calling any of the token* methods.

Source from the content-addressed store, hash-verified

126 // returns false if the tokenizer is complete. This method must be called
127 // before calling any of the token* methods.
128 bool GetNext() {
129 if (quotes_.empty() && options_ == 0)
130 return QuickGetNext();
131 else
132 return FullGetNext();
133 }
134
135 // Start iterating through tokens from the beginning of the string.
136 void Reset() {

Callers

nothing calls this directly

Calls 1

emptyMethod · 0.45

Tested by

no test coverage detected