MCPcopy Create free account
hub / github.com/EasyRPG/Player / ParseValue

Method ParseValue

src/cmdline_parser.cpp:26–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24#include <sstream>
25
26bool CmdlineArg::ParseValue(int i, std::string& value) const {
27 if (i >= NumValues()) {
28 return false;
29 }
30 value = Value(i);
31 return true;
32}
33
34bool CmdlineArg::ParseValue(int i, long& value) const {
35 if (i >= NumValues()) {

Callers 4

LoadFromArgsMethod · 0.80
LoadFromArgsMethod · 0.80
ParseCommandLineMethod · 0.80
cmdline_parser.cppFile · 0.80

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected