5#include "../core_export.h"
13 namespace configuration {
207 xtd::
string read(const
xtd::
string& key, const
xtd::
string& default_value);
213 template<typename type_t>
214 type_t read(const
xtd::
string& key, const type_t& default_value) {
237 template<
typename type_t>
Represents text as a sequence of character units.
Definition basic_string.h:79
Represent settings associate to the application.
Definition settings.h:174
void save()
Save application settings.
void write(const xtd::string &key, const xtd::string &value)
Writes a specified value for specified key.
const xtd::string & file_path() const noexcept
Gets the file path of the application settings.
settings()
Initializes a new instance of settings class.
void write(const xtd::string &key, type_t &&value)
Writes a specified value for specified key.
Definition settings.h:238
void reset()
Reset application settings.
Supports all classes in the xtd class hierarchy and provides low-level services to derived classes....
Definition object.h:42
#define core_export_
Define shared library export.
Definition core_export.h:13
std::shared_ptr< type_t > sptr
The xtd::sptr object is a shared pointer.
Definition sptr.h:25
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.h:10