MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / ToString

Method ToString

extern/re2/re2/prefilter.cc:271–287  ·  view source on GitHub ↗

Format a Info in string form.

Source from the content-addressed store, hash-verified

269
270// Format a Info in string form.
271std::string Prefilter::Info::ToString() {
272 if (is_exact_) {
273 int n = 0;
274 std::string s;
275 for (SSIter i = exact_.begin(); i != exact_.end(); ++i) {
276 if (n++ > 0)
277 s += ",";
278 s += *i;
279 }
280 return s;
281 }
282
283 if (match_)
284 return match_->DebugString();
285
286 return "";
287}
288
289// Add the strings from src to dst.
290static void CopyIn(const std::set<std::string>& src,

Callers 3

CClassMethod · 0.45
BuildInfoMethod · 0.45
PostVisitMethod · 0.45

Calls 3

DebugStringMethod · 0.80
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected