MCPcopy Create free account
hub / github.com/JibbSmart/JoyShockMapper / Parser

Method Parser

JoyShockMapper/src/main.cpp:2687–2697  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2685 string arg; // parsed argument
2686
2687 bool Parser(in_string arguments)
2688 {
2689 stringstream ss(arguments);
2690 ss >> arg;
2691 do { // Run at least once with an empty arg string if there's no argument.
2692 _macro(this, arguments);
2693 ss >> arg;
2694 } while (!ss.fail());
2695 arg.clear();
2696 return true;
2697 }
2698
2699 // The run function is nothing like the delegate. See how I use the bind function
2700 // below to hard-code the pointer parameter and the instance pointer 'this'.

Callers

nothing calls this directly

Calls 1

clearMethod · 0.80

Tested by

no test coverage detected