Virtual Testbed
Ship dynamics simulator for extreme conditions
|
Public Member Functions | |
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) |