dxd - dynax driver framework 2.2.0d81
cross platform open source driver development framework
Loading...
Searching...
No Matches
cf::__string< cf_object_t > Class Template Reference

RAII CFString class. More...

#include <dx_mach.h>

+ Inheritance diagram for cf::__string< cf_object_t >:
+ Collaboration diagram for cf::__string< cf_object_t >:

Classes

struct  less
 

Public Member Functions

::CFStringRef copy () const
 
::CFIndex count () const 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)
 
virtual operator bool () const noexcept
 
 operator cf_object_t () const noexcept
 
 operator const char * () const
 
 operator double () const noexcept
 Skips whitespace; returns 0.0 on error.
 
 operator int32_t () const noexcept
 Skips whitespace; returns 0 on error, MAX or -MAX on overflow.
 
 operator std::string () const
 
template<typename petty_t = cf_object_t, typename = typename std::enable_if_t <!std::is_same_v<petty_t, ::CFTypeRef>>>
 operator type<> () const noexcept
 
bool operator!= (::CFStringRef value) const noexcept
 
bool operator!= (cf_object_t cf_object) const noexcept
 
template<typename value_t , typename = enable_if_convertible<value_t>>
bool operator!= (value_t value)
 
::CFMutableStringRef operator+ (::CFStringRef value) const noexcept
 
::CFMutableStringRef operator+ (const char *value) const noexcept
 
 operator::CFDataRef () const noexcept
 
 operator::CFTypeID () const noexcept
 
template<typename petty_t = cf_object_t, typename = typename std::enable_if_t <!std::is_same_v<petty_t, ::CFTypeRef>>>
 operator::CFTypeRef () const noexcept
 
bool operator< (::CFStringRef value) const noexcept
 
template<typename value_t , typename = enable_if_convertible<value_t>>
bool operator< (value_t value)
 
bool operator<= (::CFStringRef value) const noexcept
 
template<typename value_t , typename = enable_if_convertible<value_t>>
bool operator<= (value_t value)
 
bool operator== (::CFStringRef value) const noexcept
 
virtual bool operator== (::CFTypeID cf_type) const noexcept
 
bool operator== (cf_object_t cf_object) const noexcept
 
template<typename value_t , typename = enable_if_convertible<value_t>>
bool operator== (value_t value)
 
bool operator> (::CFStringRef value) const noexcept
 
template<typename value_t , typename = enable_if_convertible<value_t>>
bool operator> (value_t value)
 
bool operator>= (::CFStringRef value) const noexcept
 
template<typename value_t , typename = enable_if_convertible<value_t>>
bool operator>= (value_t value)
 
referencerelease () noexcept
 
const referenceretain () const noexcept
 

Static Public Member Functions

::CFTypeID id () noexcept
 

Protected Member Functions

 ~__string ()=default
 

Protected Attributes

cf_object_t cf_object = nullptr
 

Detailed Description

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

RAII CFString class.

externally created CFStrings are retained at construction/assignment during object life time and released on destruction/new assignment.

Constructor & Destructor Documentation

◆ ~__string()

template<typename cf_object_t >
cf::__string< cf_object_t >::~__string ( )
protecteddefault

Member Function Documentation

◆ copy()

template<typename cf_object_t >
::CFStringRef cf::__string< cf_object_t >::copy ( ) const
inline

◆ count()

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

◆ id() [1/18]

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

◆ id() [2/18]

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

◆ id() [3/18]

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

◆ id() [4/18]

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

◆ id() [5/18]

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

◆ id() [6/18]

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

◆ id() [7/18]

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

◆ id() [8/18]

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

◆ id() [9/18]

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

◆ id() [10/18]

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

◆ id() [11/18]

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

◆ id() [12/18]

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

◆ id() [13/18]

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

◆ id() [14/18]

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

◆ id() [15/18]

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

◆ id() [16/18]

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

◆ id() [17/18]

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

◆ id() [18/18]

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

◆ initialize()

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

◆ operator bool()

template<typename cf_object_t >
virtual cf::reference< cf_object_t >::operator bool ( ) const
inlinevirtualnoexceptinherited

◆ operator cf_object_t()

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

◆ operator const char *()

template<typename cf_object_t >
cf::__string< cf_object_t >::operator const char * ( ) const
inline

