MCPcopy Create free account
hub / github.com/OpenBoardView/OpenBoardView / ParseStr

Method ParseStr

src/openboardview/confparse.cpp:362–368  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

360}
361
362const char *Confparse::ParseStr(const char *key, const char *defaultv) {
363 char *p = Parse(key);
364 if (p)
365 return p;
366 else
367 return defaultv;
368}
369
370int Confparse::ParseInt(const char *key, int defaultv) {
371 char *p = Parse(key);

Callers 7

loadFromConfigMethod · 0.80
OpenDocumentMethod · 0.80
readFromConfigMethod · 0.80
loadFromConfigMethod · 0.80
readFromConfigMethod · 0.80
readFromConfigMethod · 0.80
renderMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected