| 162 | |
| 163 | |
| 164 | void StateDatabase::unset(const std::string& name, Permission accessLevel) { |
| 165 | ItemMap::iterator it = lookup(name); |
| 166 | if (accessLevel >= it->second.permission) { |
| 167 | it->second.value = ""; |
| 168 | it->second.isSet = false; |
| 169 | it->second.isTrue = false; |
| 170 | notify(it); |
| 171 | } |
| 172 | } |
| 173 | |
| 174 | |
| 175 | void StateDatabase::touch(const std::string& name, Permission accessLevel) { |
no outgoing calls
no test coverage detected