◆ operator double()

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

Skips whitespace; returns 0.0 on error.

◆ operator int32_t()

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

Skips whitespace; returns 0 on error, MAX or -MAX on overflow.

◆ operator std::string()

template<typename cf_object_t >
cf::__string< cf_object_t >::operator std::string ( ) const
inline

◆ operator type<>()

template<typename cf_object_t >
template<typename petty_t = cf_object_t, typename = typename std::enable_if_t <!std::is_same_v<petty_t, ::CFTypeRef>>>
cf::reference< cf_object_t >::operator type<> ( ) const
noexceptinherited

◆ operator!=() [1/3]

template<typename cf_object_t >
bool cf::__string< cf_object_t >::operator!= ( ::CFStringRef value) const
inlinenoexcept

◆ operator!=() [2/3]

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

◆ operator!=() [3/3]

template<typename cf_object_t >
template<typename value_t , typename = enable_if_convertible<value_t>>
bool cf::__string< cf_object_t >::operator!= ( value_t value)
inline

◆ operator+() [1/2]

template<typename cf_object_t >
::CFMutableStringRef cf::__string< cf_object_t >::operator+ ( ::CFStringRef value) const
inlinenoexcept

◆ operator+() [2/2]

template<typename cf_object_t >
::CFMutableStringRef cf::__string< cf_object_t >::operator+ ( const char * value) const
inlinenoexcept

◆ operator::CFDataRef()

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

◆ operator::CFTypeID()

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

◆ operator::CFTypeRef()

template<typename cf_object_t >
template<typename petty_t = cf_object_t, typename = typename std::enable_if_t <!std::is_same_v<petty_t, ::CFTypeRef>>>
cf::reference< cf_object_t >::operator::CFTypeRef ( ) const
inlinenoexceptinherited

◆ operator<() [1/2]

template<typename cf_object_t >
bool cf::__string< cf_object_t >::operator< ( ::CFStringRef value) const
inlinenoexcept

◆ operator<() [2/2]

template<typename cf_object_t >
template<typename value_t , typename = enable_if_convertible<value_t>>
bool cf::__string< cf_object_t >::operator< ( value_t value)
inline

◆ operator<=() [1/2]

template<typename cf_object_t >
bool cf::__string< cf_object_t >::operator<= ( ::CFStringRef value) const
inlinenoexcept

◆ operator<=() [2/2]

template<typename cf_object_t >
template<typename value_t , typename = enable_if_convertible<value_t>>
bool cf::__string< cf_object_t >::operator<= ( value_t value)
inline

◆ operator==() [1/4]

template<typename cf_object_t >
bool cf::__string< cf_object_t >::operator== ( ::CFStringRef value) const
inlinenoexcept

◆ operator==() [2/4]

template<typename cf_object_t >
virtual bool cf::reference< cf_object_t >::operator== ( ::CFTypeID cf_type) const
inlinevirtualnoexceptinherited
+ Here is the call graph for this function:

◆ operator==() [3/4]

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

◆ operator==() [4/4]

template<typename cf_object_t >
template<typename value_t , typename = enable_if_convertible<value_t>>
bool cf::__string< cf_object_t >::operator== ( value_t value)
inline

◆ operator>() [1/2]

template<typename cf_object_t >
bool cf::__string< cf_object_t >::operator> ( ::CFStringRef value) const
inlinenoexcept

◆ operator>() [2/2]

template<typename cf_object_t >
template<typename value_t , typename = enable_if_convertible<value_t>>
bool cf::__string< cf_object_t >::operator> ( value_t value)
inline

◆ operator>=() [1/2]

template<typename cf_object_t >
bool cf::__string< cf_object_t >::operator>= ( ::CFStringRef value) const
inlinenoexcept

◆ operator>=() [2/2]

template<typename cf_object_t >
template<typename value_t , typename = enable_if_convertible<value_t>>
bool cf::__string< cf_object_t >::operator>= ( value_t value)
inline

◆ release()

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

◆ retain()

template<typename cf_object_t >
const reference & cf::reference< cf_object_t >::retain ( ) const
inlinenoexceptinherited
+ 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
protectedinherited

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

(c) copyright 2009 dynamic acoustics e.U. generated on Fri Dec 20 2024

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.