abstract base class for key-value pair types
More...
#include <dx_mach.h>
|
| dx_catchall_rethrow () operator dx_container() const try |
|
virtual target_class_t & | erase (::CFStringRef key=nullptr)=0 |
|
target_class_t & | erase (const char *key) |
|
| operator container () const try |
|
template<typename value_t , typename = enable_if_convertible<value_t>> |
| operator value_t () const |
| return POD from key_value_pair with conversion from CoreFoundation types
|
|
virtual::CFPropertyListRef | operator() (::CFPropertyListRef dflt) const =0 |
|
template<typename value_t , typename = enable_if_convertible<value_t>> |
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
|
|
virtual | operator::CFArrayRef () const noexcept=0 |
|
virtual | operator::CFPropertyListRef () const =0 |
|
virtual target_class_t & | operator= (::CFPropertyListRef key_values)=0 |
|
template<typename value_t , typename = enable_if_convertible<value_t>> |
target_class_t & | operator= (value_t value) |
| write POD to key_value_pair with conversion to CoreFoundation types
|
|
virtual target_class_t | operator[] (::CFStringRef key) const =0 |
|
template<typename key_t , typename = enable_if_convertible<key_t>> |
target_class_t | operator[] (key_t key) const |
| return target_class_t from key_value_pair with conversion of key to CoreFoundation type
|
|
virtual | ~key_value_pairs () noexcept=default |
|
template<typename target_class_t>
class cf::key_value_pairs< target_class_t >
abstract base class for key-value pair types
- usage:
abstract base class for key-value pair types
Definition dx_mach.h:661
◆ container
template<typename target_class_t >
◆ dx_container
template<typename target_class_t >
◆ ~key_value_pairs()
template<typename target_class_t >
◆ dx_catchall_rethrow()
template<typename target_class_t >
◆ erase() [1/2]
template<typename target_class_t >
virtual target_class_t & cf::key_value_pairs< target_class_t >::erase |
( |
::CFStringRef | key = nullptr | ) |
|
|
pure virtual |
◆ erase() [2/2]
template<typename target_class_t >
◆ operator container()
template<typename target_class_t >
◆ operator value_t()
template<typename target_class_t >
template<typename value_t , typename = enable_if_convertible<value_t>>
return POD from key_value_pair with conversion from CoreFoundation types
◆ operator()() [1/2]
template<typename target_class_t >
◆ operator()() [2/2]
template<typename target_class_t >
template<typename value_t , typename = enable_if_convertible<value_t>>
return POD from key_value_pair or return default value if not exists with conversion from CoreFoundation types
◆ operator::CFArrayRef()
template<typename target_class_t >
◆ operator::CFPropertyListRef()
template<typename target_class_t >
◆ operator=() [1/2]
template<typename target_class_t >
◆ operator=() [2/2]
template<typename target_class_t >
template<typename value_t , typename = enable_if_convertible<value_t>>
write POD to key_value_pair with conversion to CoreFoundation types
◆ operator[]() [1/2]
template<typename target_class_t >
virtual target_class_t cf::key_value_pairs< target_class_t >::operator[] |
( |
::CFStringRef | key | ) |
const |
|
pure virtual |
◆ operator[]() [2/2]
template<typename target_class_t >
template<typename key_t , typename = enable_if_convertible<key_t>>
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: