dxd - dynax driver framework 2.6.0d192
cross platform open source driver development framework
Loading...
Searching...
No Matches
cf::reference< cf_object_t > Class Template Reference

#include <cf_reference.h>

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

Public Member Functions

::CFIndex count () const noexcept
 
 dx_catchall_rethrow () const reference &retain() const noexcept
 
 dx_catchall_rethrow () reference &operator
 
CFTypeID id () noexcept
 
CFTypeID id () noexcept
 
CFTypeID id () noexcept
 
CFTypeID id () noexcept
 
CFTypeID id () noexcept
 
CFTypeID id () noexcept
 
CFTypeID id () noexcept
 
CFTypeID id () noexcept
 
CFTypeID id () noexcept
 
CFTypeID id () noexcept
 
CFTypeID id () noexcept
 
CFTypeID id () noexcept
 
CFTypeID id () noexcept
 
CFTypeID id () noexcept
 
CFTypeID id () noexcept
 
CFTypeID id () noexcept
 
CFTypeID id () noexcept
 
CFTypeID id () noexcept
 
CFTypeID id () noexcept
 
CFTypeID id () noexcept
 
CFTypeID id () noexcept
 
CFTypeID id () noexcept
 
CFTypeID id () noexcept
 
referenceinitialize (cf_object_t cf_object, bool retain=true) try
 
 operator cf_object_t () const noexcept
 
 operator::CFTypeID () const noexcept
 
referenceoperator= (const reference &reference)
 
 reference ()=default
 
 reference (cf_object_t cf_object, bool retain=true)
 
template<typename cf_type_t = cf_object_t, typename = typename std::enable_if_t< !std::is_same_v<cf_type_t, cf_object_t> && is_compatible<cf_type_t>()>>
 reference (cf_type_t cf_object, bool retain=true)
 
 reference (const reference &reference)
 
referencerelease () noexcept
 
virtual ~reference ()
 

Static Public Member Functions

::CFTypeID id () noexcept
 

Protected Attributes

cf_object_t cf_object = nullptr
 

Detailed Description

template<typename cf_object_t>
class cf::reference< cf_object_t >

/brief cf::reference implements the CoreFoundation reference counting class

Constructor & Destructor Documentation

◆ reference() [1/4]

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

◆ reference() [2/4]

template<typename cf_object_t >
cf::reference< cf_object_t >::reference ( const reference< cf_object_t > & reference)
inline
+ Here is the call graph for this function:

◆ reference() [3/4]

template<typename cf_object_t >
cf::reference< cf_object_t >::reference ( cf_object_t cf_object,
bool retain = true )
inline
+ Here is the call graph for this function:

◆ reference() [4/4]

template<typename cf_object_t >
template<typename cf_type_t = cf_object_t, typename = typename std::enable_if_t< !std::is_same_v<cf_type_t, cf_object_t> && is_compatible<cf_type_t>()>>
cf::reference< cf_object_t >::reference ( cf_type_t cf_object,
bool retain = true )
inline
+ Here is the call graph for this function:

◆ ~reference()

template<typename cf_object_t >
virtual cf::reference< cf_object_t >::~reference ( )
inlinevirtual
+ Here is the call graph for this function:

Member Function Documentation

◆ count()

template<typename cf_object_t >
::CFIndex cf::reference< cf_object_t >::count ( ) const
inlinenoexcept

◆ dx_catchall_rethrow() [1/2]

template<typename cf_object_t >
cf::reference< cf_object_t >::dx_catchall_rethrow ( ) const &
inlinenoexcept

◆ dx_catchall_rethrow() [2/2]

template<typename cf_object_t >
cf::reference< cf_object_t >::dx_catchall_rethrow ( ) &
+ Here is the call graph for this function:

◆ id() [1/24]

CFTypeID cf::reference<::CFArrayRef >::id ( )
inlinenoexcept

◆ id() [2/24]

CFTypeID cf::reference<::CFMutableArrayRef >::id ( )
inlinenoexcept

◆ id() [3/24]

CFTypeID cf::reference<::CFBundleRef >::id ( )
inlinenoexcept

◆ id() [4/24]

CFTypeID cf::reference<::CFDataRef >::id ( )
inlinenoexcept

◆ id() [5/24]

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

◆ id() [6/24]

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

◆ id() [7/24]

CFTypeID cf::reference<::CFErrorRef >::id ( )
inlinenoexcept

◆ id() [8/24]

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

◆ id() [9/24]

CFTypeID cf::reference<::CFBooleanRef >::id ( )
inlinenoexcept

◆ id() [10/24]

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

◆ id() [11/24]

CFTypeID cf::reference<::CFTypeRef >::id ( )
inlinenoexcept

◆ id() [12/24]

CFTypeID cf::reference<::CFRunLoopRef >::id ( )
inlinenoexcept

◆ id() [13/24]

CFTypeID cf::reference<::CFRunLoopSourceRef >::id ( )
inlinenoexcept

◆ id() [14/24]

CFTypeID cf::reference<::CFRunLoopObserverRef >::id ( )
inlinenoexcept

◆ id() [15/24]

CFTypeID cf::reference<::CFReadStreamRef >::id ( )
inlinenoexcept

◆ id() [16/24]

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

◆ id() [17/24]

CFTypeID cf::reference<::CFMutableStringRef >::id ( )
inlinenoexcept

◆ id() [18/24]

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

◆ id() [19/24]

CFTypeID cf::reference<::CFUUIDRef >::id ( )
inlinenoexcept

◆ id() [20/24]

CFTypeID cf::reference<::SCPreferencesRef >::id ( )
inlinenoexcept

◆ id() [21/24]

CFTypeID cf::reference<::SecCertificateRef >::id ( )
inlinenoexcept

◆ id() [22/24]

CFTypeID cf::reference<::SecTrustRef >::id ( )
inlinenoexcept

◆ id() [23/24]

CFTypeID cf::reference<::SecCodeRef >::id ( )
inlinenoexcept

◆ id() [24/24]

CFTypeID cf::reference<::SecStaticCodeRef >::id ( )
inlinenoexcept

◆ initialize()

template<typename cf_object_t >
reference & cf::reference< cf_object_t >::initialize ( cf_object_t cf_object,
bool retain = true )
inline
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ operator cf_object_t()

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

◆ operator::CFTypeID()

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

◆ operator=()

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

◆ release()

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

Member Data Documentation

◆ cf_object

template<typename cf_object_t >
cf_object_t 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 Wed Jan 7 2026

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.