MCPcopy Create free account
hub / github.com/Gecode/gecode / parse

Method parse

gecode/driver/options.cpp:119–126  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

117 cur = strdup(v);
118 }
119 int
120 StringValueOption::parse(int argc, char* argv[]) {
121 if (char* a = argument(argc,argv)) {
122 cur = strdup(a);
123 return 2;
124 }
125 return 0;
126 }
127 void
128 StringValueOption::help(void) {
129 std::cerr << '\t' << iopt << " (string) default: "

Callers

nothing calls this directly

Calls 2

parseFunction · 0.85
sizeFunction · 0.50

Tested by

no test coverage detected