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

persistant storarage More...

#include <dx_mach.h>

+ Inheritance diagram for dx::cf::preference:
+ Collaboration diagram for dx::cf::preference:

Public Types

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

Public Member Functions

 dx_catchall_rethrow () operator dx_container() const try
 
preferenceerase (::CFStringRef key=nullptr) override
 
preferenceerase (const char *key)
 
 operator container () const try
 
 operator value_t () const
 return POD from key_value_pair with conversion from CoreFoundation types
 
::CFPropertyListRef operator() (::CFPropertyListRef dflt) const override
 
value_t operator() (value_t dflt) const
 return POD from key_value_pair or return default value if not exists with conversion from CoreFoundation types
 
 operator::CFArrayRef () const noexcept override
 
 operator::CFDictionaryRef () const noexcept
 
 operator::CFPropertyListRef () const override
 
preferenceoperator= (::CFPropertyListRef value) override
 
preference operator[] (::CFStringRef key) const override
 
preference operator[] (key_t key) const
 return target_class_t from key_value_pair with conversion of key to CoreFoundation type
 
 preference (::CFStringRef application=::kCFPreferencesCurrentApplication, ::CFStringRef user=::kCFPreferencesAnyUser, ::CFStringRef host=::kCFPreferencesAnyHost, ::CFStringRef key=nullptr)
 
preferencesynchronize () noexcept
 
 ~preference () noexcept
 

Detailed Description

persistant storarage

Member Typedef Documentation

◆ container

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

◆ dx_container

typedef std::map<::CFStringRef, type<>, __string<::CFStringRef>::less> dx::cf::key_value_pairs< preference >::dx_container
inherited

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::key_value_pairs< preference >::dx_catchall_rethrow ( ) const
inlineinherited

◆ erase() [1/2]

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

Implements dx::cf::key_value_pairs< preference >.

+ Here is the caller graph for this function:

◆ erase() [2/2]

preference & dx::cf::key_value_pairs< preference >::erase ( const char * key)
inlineinherited

◆ operator container()

dx::cf::key_value_pairs< preference >::operator container ( ) const
inlineinherited

◆ operator value_t()

dx::cf::key_value_pairs< preference >::operator value_t ( ) const
inlineinherited

return POD from key_value_pair with conversion from CoreFoundation types

◆ operator()() [1/2]

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

◆ operator()() [2/2]

value_t dx::cf::key_value_pairs< preference >::operator() ( value_t dflt) const
inlineinherited

return POD from key_value_pair or return default value if not exists with conversion from CoreFoundation types

◆ operator::CFArrayRef()

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

◆ operator::CFDictionaryRef()

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

◆ operator::CFPropertyListRef()

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

◆ operator=()

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

◆ operator[]() [1/2]

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

◆ operator[]() [2/2]

preference dx::cf::key_value_pairs< preference >::operator[] ( key_t key) const
inlineinherited

return target_class_t from key_value_pair with conversion of key to CoreFoundation type

◆ synchronize()

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

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

(c) copyright 2009 dynamic acoustics e.U. generated on Fri Nov 15 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.