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::reference< cf_object_t > Class Template Reference

#include <dx_mach.h>

+ Inheritance diagram for dx::cf::reference< cf_object_t >:
+ Collaboration diagram for dx::cf::reference< cf_object_t >:

Public Member Functions

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
 
referenceoperator= (const cf_object_t cf_object)
 
 reference ()=default
 
 reference (const reference &reference)
 
 reference (cf_object_t cf_object, bool retain=true)
 
template<typename petty_t = cf_object_t, typename = typename std::enable_if <!std::is_same<petty_t,::CFTypeRef>::value>::type>
 reference (::CFTypeRef cf_object, bool retain=true)
 
referencerelease () noexcept
 
referenceretain () noexcept
 
 ~reference () noexcept
 

Static Public Member Functions

::CFTypeID id ()
 

Protected Attributes

cf_object_t cf_object = nullptr
 

Constructor & Destructor Documentation

template<typename cf_object_t>
dx::cf::reference< cf_object_t >::reference ( )
default
template<typename cf_object_t>
dx::cf::reference< cf_object_t >::reference ( const reference< cf_object_t > &  reference)
inline
template<typename cf_object_t>
dx::cf::reference< cf_object_t >::reference ( cf_object_t  cf_object,
bool  retain = true 
)
inline
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 >::reference ( ::CFTypeRef  cf_object,
bool  retain = true 
)
inline
template<typename cf_object_t>
dx::cf::reference< cf_object_t >::~reference ( )
inlinenoexcept

Member Function Documentation

template<typename cf_object_t>
::CFTypeID dx::cf::reference< cf_object_t >::id ( )
static
template<>
CFTypeID dx::cf::reference<::CFDictionaryRef >::id ( )
inline
template<>
CFTypeID dx::cf::reference<::CFMutableDictionaryRef >::id ( )
inline
template<>
CFTypeID dx::cf::reference<::CFNumberRef >::id ( )
inline
template<>
CFTypeID dx::cf::reference<::CFStringRef >::id ( )
inline
template<>
CFTypeID dx::cf::reference<::CFURLRef >::id ( )
inline
template<typename cf_object_t>
reference& dx::cf::reference< cf_object_t >::initialize ( cf_object_t  cf_object,
bool  retain = true 
)
inline

+ Here is the caller graph for this function:

template<typename cf_object_t>
dx::cf::reference< cf_object_t >::operator bool ( ) const
inlinenoexcept
template<typename cf_object_t>
dx::cf::reference< cf_object_t >::operator cf_object_t ( ) const
inlinenoexcept
template<typename cf_object_t>
dx::cf::reference< cf_object_t >::operator::CFTypeID ( ) const
inlinenoexcept
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
inlinenoexcept
template<typename cf_object_t>
reference& dx::cf::reference< cf_object_t >::operator= ( const cf_object_t  cf_object)
inline
template<typename cf_object_t>
reference& dx::cf::reference< cf_object_t >::release ( )
inlinenoexcept

+ Here is the caller graph for this function:

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

+ 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
protected

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.