MCPcopy Create free account
hub / github.com/TactilityProject/Tactility / optString

Method optString

Tactility/Source/PreferencesMock.cpp:57–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55}
56
57bool Preferences::optString(const std::string& key, std::string& out) const {
58 std::string bundle_key = get_bundle_key(namespace_, key);
59 return preferences.optString(bundle_key, out);
60}
61
62void Preferences::putBool(const std::string& key, bool value) {
63 std::string bundle_key = get_bundle_key(namespace_, key);

Callers

nothing calls this directly

Calls 1

get_bundle_keyFunction · 0.85

Tested by

no test coverage detected