| 184 | } |
| 185 | |
| 186 | bool Config::GetBool(const string &sec, const string &key, const string &defaultvalue) { |
| 187 | return ToBool(Get(sec, key, defaultvalue)); |
| 188 | } |
| 189 | |
| 190 | bool Config::Scan(const string &sec, const string &key, const char *scanfmt, void *dst) { |
| 191 | if ((key == "") || (sec == "") || (this->_conf == NULL)) return false; |