persistant system configuration storarage
More...
#include <dx_mach.h>
persistant system configuration storarage
- usage:
persistant system configuration storarage
Definition dx_mach.h:1433
◆ container
◆ preference()
dx::sc::preference::preference |
( |
::CFStringRef | id, |
|
|
::CFStringRef | path = nullptr ) |
|
inline |
◆ ~preference()
dx::sc::preference::~preference |
( |
| ) |
|
|
inlinenoexcept |
◆ apply()
◆ dx_catchall_rethrow()
dx::sc::preference::dx_catchall_rethrow |
( |
| ) |
& |
|
inline |
commit changes to persistent storage. Needs to have root access rights
- Todo
- cs::preference: hack commit/apply: exchange dx_assert with dx_pass again
◆ erase() [1/2]
preference & dx::sc::preference::erase |
( |
::CFStringRef | key = nullptr | ) |
|
|
inline |
◆ erase() [2/2]
preference & dx::sc::preference::erase |
( |
const char * | key | ) |
|
|
inline |
◆ initialize()
◆ operator bool()
◆ operator container()
dx::sc::preference::operator container |
( |
| ) |
const |
|
inline |
◆ operator type<>()
◆ operator value_t()
template<typename value_t , typename = cf::enable_if_convertible<value_t>>
dx::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 dx::sc::preference::operator() |
( |
value_t | dflt | ) |
const |
|
inline |
◆ operator::CFArrayRef()
dx::sc::preference::operator::CFArrayRef |
( |
| ) |
const |
|
inline |
◆ operator::CFPropertyListRef()
dx::sc::preference::operator::CFPropertyListRef |
( |
| ) |
const |
|
inline |
◆ operator::CFTypeID()
◆ operator::CFTypeRef()
◆ operator::SCPreferencesRef()
◆ operator=() [1/2]
◆ operator=() [2/2]
template<typename value_t , typename = cf::enable_if_convertible<value_t>>
preference & dx::sc::preference::operator= |
( |
value_t | value | ) |
|
|
inline |
◆ operator==()
◆ operator[]() [1/6]
preference dx::sc::preference::operator[] |
( |
::CFStringRef | key | ) |
const |
|
inline |
◆ operator[]() [2/6]
template<typename value_t >
value_t dx::sc::preference::operator[] |
( |
::CFStringRef | key | ) |
const |
◆ operator[]() [3/6]
◆ operator[]() [4/6]
template<>
cf::dictionary dx::sc::preference::operator[] |
( |
::CFStringRef | key | ) |
const |
|
inline |
◆ operator[]() [5/6]
template<typename value_t , typename = cf::enable_if_convertible<value_t>>
value_t dx::sc::preference::operator[] |
( |
::CFStringRef | key | ) |
const |
|
inline |
◆ operator[]() [6/6]
template<typename key_t , typename = cf::enable_if_convertible<key_t>>
preference dx::sc::preference::operator[] |
( |
key_t | key | ) |
const |
|
inline |
◆ release()
◆ retain()
◆ synchronize()
◆ cf_object
◆ cf_type_desc
◆ cf_type_id
The documentation for this class was generated from the following file: