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

persistant storarage More...

#include <dx_mach.h>

+ Inheritance diagram for cf::preference:
+ Collaboration diagram for 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
 
virtual target_class_t & erase (::CFStringRef key=nullptr)=0
 
target_class_t & erase (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> cf::key_value_pairs< preference >::container
inherited

◆ dx_container

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

Constructor & Destructor Documentation

◆ preference()

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

◆ ~preference()

cf::preference::~preference ( )
inlinenoexcept

Member Function Documentation

◆ dx_catchall_rethrow()

cf::key_value_pairs< preference >::dx_catchall_rethrow ( ) const
inlineinherited

◆ erase() [1/3]

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

◆ erase() [2/3]

virtual target_class_t & cf::key_value_pairs< target_class_t >::erase ( ::CFStringRef key = nullptr)
virtual

◆ erase() [3/3]

target_class_t & cf::key_value_pairs< target_class_t >::erase ( const char * key)
inline

◆ operator container()

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

◆ operator value_t()

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 cf::preference::operator() ( ::CFPropertyListRef dflt) const
inlineoverridevirtual

◆ operator()() [2/2]

value_t 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()

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

◆ operator::CFDictionaryRef()

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

◆ operator::CFPropertyListRef()

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

◆ operator=()

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

◆ operator[]() [1/2]

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

◆ operator[]() [2/2]

preference 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 & 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 Dec 20 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.