persistant system configuration storarage
More...
#include <sc_preference.h>
|
std::vector< std::function< void(::SCPreferencesNotification type)> > | interest |
|
|
virtual void | notify (::SCPreferencesNotification type) |
|
persistant system configuration storarage
- usage:
persistant system configuration storarage
Definition sc_preference.h:57
◆ container
◆ preference() [1/2]
sc::preference::preference |
( |
::CFStringRef | id, |
|
|
::CFStringRef | path = nullptr ) |
|
inline |
◆ preference() [2/2]
sc::preference::preference |
( |
::CFStringRef | id, |
|
|
::CFRunLoopRef | runloop, |
|
|
::CFStringRef | path = nullptr ) |
|
inline |
◆ ~preference()
sc::preference::~preference |
( |
| ) |
|
|
inlineoverridenoexcept |
◆ apply()
◆ count()
◆ dx_catchall_rethrow()
sc::preference::dx_catchall_rethrow |
( |
| ) |
& |
|
inline |
commit changes to persistent storage. Needs to have root access rights
- Todo
- sc::preference: hack commit/apply: exchange dx_assert with dx_pass again
◆ erase() [1/2]
preference & sc::preference::erase |
( |
::CFStringRef | key = nullptr | ) |
|
|
inlinenoexcept |
◆ erase() [2/2]
preference & sc::preference::erase |
( |
const char * | key | ) |
|
|
inline |
◆ initialize()
◆ notify()
virtual void sc::preference::notify |
( |
::SCPreferencesNotification | type | ) |
|
|
inlineprotectedvirtual |
◆ operator array()
◆ operator bool()
|
inlinevirtualnoexceptinherited |
◆ operator cf::dictionary<::CFDictionaryRef >()
◆ operator cf::dictionary<>()
◆ operator container()
◆ operator type<>()
◆ operator value_t()
template<typename value_t , typename = cf::enable_if_convertible<value_t>>
sc::preference::operator value_t |
( |
| ) |
const |
|
inline |
◆ operator!=()
◆ operator()() [1/2]
◆ operator()() [2/2]
template<typename value_t , typename = cf::enable_if_convertible<value_t>>
value_t sc::preference::operator() |
( |
value_t | dflt | ) |
const |
|
inline |
◆ operator::CFArrayRef()
sc::preference::operator::CFArrayRef |
( |
| ) |
const |
|
inline |
◆ operator::CFPropertyListRef()
sc::preference::operator::CFPropertyListRef |
( |
| ) |
const |
|
inline |
◆ operator::CFTypeID()
◆ operator::CFTypeRef()
◆ operator::SCPreferencesRef()
cf::reference< ::SCPreferencesRef >::operator ::SCPreferencesRef |
( |
| ) |
const |
|
inlinenoexceptinherited |
◆ operator=() [1/3]
◆ operator=() [2/3]
◆ operator=() [3/3]
template<typename value_t , typename = cf::enable_if_convertible<value_t>>
preference & sc::preference::operator= |
( |
value_t | value | ) |
|
|
inline |
◆ operator==() [1/2]
|
inlinevirtualnoexceptinherited |
◆ operator==() [2/2]
◆ operator[]() [1/2]
preference sc::preference::operator[] |
( |
::CFStringRef | key | ) |
const |
|
inline |
◆ operator[]() [2/2]
template<typename key_t , typename = cf::enable_if_convertible<key_t>>
preference sc::preference::operator[] |
( |
key_t | key | ) |
const |
|
inline |
◆ release()
◆ retain()
◆ synchronize()
◆ cf_object
◆ interest
std::vector<std::function <void(::SCPreferencesNotification type)> > sc::preference::interest |
The documentation for this class was generated from the following file: