dxd - dynax driver framework 2.1.0d48
cross platform open source driver development framework
Loading...
Searching...
No Matches
dx::cf::preference Class Reference

persistant storarage More...

#include <dx_mach.h>

Public Types

typedef std::map<::CFStringRef, ::CFTypeRef, __string<::CFStringRef >::less > container
 

Public Member Functions

 dx_catchall_rethrow () preference &synchronize() noexcept
 
preferenceerase (::CFStringRef key=nullptr)
 
preferenceerase (const char *key)
 
 operator container () const try
 
template<typename value_t , typename = enable_if_convertible<value_t>>
 operator value_t () const
 
::CFDictionaryRef operator() (::CFDictionaryRef dflt) const noexcept
 
::CFPropertyListRef operator() (::CFPropertyListRef dflt) const
 
template<typename value_t , typename = enable_if_convertible<value_t>>
value_t operator() (value_t dflt) const
 
 operator::CFArrayRef () const noexcept
 
 operator::CFDictionaryRef () const noexcept
 
 operator::CFPropertyListRef () const
 
preferenceoperator= (::CFPropertyListRef value)
 
template<typename value_t , typename = enable_if_convertible<value_t>>
preferenceoperator= (value_t value)
 
preference operator[] (::CFStringRef key) const
 
template<typename key_t , typename = enable_if_convertible<key_t>>
preference operator[] (key_t key) const
 
 preference (::CFStringRef application=::kCFPreferencesCurrentApplication, ::CFStringRef user=::kCFPreferencesAnyUser, ::CFStringRef host=::kCFPreferencesAnyHost, ::CFStringRef key=nullptr)
 
 ~preference () noexcept
 

Detailed Description

persistant storarage

Member Typedef Documentation

◆ container

typedef std::map<::CFStringRef, ::CFTypeRef, __string<::CFStringRef>::less> dx::cf::preference::container

Constructor & Destructor Documentation

◆ preference()

dx::cf::preference::preference ( ::CFStringRef application = ::kCFPreferencesCurrentApplication,
::CFStringRef user = ::kCFPreferencesAnyUser,
::CFStringRef host = ::kCFPreferencesAnyHost,
::CFStringRef key = nullptr )
inline

◆ ~preference()

dx::cf::preference::~preference ( )
inlinenoexcept

Member Function Documentation

◆ dx_catchall_rethrow()

dx::cf::preference::dx_catchall_rethrow ( ) &
inlinenoexcept

◆ erase() [1/2]

preference & dx::cf::preference::erase ( ::CFStringRef key = nullptr)
inline

◆ erase() [2/2]

preference & dx::cf::preference::erase ( const char * key)
inline

◆ operator container()

dx::cf::preference::operator container ( ) const
inline

◆ operator value_t()

template<typename value_t , typename = enable_if_convertible<value_t>>
dx::cf::preference::operator value_t ( ) const
inline

◆ operator()() [1/3]

::CFDictionaryRef dx::cf::preference::operator() ( ::CFDictionaryRef dflt) const
inlinenoexcept

◆ operator()() [2/3]

::CFPropertyListRef dx::cf::preference::operator() ( ::CFPropertyListRef dflt) const
inline

◆ operator()() [3/3]

template<typename value_t , typename = enable_if_convertible<value_t>>
value_t dx::cf::preference::operator() ( value_t dflt) const
inline

◆ operator::CFArrayRef()

dx::cf::preference::operator::CFArrayRef ( ) const
inlinenoexcept

◆ operator::CFDictionaryRef()

dx::cf::preference::operator::CFDictionaryRef ( ) const
inlinenoexcept

◆ operator::CFPropertyListRef()

dx::cf::preference::operator::CFPropertyListRef ( ) const
inline

◆ operator=() [1/2]

preference & dx::cf::preference::operator= ( ::CFPropertyListRef value)
inline

◆ operator=() [2/2]

template<typename value_t , typename = enable_if_convertible<value_t>>
preference & dx::cf::preference::operator= ( value_t value)
inline

◆ operator[]() [1/2]

preference dx::cf::preference::operator[] ( ::CFStringRef key) const
inline

◆ operator[]() [2/2]

template<typename key_t , typename = enable_if_convertible<key_t>>
preference dx::cf::preference::operator[] ( key_t key) const
inline

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

(c) copyright 2009 dynamic acoustics e.U. generated on Fri Feb 23 2024

a closed source license may be obtained by requesting a written permission from dynamic acoustics e.U.
however - governmental use generally and military use especially is strictly prohibited though.