VPTissue Reference Manual
|
Implementation of IPreferences. More...
#include <Preferences.h>
Public Member Functions | |
Preferences (const std::string &file) | |
Preferences (Preferences &&) | |
virtual const boost::property_tree::ptree & | GetPreferences () const |
virtual void | SetPreferences (const boost::property_tree::ptree &) |
Public Member Functions inherited from SimPT_Sim::Util::Subject< Event::PreferencesChanged, std::weak_ptr< const void > > | |
void | Notify (const EventType &) |
void | Register (const U *, CallbackType) |
void | Unregister (const U *) |
void | UnregisterAll () |
Protected Attributes | |
boost::property_tree::ptree | m_preferences |
Additional Inherited Members | |
Public Types inherited from SimPT_Sim::Util::Subject< Event::PreferencesChanged, std::weak_ptr< const void > > | |
typedef std::function< void(const EventType &)> | CallbackType |
typedef Event::PreferencesChanged | EventType |
typedef const std::weak_ptr< const void > * | KeyType |
Implementation of IPreferences.
An object that contains a tree of preferences, and reads/writes those from/to a file.
Definition at line 35 of file Preferences.h.