VPTissue Reference Manual
SimShell::Ws::Preferences Class Reference

Implementation of IPreferences. More...

#include <Preferences.h>

Inheritance diagram for SimShell::Ws::Preferences:
Inheritance graph
Collaboration diagram for SimShell::Ws::Preferences:
Collaboration graph

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
 

Detailed Description

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.


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