MCPcopy Create free account
hub / github.com/BZFlag-Dev/bzflag / WordComplete

Method WordComplete

src/clientbase/EventHandler.cpp:482–493  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

480
481
482void EventHandler::WordComplete(const std::string& line, std::set<std::string>& partials) {
483 EventClientList& ecList = listWordComplete;
484 EventClientList::const_iterator it;
485 for (it = ecList.begin(); it != ecList.end(); ++it) {
486 std::set<std::string> safePartials;
487 (*it)->WordComplete(line, safePartials);
488 std::set<std::string>::const_iterator sit;
489 for (sit = safePartials.begin(); sit != safePartials.end(); ++sit) {
490 partials.insert(*sit); // NOTE: empty strings are valid
491 }
492 }
493}
494
495
496//============================================================================//

Callers

nothing calls this directly

Calls 3

beginMethod · 0.45
endMethod · 0.45
insertMethod · 0.45

Tested by

no test coverage detected