Virtual Testbed
Ship dynamics simulator for extreme conditions
Public Member Functions | List of all members
vtb::ini::Ini Class Reference
Inheritance diagram for vtb::ini::Ini:
[legend]

Public Member Functions

int load (const string_type &filename, bool keep_existing=false)
 
bool save (const string_type &filename)
 
bool HasChanges () const
 
const map_2dsections () const
 
bool HasCategory (const string_type &category) const
 
template<class T >
find (const char *category, const char *key) const
 
template<class 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)
 

Detailed Description

Definition at line 15 of file ini.hh.