dxd - dynax driver framework 3.0.2
cross platform open source driver development framework
Loading...
Searching...
No Matches
cf::dictionary<::CFMutableDictionaryRef > Class Reference

a dictionary being built: set() chains one entry after another, which is what the desc's CF serialization expands into More...

#include <cf_dictionary.h>

Inheritance diagram for cf::dictionary<::CFMutableDictionaryRef >:
Collaboration diagram for cf::dictionary<::CFMutableDictionaryRef >:

Public Member Functions

::CFMutableDictionaryRef copy() const noexcept
 create mutable dictionary copy to create an immutable dictionary copy cast to parent class dictionary<::CFDictionaryRef, ::CFMutableDictionaryRef>
 dictionary(::CFDictionaryRef cf_dictionary= nullptr, ::CFStringRef key= nullptr)
 create mutable dictionary from optional immutable dictionary
 dictionary(::CFMutableDictionaryRef cf_dictionary, ::CFStringRef key= nullptr)
 dictionary(::CFPropertyListRef cf_object, ::CFStringRef key= nullptr)
 dictionary(::CFPropertyListRef cf_object, const std::map<::CFStringRef, cf::type<>>& key_value_pairs)
 dictionary(::CFReadStreamRef cf_object, ::CFStringRef key= nullptr)
 dictionary(::CFStringRef key, ::CFPropertyListRef properties= nullptr)
template<typename value_t, typename= enable_if_convertible<value_t>>
 dictionary(::CFStringRef key, value_t value)
 dictionary(const std::map<::CFStringRef, ::CFPropertyListRef>& key_value_pairs)
template<typename key_t, typename= enable_if_convertible<key_t>>
 dictionary(key_t key, ::CFPropertyListRef properties)
template<typename key_t, typename value_t, typename= enable_if_convertible<key_t>, typename= enable_if_convertible<value_t>>
 dictionary(key_t key, value_t value)
dictionary& erase(::CFStringRef key) noexcept
dictionary& operator =(::CFPropertyListRef value)
template<typename value_t, typename= enable_if_convertible<value_t>>
dictionary& operator =(value_t value)
dictionary operator [](::CFStringRef key) const
template<typename key_t, typename= cf::enable_if_convertible<key_t>>
dictionary operator [](key_t key) const
dictionary& set(::CFStringRef key, ::CFPropertyListRef value) noexcept
template<typename value_t, typename= std::enable_if_t<adopts_v<value_t, ::CFDictionaryRef>>>
dictionary& set(::CFStringRef key, const value_t& value)
template<typename value_t, typename= enable_if_convertible<value_t>>
dictionary& set(::CFStringRef key, value_t value)
template<typename key_t, typename= enable_if_convertible<key_t>>
dictionary& set(key_t key, ::CFPropertyListRef value)
template<typename key_t, typename value_t, typename= enable_if_convertible<key_t>, typename= std::enable_if_t<adopts_v<value_t, ::CFDictionaryRef>>>
dictionary& set(key_t key, const value_t& value)
template<typename key_t, typename value_t, typename= enable_if_convertible<key_t>, typename= enable_if_convertible<value_t>>
dictionary& set(key_t key, value_t value)

Detailed Description

a dictionary being built: set() chains one entry after another, which is what the desc's CF serialization expands into

Constructor & Destructor Documentation

◆ dictionary() [1/10]

cf::dictionary<::CFMutableDictionaryRef>::dictionary(::CFMutableDictionaryRef cf_dictionary, ::CFStringRef key= nullptr)
inline
Here is the caller graph for this function:

◆ dictionary() [2/10]

cf::dictionary<::CFMutableDictionaryRef>::dictionary(::CFDictionaryRef cf_dictionary= nullptr, ::CFStringRef key= nullptr)
inline

create mutable dictionary from optional immutable dictionary

◆ dictionary() [3/10]

cf::dictionary<::CFMutableDictionaryRef>::dictionary(::CFStringRef key, ::CFPropertyListRef properties= nullptr)
inline
Here is the call graph for this function:

◆ dictionary() [4/10]

cf::dictionary<::CFMutableDictionaryRef>::dictionary(::CFPropertyListRef cf_object, ::CFStringRef key= nullptr)
inline
Here is the call graph for this function:

◆ dictionary() [5/10]

