dxd - dynax driver framework  3211
cross platform open source driver development framework
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 () noexcept
 
template<>
CFTypeID id () noexcept
 
template<>
CFTypeID id () noexcept
 
template<>
CFTypeID id () noexcept
 
template<>
CFTypeID id () noexcept
 
referenceinitialize (cf_object_t cf_object, bool retain=true)
 
 operator bool () const noexcept
 
 operator cf_object_t () const noexcept
 
bool operator!= (cf_object_t cf_object) 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= (cf_object_t cf_object)
 
bool operator== (cf_object_t cf_object) const noexcept
 
 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 () noexcept
 

Protected Attributes

cf_object_t cf_object = nullptr
 

Constructor & Destructor Documentation

◆ reference() [1/4]

template<typename cf_object_t>
dx::cf::reference< cf_object_t >::reference ( )
default

◆ reference() [2/4]

template<typename cf_object_t>
dx::cf::reference< cf_object_t >::reference ( const reference< cf_object_t > &  reference)
inline

◆ reference() [3/4]

template<typename cf_object_t>
dx::cf::reference< cf_object_t >::reference ( cf_object_t  cf_object,
bool  retain = true 
)
inline

◆ reference() [4/4]

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

◆ ~reference()

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

Member Function Documentation

◆ id() [1/6]

template<typename cf_object_t>
::CFTypeID dx::cf::reference< cf_object_t >::id ( )
staticnoexcept
+ Here is the caller graph for this function:

◆ id() [2/6]

template<>
CFTypeID dx::cf::reference<::CFDictionaryRef >::id ( )
inlinenoexcept

◆ id() [3/6]

template<>
CFTypeID dx::cf::reference<::CFMutableDictionaryRef >::id ( )
inlinenoexcept

◆ id() [4/6]

template<>
CFTypeID dx::cf::reference<::CFNumberRef >::id ( )
inlinenoexcept

◆ id() [5/6]

template<>
CFTypeID dx::cf::reference<::CFStringRef >::id ( )
inlinenoexcept

◆ id() [6/6]

template<>
CFTypeID dx::cf::reference<::CFURLRef >::id ( )
inlinenoexcept

◆ initialize()

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:

◆ operator bool()

template<typename cf_object_t>
dx::cf::reference< cf_object_t >::operator bool ( ) const
inlinenoexcept

◆ operator cf_object_t()

template<typename cf_object_t>
dx::cf::reference< cf_object_t >::operator cf_object_t ( ) const
inlinenoexcept

◆ operator!=()

template<typename cf_object_t>
bool dx::cf::reference< cf_object_t >::operator!= ( cf_object_t  cf_object) const
inlinenoexcept

◆ operator::CFTypeID()

template<typename cf_object_t>
dx::cf::reference< cf_object_t >::operator::CFTypeID ( ) const
inlinenoexcept

◆ operator::CFTypeRef()

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

◆ operator=()

template<typename cf_object_t>
reference& dx::cf::reference< cf_object_t >::operator= ( cf_object_t  cf_object)
inline
+ Here is the caller graph for this function:

◆ operator==()

template<typename cf_object_t>
bool dx::cf::reference< cf_object_t >::operator== ( cf_object_t  cf_object) const
inlinenoexcept

◆ release()

template<typename cf_object_t>
reference& dx::cf::reference< cf_object_t >::release ( )
inlinenoexcept
+ Here is the caller graph for this function:

◆ retain()

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

◆ cf_object

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 Sat Aug 22 2020

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.