dxd - dynax driver framework  2981
cross platform open source driver development framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
dx::cf::dictionary<::CFDictionaryRef, cf_object_t > Class Template Reference

#include <dx_mach.h>

+ Inheritance diagram for dx::cf::dictionary<::CFDictionaryRef, cf_object_t >:
+ Collaboration diagram for dx::cf::dictionary<::CFDictionaryRef, cf_object_t >:

Public Member Functions

template<typename petty_t = cf_object_t, typename = typename std::enable_if <std::is_same<petty_t,::CFDictionaryRef>::value>::type>
 dictionary (::CFDictionaryRef cf_dictionary)
 
 dictionary (::CFStringRef key,::CFTypeRef properties)
 
template<typename key_t , typename = typename enable_if_convertible<key_t>::type>
 dictionary (key_t key,::CFTypeRef properties)
 
template<typename value_t , typename = typename enable_if_convertible<value_t>::type>
 dictionary (::CFStringRef key, value_t value)
 
template<typename key_t , typename value_t , typename = typename enable_if_convertible<key_t>::type, typename = typename enable_if_convertible<value_t>::type>
 dictionary (key_t key, value_t value)
 
::CFTypeRef get (::CFStringRef key) const
 
::CFTypeRef get (::CFStringRef key,::CFTypeRef dflt) const noexcept
 
template<typename value_t , typename = typename enable_if_convertible<value_t>::type>
value_t get (::CFStringRef key) const
 
template<typename value_t , typename = typename enable_if_convertible<value_t>::type>
value_t get (::CFStringRef key,::CFTypeRef dflt) const noexcept
 
template<typename value_t , typename = typename enable_if_convertible<value_t>::type>
value_t get (::CFStringRef key, value_t dflt) const noexcept
 
template<typename key_t , typename = typename enable_if_convertible<key_t>::type>
::CFTypeRef get (key_t key) const
 
template<typename key_t , typename value_t , typename = typename enable_if_convertible<key_t>::type, typename = typename enable_if_convertible<value_t>::type>
value_t get (key_t key) const
 
template<>
CFTypeID id ()
 
template<>
CFTypeID id ()
 
template<>
CFTypeID id ()
 
template<>
CFTypeID id ()
 
template<>
CFTypeID id ()
 
referenceinitialize (cf_object_t cf_object, bool retain=true)
 
 operator bool () const noexcept
 
 operator cf_object_t () const noexcept
 
 operator::CFTypeID () const noexcept
 
template<typename petty_t = cf_object_t, typename = typename std::enable_if <!std::is_same<petty_t,::CFTypeRef>::value>::type>
 operator::CFTypeRef () const noexcept
 
::CFTypeRef operator[] (::CFStringRef key) const
 
template<typename key_t , typename = typename std::enable_if<std::is_pod<key_t>::value>>
::CFTypeRef operator[] (key_t key) const
 
referencerelease () noexcept
 
referenceretain () noexcept
 

Static Public Member Functions

::CFTypeID id ()
 

Protected Attributes

cf_object_t cf_object = nullptr
 

Constructor & Destructor Documentation

template<typename cf_object_t >
template<typename petty_t = cf_object_t, typename = typename std::enable_if <std::is_same<petty_t,::CFDictionaryRef>::value>::type>
dx::cf::dictionary<::CFDictionaryRef, cf_object_t >::dictionary ( ::CFDictionaryRef  cf_dictionary)
inline
template<typename cf_object_t >
dx::cf::dictionary<::CFDictionaryRef, cf_object_t >::dictionary ( ::CFStringRef  key,
::CFTypeRef  properties 
)
inline
template<typename cf_object_t >
template<typename key_t , typename = typename enable_if_convertible<key_t>::type>
dx::cf::dictionary<::CFDictionaryRef, cf_object_t >::dictionary ( key_t  key,
::CFTypeRef  properties 
)
inline
template<typename cf_object_t >
template<typename value_t , typename = typename enable_if_convertible<value_t>::type>
dx::cf::dictionary<::CFDictionaryRef, cf_object_t >::dictionary ( ::CFStringRef  key,
value_t  value 
)
inline
template<typename cf_object_t >
template<typename key_t , typename value_t , typename = typename enable_if_convertible<key_t>::type, typename = typename enable_if_convertible<value_t>::type>
dx::cf::dictionary<::CFDictionaryRef, cf_object_t >::dictionary ( key_t  key,
value_t  value 
)
inline

