dxd - dynax driver framework  2979
cross platform open source driver development framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
dx::cf::preference Class Reference

persistant storarage usage: preference[key]= value; value= preference[key]; value= preference[key](default_value); More...

#include <dx_mach.h>

Public Member Functions

preferenceerase (::CFStringRef key=nullptr)
 
template<typename value_t , typename = typename cf::enable_if_convertible<value_t>::type>
 operator value_t () const
 
::CFPropertyListRef operator() (::CFPropertyListRef dflt) const
 
::CFDictionaryRef operator() (::CFDictionaryRef dflt) const noexcept
 
template<typename value_t , typename = typename cf::enable_if_convertible<value_t>::type>
value_t operator() (value_t dflt) const
 
 operator::CFArrayRef () const noexcept
 
 operator::CFDictionaryRef () const noexcept
 
 operator::CFPropertyListRef () const
 
preferenceoperator= (::CFDictionaryRef properties) noexcept
 
preferenceoperator= (::CFPropertyListRef value)
 
template<typename value_t , typename = typename cf::enable_if_convertible<value_t>::type>
preferenceoperator= (value_t value)
 
preference operator[] (::CFStringRef key) const
 
template<typename value_t , typename = typename cf::enable_if_convertible<value_t>::type>
preference operator[] (value_t value) const
 
 preference (::CFStringRef application=::kCFPreferencesCurrentApplication,::CFStringRef user=::kCFPreferencesCurrentUser,::CFStringRef host=::kCFPreferencesCurrentHost,::CFStringRef key=nullptr) noexcept
 
 ~preference () noexcept
 

Detailed Description

persistant storarage usage: preference[key]= value; value= preference[key]; value= preference[key](default_value);

Constructor & Destructor Documentation

dx::cf::preference::preference ( ::CFStringRef  application = ::kCFPreferencesCurrentApplication,
::CFStringRef  user = ::kCFPreferencesCurrentUser,
::CFStringRef  host = ::kCFPreferencesCurrentHost,
::CFStringRef  key = nullptr 
)
inlinenoexcept
dx::cf::preference::~preference ( )
inlinenoexcept

Member Function Documentation

preference& dx::cf::preference::erase ( ::CFStringRef  key = nullptr)
inline
template<typename value_t , typename = typename cf::enable_if_convertible<value_t>::type>
dx::cf::preference::operator value_t ( ) const
inline
::CFPropertyListRef dx::cf::preference::operator() ( ::CFPropertyListRef  dflt) const
inline
::CFDictionaryRef dx::cf::preference::operator() ( ::CFDictionaryRef  dflt) const
inlinenoexcept
template<typename value_t , typename = typename cf::enable_if_convertible<value_t>::type>
value_t dx::cf::preference::operator() ( value_t  dflt) const
inline
dx::cf::preference::operator::CFArrayRef ( ) const
inlinenoexcept
dx::cf::preference::operator::CFDictionaryRef ( ) const
inlinenoexcept
dx::cf::preference::operator::CFPropertyListRef ( ) const
inline
preference& dx::cf::preference::operator= ( ::CFDictionaryRef  properties)
inlinenoexcept
preference& dx::cf::preference::operator= ( ::CFPropertyListRef  value)
inline
template<typename value_t , typename = typename cf::enable_if_convertible<value_t>::type>
preference& dx::cf::preference::operator= ( value_t  value)
inline
preference dx::cf::preference::operator[] ( ::CFStringRef  key) const
inline
template<typename value_t , typename = typename cf::enable_if_convertible<value_t>::type>
preference dx::cf::preference::operator[] ( value_t  value) const
inline

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

(c) copyright 2009 dynamic acoustics e.U. generated on Fri Nov 8 2019

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.