cf::dictionary<::CFMutableDictionaryRef>::dictionary(const std::map<::CFStringRef, ::CFPropertyListRef>& key_value_pairs)
inline
Here is the call graph for this function:

◆ dictionary() [6/10]

cf::dictionary<::CFMutableDictionaryRef>::dictionary(::CFPropertyListRef cf_object, const std::map<::CFStringRef, cf::type<>>& key_value_pairs)
inline
Here is the call graph for this function:

◆ dictionary() [7/10]

cf::dictionary<::CFMutableDictionaryRef>::dictionary(::CFReadStreamRef cf_object, ::CFStringRef key= nullptr)
inline
Here is the call graph for this function:

◆ dictionary() [8/10]

template<typename key_t, typename= enable_if_convertible<key_t>>
cf::dictionary<::CFMutableDictionaryRef>::dictionary(key_t key, ::CFPropertyListRef properties)
inline
Here is the call graph for this function:

◆ dictionary() [9/10]

template<typename value_t, typename= enable_if_convertible<value_t>>
cf::dictionary<::CFMutableDictionaryRef>::dictionary(::CFStringRef key, value_t value)
inline
Here is the call graph for this function:

◆ dictionary() [10/10]

template<typename key_t, typename value_t, typename= enable_if_convertible<key_t>, typename= enable_if_convertible<value_t>>
cf::dictionary<::CFMutableDictionaryRef>::dictionary(key_t key, value_t value)
inline
Here is the call graph for this function:

Member Function Documentation

◆ copy()

::CFMutableDictionaryRef cf::dictionary<::CFMutableDictionaryRef>::copy() const
inlinenoexcept

create mutable dictionary copy to create an immutable dictionary copy cast to parent class dictionary<::CFDictionaryRef, ::CFMutableDictionaryRef>

◆ erase()

dictionary& cf::dictionary<::CFMutableDictionaryRef>::erase(::CFStringRef key)
inlinenoexcept
Here is the call graph for this function:

◆ operator =() [1/2]

dictionary& cf::dictionary<::CFMutableDictionaryRef>::operator =(::CFPropertyListRef value)
inline
Here is the call graph for this function:

◆ operator =() [2/2]

template<typename value_t, typename= enable_if_convertible<value_t>>
dictionary& cf::dictionary<::CFMutableDictionaryRef>::operator =(value_t value)
inline
Here is the call graph for this function:

◆ operator []() [1/2]

dictionary cf::dictionary<::CFMutableDictionaryRef>::operator [](::CFStringRef key) const
inline
Here is the call graph for this function:

◆ operator []() [2/2]

template<typename key_t, typename= cf::enable_if_convertible<key_t>>
dictionary cf::dictionary<::CFMutableDictionaryRef>::operator [](key_t key) const
inline
Here is the call graph for this function:

◆ set() [1/6]

dictionary& cf::dictionary<::CFMutableDictionaryRef>::set(::CFStringRef key, ::CFPropertyListRef value)
inlinenoexcept
Here is the call graph for this function:
Here is the caller graph for this function:

◆ set() [2/6]

template<typename value_t, typename= std::enable_if_t<adopts_v<value_t, ::CFDictionaryRef>>>
dictionary& cf::dictionary<::CFMutableDictionaryRef>::set(::CFStringRef key, const value_t& value)
inline
Here is the call graph for this function:

◆ set() [3/6]

template<typename value_t, typename= enable_if_convertible<value_t>>
dictionary& cf::dictionary<::CFMutableDictionaryRef>::set(::CFStringRef key, value_t value)
inline
Here is the call graph for this function:

◆ set() [4/6]

template<typename key_t, typename= enable_if_convertible<key_t>>
dictionary& cf::dictionary<::CFMutableDictionaryRef>::set(key_t key, ::CFPropertyListRef value)
inline
Here is the call graph for this function:

◆ set() [5/6]

template<typename key_t, typename value_t, typename= enable_if_convertible<key_t>, typename= std::enable_if_t<adopts_v<value_t, ::CFDictionaryRef>>>
dictionary& cf::dictionary<::CFMutableDictionaryRef>::set(key_t key, const value_t& value)
inline
Here is the call graph for this function:

◆ set() [6/6]

template<typename key_t, typename value_t, typename= enable_if_convertible<key_t>, typename= enable_if_convertible<value_t>>
dictionary& cf::dictionary<::CFMutableDictionaryRef>::set(key_t key, value_t value)
inline
Here is the call graph for this function:

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