Virtual Testbed
Ship dynamics simulator for extreme conditions
|
Public Member Functions | |
Ini_settings (const string_array &user_prefix, const string_type &system_prefix, const string_type &filename) | |
const string_array & | user_prefix () const |
const string_type & | system_prefix () const |
const string_type & | filename () const |
void | filename (const string_type &rhs) |
void | user_prefix (string_array &&rhs) |
void | user_prefix (const string_array &rhs) |
void | system_prefix (string_type &&rhs) |
void | system_prefix (string_cref rhs) |
void | load () |
void | save () |
![]() | |
int | load (const string_type &filename, bool keep_existing=false) |
bool | save (const string_type &filename) |
bool | HasChanges () const |
const map_2d & | sections () const |
bool | HasCategory (const string_type &category) const |
template<class T > | |
T | find (const char *category, const char *key) const |
template<class T > | |
T | get (const string_type &category, const string_type &key, T def_value) const |
string_type | get (const char *category, const char *key, const char *def_value="") const |
template<class T > | |
void | set (const char *category, const char *key, T value) |
void | set (const char *category, const char *key, const char *value) |
void | set (const char *category, const char *key, const string_type &value) |
Definition at line 14 of file ini_settings.hh.