Member Function Documentation

template<typename cf_object_t >
::CFTypeRef dx::cf::dictionary<::CFDictionaryRef, cf_object_t >::get ( ::CFStringRef  key) const
inline
template<typename cf_object_t >
::CFTypeRef dx::cf::dictionary<::CFDictionaryRef, cf_object_t >::get ( ::CFStringRef  key,
::CFTypeRef  dflt 
) const
inlinenoexcept
template<typename cf_object_t >
template<typename value_t , typename = typename enable_if_convertible<value_t>::type>
value_t dx::cf::dictionary<::CFDictionaryRef, cf_object_t >::get ( ::CFStringRef  key) const
inline
template<typename cf_object_t >
template<typename value_t , typename = typename enable_if_convertible<value_t>::type>
value_t dx::cf::dictionary<::CFDictionaryRef, cf_object_t >::get ( ::CFStringRef  key,
::CFTypeRef  dflt 
) const
inlinenoexcept
template<typename cf_object_t >
template<typename value_t , typename = typename enable_if_convertible<value_t>::type>
value_t dx::cf::dictionary<::CFDictionaryRef, cf_object_t >::get ( ::CFStringRef  key,
value_t  dflt 
) const
inlinenoexcept
template<typename cf_object_t >
template<typename key_t , typename = typename enable_if_convertible<key_t>::type>
::CFTypeRef dx::cf::dictionary<::CFDictionaryRef, cf_object_t >::get ( key_t  key) const
inline
template<typename cf_object_t >
template<typename key_t , typename value_t , typename = typename enable_if_convertible<key_t>::type, typename = typename enable_if_convertible<value_t>::type>
value_t dx::cf::dictionary<::CFDictionaryRef, cf_object_t >::get ( key_t  key) const
inline
template<typename cf_object_t>
::CFTypeID dx::cf::reference< cf_object_t >::id ( )
staticinherited
template<>
CFTypeID dx::cf::reference<::CFDictionaryRef >::id ( )
inlineinherited
template<>
CFTypeID dx::cf::reference<::CFMutableDictionaryRef >::id ( )
inlineinherited
template<>
CFTypeID dx::cf::reference<::CFNumberRef >::id ( )
inlineinherited
template<>
CFTypeID dx::cf::reference<::CFStringRef >::id ( )
inlineinherited
template<>
CFTypeID dx::cf::reference<::CFURLRef >::id ( )
inlineinherited
template<typename cf_object_t>
reference& dx::cf::reference< cf_object_t >::initialize ( cf_object_t  cf_object,
bool  retain = true 
)
inlineinherited

+ Here is the caller graph for this function:

template<typename cf_object_t>
dx::cf::reference< cf_object_t >::operator bool ( ) const
inlinenoexceptinherited
template<typename cf_object_t>
dx::cf::reference< cf_object_t >::operator cf_object_t ( ) const
inlinenoexceptinherited
template<typename cf_object_t>
dx::cf::reference< cf_object_t >::operator::CFTypeID ( ) const
inlinenoexceptinherited
template<typename cf_object_t>
template<typename petty_t = cf_object_t, typename = typename std::enable_if <!std::is_same<petty_t,::CFTypeRef>::value>::type>
dx::cf::reference< cf_object_t >::operator::CFTypeRef ( ) const
inlinenoexceptinherited
template<typename cf_object_t >
::CFTypeRef dx::cf::dictionary<::CFDictionaryRef, cf_object_t >::operator[] ( ::CFStringRef  key) const
inline
template<typename cf_object_t >
template<typename key_t , typename = typename std::enable_if<std::is_pod<key_t>::value>>
::CFTypeRef dx::cf::dictionary<::CFDictionaryRef, cf_object_t >::operator[] ( key_t  key) const
inline
template<typename cf_object_t>
reference& dx::cf::reference< cf_object_t >::release ( )
inlinenoexceptinherited

+ Here is the caller graph for this function:

template<typename cf_object_t>
reference& dx::cf::reference< cf_object_t >::retain ( )
inlinenoexceptinherited

+ Here is the caller graph for this function:

Member Data Documentation

template<typename cf_object_t>
cf_object_t dx::cf::reference< cf_object_t >::cf_object = nullptr
protectedinherited

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

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