template<
typename cf_type>
class cf::key_value_tree< cf_type >
key-value pair tree to inherit from suitable CF storage types
This class provides hierchical traversal access functionality for CF storage types. It provides type conversions from POD to CF types for key and values. Each valid hierarchy level has a valid key associated with with one exception: The root level does not need to hava a key set and if it hasn't operates on the entire tree.
It requires it's CF base class to comply to the following layout:
class cf_storage_class{
protected:
cf_storage_type(const cf_storage_type& cf_storage_type, ::CFStringRef key);
void operator =(const cf_storage_type& cf_storage_type);
operator ::CFPropertyListRef() const;
operator ::CFArrayRef() const;
void operator =(::CFPropertyListRef value);
::CFPropertyListRef() operator =(::CFPropertyListRef default) [noexcept];
void erase() [noexcept];
operator bool() const noexcept;
bool container();
operator
cf::
array<>::dx_container();
public:
};
key-value pair tree to inherit from suitable CF storage types
Definition cf_key_value_tree.h:97
Definition cf_reference.h:32
corefoundation namespace
Definition cf_dictionary.h:36
see implementation of interface/macOS/cf_preference.h interface/macOS/sc_preference.h
- usage:
[..]
key_value_tree(value_t key)
Definition cf_key_value_tree.h:107