dxd - dynax driver framework 2.1.0d71
cross platform open source driver development framework
Loading...
Searching...
No Matches
dx::coreaudio::server::preference Class Reference

Access to the CoreAudio storage. More...

#include <dx_coreaudio_server.h>

+ Inheritance diagram for dx::coreaudio::server::preference:
+ Collaboration diagram for dx::coreaudio::server::preference:

Public Types

typedef std::map<::CFStringRef, ::CFTypeRef, __string<::CFStringRef >::less > container
 
typedef std::map<::CFStringRef, type<>, __string<::CFStringRef >::less > dx_container
 

Public Member Functions

 dx_catchall_rethrow () operator dx_container() const try
 
preferenceerase (::CFStringRef key=nullptr) override
 
preferenceerase (const char *key)
 
 operator container () const try
 
 operator value_t () const
 return POD from key_value_pair with conversion from CoreFoundation types
 
::CFPropertyListRef operator() (::CFPropertyListRef dflt) const override
 
value_t operator() (value_t dflt) const
 return POD from key_value_pair or return default value if not exists with conversion from CoreFoundation types
 
 operator::CFArrayRef () const noexcept override
 
 operator::CFPropertyListRef () const override
 
preferenceoperator= (::CFPropertyListRef value) override
 
preferenceoperator= (const ::AudioServerPlugInHostInterface *host)
 
preference operator[] (::CFStringRef key) const override
 
preference operator[] (key_t key) const
 return target_class_t from key_value_pair with conversion of key to CoreFoundation type
 
 preference (const ::AudioServerPlugInHostInterface *host=nullptr, CFStringRef key=nullptr)
 

Detailed Description

Access to the CoreAudio storage.

Member Typedef Documentation

◆ container

typedef std::map<::CFStringRef, ::CFTypeRef, __string<::CFStringRef>::less> dx::cf::key_value_pairs< preference >::container
inherited

◆ dx_container

typedef std::map<::CFStringRef, type<>, __string<::CFStringRef>::less> dx::cf::key_value_pairs< preference >::dx_container
inherited

Constructor & Destructor Documentation

◆ preference()

dx::coreaudio::server::preference::preference ( const ::AudioServerPlugInHostInterface * host = nullptr,
CFStringRef key = nullptr )
inline

Member Function Documentation

◆ dx_catchall_rethrow()

dx::cf::key_value_pairs< preference >::dx_catchall_rethrow ( ) const
inlineinherited

◆ erase() [1/2]

preference & dx::coreaudio::server::preference::erase ( ::CFStringRef key = nullptr)
inlineoverridevirtual

◆ erase() [2/2]

preference & dx::cf::key_value_pairs< preference >::erase ( const char * key)
inlineinherited

◆ operator container()

dx::cf::key_value_pairs< preference >::operator container ( ) const
inlineinherited

◆ operator value_t()

dx::cf::key_value_pairs< preference >::operator value_t ( ) const
inlineinherited

return POD from key_value_pair with conversion from CoreFoundation types

◆ operator()() [1/2]

::CFPropertyListRef dx::coreaudio::server::preference::operator() ( ::CFPropertyListRef dflt) const
inlineoverridevirtual

Implements dx::cf::key_value_pairs< preference >.

+ Here is the call graph for this function:

◆ operator()() [2/2]

value_t dx::cf::key_value_pairs< preference >::operator() ( value_t dflt) const
inlineinherited

return POD from key_value_pair or return default value if not exists with conversion from CoreFoundation types

◆ operator::CFArrayRef()

dx::coreaudio::server::preference::operator::CFArrayRef ( ) const
inlineoverridevirtualnoexcept
Todo
: coreaudio::server::preference::operator CFArrayRef(): correctly fill key array

Implements dx::cf::key_value_pairs< preference >.

+ Here is the call graph for this function:

◆ operator::CFPropertyListRef()

dx::coreaudio::server::preference::operator::CFPropertyListRef ( ) const
inlineoverridevirtual

Implements dx::cf::key_value_pairs< preference >.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ operator=() [1/2]

preference & dx::coreaudio::server::preference::operator= ( ::CFPropertyListRef value)
inlineoverridevirtual

◆ operator=() [2/2]

preference & dx::coreaudio::server::preference::operator= ( const ::AudioServerPlugInHostInterface * host)
inline

◆ operator[]() [1/2]

preference dx::coreaudio::server::preference::operator[] ( ::CFStringRef key) const
inlineoverridevirtual

◆ operator[]() [2/2]

preference dx::cf::key_value_pairs< preference >::operator[] ( key_t key) const
inlineinherited

return target_class_t from key_value_pair with conversion of key to CoreFoundation type


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

(c) copyright 2009 dynamic acoustics e.U. generated on Thu Jun 6 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.