Lines Matching defs:path
1639 priv(const string& path,
1641 : path_(path),
1647 /// @param path the path to the config file.
1650 config::config(const string& path,
1652 : priv_(new priv(path, sections))
1662 /// @return the path to the config file.
1667 /// Set the path to the config file.
1669 /// @param the new path to the config file.
1671 config::set_path(const string& path)
1672 {priv_->path_ = path;}
1719 /// @param path the path of the ini file to parse.
1727 read_sections(const string& path,
1730 std::ifstream in(path.c_str(), std::ifstream::binary);
1758 /// @param path the path to the ini file to parse.
1765 read_config(const string& path,
1769 if (!read_sections(path, sections))
1771 conf.set_path(path);
1795 read_config(const string& path)
1798 if (!read_config(path, *c))
1904 const string& path)
1906 std::ofstream f(path.c_str(), std::ofstream::binary);
1938 /// @param path the path to the on-disk file to serialize to.
1943 const string& path)
1945 if (!write_sections(conf.get_sections(), path))