MCPcopy Create free account
hub / github.com/danoon2/Boxedwine / readString

Method readString

source/ui/data/configFile.cpp:42–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40}
41
42BString ConfigFile::readString(BString name, BString defaultValue) {
43 BString value;
44 if (this->values.get(name, value)) {
45 return value;
46 }
47 return defaultValue;
48}
49
50bool ConfigFile::readBool(BString name, bool defaultValue) {
51 BString value;

Callers 3

initMethod · 0.45
loadMethod · 0.45
loadMethod · 0.45

Calls 1

getMethod · 0.45

Tested by

no test coverage detected