synfig-studio  1.0.3
Public Types | Public Member Functions | List of all members
synfigapp::Settings Class Reference

#include <settings.h>

Inheritance diagram for synfigapp::Settings:
studio::DialogSettings

Public Types

typedef std::list< synfig::String > KeyList
typedef std::map
< synfig::String,
synfig::String > 
ValueBaseMap
typedef std::map
< synfig::String, Settings * > 
DomainMap

Public Member Functions

 Settings ()
virtual ~Settings ()
virtual bool get_value (const synfig::String &key, synfig::String &value) const
virtual bool set_value (const synfig::String &key, const synfig::String &value)
virtual KeyList get_key_list () const
synfig::String get_value (const synfig::String &key) const
void add_domain (Settings *domain, const synfig::String &name)
void remove_domain (const synfig::String &name)
bool load_from_string (const synfig::String &data)
bool save_to_string (synfig::String &data)
bool load_from_file (const synfig::String &filename, const synfig::String &key_filter="")
bool save_to_file (const synfig::String &filename) const

Member Typedef Documentation

typedef std::list<synfig::String> synfigapp::Settings::KeyList
typedef std::map<synfig::String,synfig::String> synfigapp::Settings::ValueBaseMap
typedef std::map<synfig::String,Settings*> synfigapp::Settings::DomainMap

Constructor & Destructor Documentation

Settings::Settings ( )
Settings::~Settings ( )
virtual

Member Function Documentation

bool Settings::get_value ( const synfig::String &  key,
synfig::String &  value 
) const
virtual

Reimplemented in studio::DialogSettings.

bool Settings::set_value ( const synfig::String &  key,
const synfig::String &  value 
)
virtual
Settings::KeyList Settings::get_key_list ( ) const
virtual
synfig::String Settings::get_value ( const synfig::String &  key) const
void Settings::add_domain ( Settings domain,
const synfig::String &  name 
)
void Settings::remove_domain ( const synfig::String &  name)
bool synfigapp::Settings::load_from_string ( const synfig::String &  data)
bool synfigapp::Settings::save_to_string ( synfig::String &  data)
bool Settings::load_from_file ( const synfig::String &  filename,
const synfig::String &  key_filter = "" 
)
bool Settings::save_to_file ( const synfig::String &  filename) const

The documentation for this class was generated from the following files: