MCPcopy Create free account
hub / github.com/BZFlag-Dev/bzflag / isSet

Method isSet

src/common/StateDatabase.cpp:227–231  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

225
226
227bool StateDatabase::isSet(const std::string& name) const {
228 DEBUG_LOOKUPS(name);
229 ItemMap::const_iterator it = items.find(name);
230 return !(it == items.end() || !it->second.isSet);
231}
232
233
234std::string StateDatabase::get(const std::string& name) const {

Callers 15

parseMethod · 0.80
initMethod · 0.80
updateMethod · 0.80
evaluateStringFunction · 0.80
cmdSetFunction · 0.80
cmdResetFunction · 0.80
doVoteArbiterFunction · 0.80
bz_BZDBItemExistsFunction · 0.80
bz_setBZDBDoubleFunction · 0.80
bz_setBZDBStringFunction · 0.80
bz_setBZDBBoolFunction · 0.80
bz_setBZDBIntFunction · 0.80

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected