|
ledger-core
|
Inheritance diagram for ledger::core::PreferencesEditor:
Collaboration diagram for ledger::core::PreferencesEditor:Public Member Functions | |
| PreferencesEditor (Preferences &preferences) | |
| std::shared_ptr< api::PreferencesEditor > | putString (const std::string &key, const std::string &value) override |
| std::shared_ptr< api::PreferencesEditor > | putInt (const std::string &key, int32_t value) override |
| std::shared_ptr< api::PreferencesEditor > | putLong (const std::string &key, int64_t value) override |
| std::shared_ptr< api::PreferencesEditor > | putBoolean (const std::string &key, bool value) override |
| std::shared_ptr< api::PreferencesEditor > | putStringArray (const std::string &key, const std::vector< std::string > &value) override |
| std::shared_ptr< api::PreferencesEditor > | remove (const std::string &key) override |
| template<typename T > | |
| std::shared_ptr< PreferencesEditor > | putObject (const std::string &key, T &object) |
| std::shared_ptr< api::PreferencesEditor > | putData (const std::string &key, const std::vector< uint8_t > &value) override |
| void | commit () override |
| void | clear () override |
| Clear all preferences. | |
|
overridevirtual |
Persists the changes to the Preferences.
Implements ledger::core::api::PreferencesEditor.
|
overridevirtual |
Sets the value to the given key in the Preferences.
| key | The data key. |
| value | The value to store |
Implements ledger::core::api::PreferencesEditor.
|
overridevirtual |
Sets the value to the given key in the Preferences.
| key | The data key. |
| value | The value to store |
Implements ledger::core::api::PreferencesEditor.
|
overridevirtual |
Sets the value to the given key in the Preferences.
| key | The data key. |
| value | The value to store |
Implements ledger::core::api::PreferencesEditor.
|
overridevirtual |
Sets the value to the given key in the Preferences.
| key | The data key. |
| value | The value to store |
Implements ledger::core::api::PreferencesEditor.
|
overridevirtual |
Sets the value to the given key in the Preferences.
| key | The data key. |
| value | The value to store |
Implements ledger::core::api::PreferencesEditor.
|
overridevirtual |
Sets the value to the given key in the Preferences.
| key | The data key. |
| value | The value to store |
Implements ledger::core::api::PreferencesEditor.
|
overridevirtual |
Removes the data associated with the given key.
| key | The key to remove from the Preferences |
Implements ledger::core::api::PreferencesEditor.
1.8.13