Lines Matching refs:std
29 std::string key;
30 std::string value;
34 std::string name;
35 std::list<entry_t> entries;
36 void Set(std::string key, std::string value);
37 std::list<entry_t>::iterator Find(const std::string& key);
38 bool Has(const std::string& key);
42 std::list<section_t> sections;
43 std::list<section_t>::iterator Find(const std::string& section);
44 bool Has(const std::string& section);
49 std::unique_ptr<config_t> config_new_empty(void);
55 std::unique_ptr<config_t> config_new(const char* filename);
58 std::string checksum_read(const char* filename);
65 std::unique_ptr<config_t> config_new_clone(const config_t& src);
69 bool config_has_section(const config_t& config, const std::string& section);
73 bool config_has_key(const config_t& config, const std::string& section,
74 const std::string& key);
79 int config_get_int(const config_t& config, const std::string& section,
80 const std::string& key, int def_value);
85 uint64_t config_get_uint64(const config_t& config, const std::string& section,
86 const std::string& key, uint64_t def_value);
91 bool config_get_bool(const config_t& config, const std::string& section,
92 const std::string& key, bool def_value);
98 const std::string* config_get_string(const config_t& config,
99 const std::string& section,
100 const std::string& key,
101 const std::string* def_value);
105 void config_set_int(config_t* config, const std::string& section,
106 const std::string& key, int value);
110 void config_set_uint64(config_t* config, const std::string& section,
111 const std::string& key, uint64_t value);
115 void config_set_bool(config_t* config, const std::string& section,
116 const std::string& key, bool value);
120 void config_set_string(config_t* config, const std::string& section,
121 const std::string& key, const std::string& value);
128 bool config_remove_section(config_t* config, const std::string& section);
134 bool config_remove_key(config_t* config, const std::string& section,
135 const std::string& key);
143 bool config_save(const config_t& config, const std::string& filename);
148 bool checksum_save(const std::string& checksum, const std::string& filename);