dxd - dynax driver framework 2.7.0d222
cross platform open source driver development framework
Loading...
Searching...
No Matches
sc::_preference Class Reference

persistant system configuration storarage base class - do not use directly! use sc::preference More...

#include <sc_preference.h>

Inheritance diagram for sc::_preference:
Collaboration diagram for sc::_preference:

Public Member Functions

 catch (...)
::CFIndex count () const noexcept
 dx_catchall_rethrow () const reference &retain() const noexcept
 dx_catchall_rethrow () reference &operator
 dx_catchall_rethrow () template< typename self_t > static void assign_property(const self_t &self
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
CFTypeID id () noexcept
CFTypeID id () noexcept
CFTypeID id () noexcept
CFTypeID id () noexcept
CFTypeID id () noexcept
referenceinitialize (::SCPreferencesRef cf_object, bool retain=true) try
 operator::CFTypeID () const noexcept
 operator::SCPreferencesRef () const noexcept
 operator::SCPreferencesRef () const noexcept
referencerelease () noexcept

Static Public Member Functions

static self_t void assign (const self_t &self, const value_t &value) try
static self_t container_t children (const self_t &self) try
::CFPropertyListRef ::CFPropertyListRef static self_t bool fetch (const self_t &self, value_t &value) try
::CFTypeID id () noexcept
static bool nested (const self_t &self) try
static ::CFPropertyListRef property_list (const self_t &self) try

Public Attributes

::CFPropertyListRef ::CFPropertyListRef baseline
::CFPropertyListRef value

Protected Attributes

::SCPreferencesRef cf_object

Friends

class cf::tree< _preference >

Detailed Description

persistant system configuration storarage base class - do not use directly! use sc::preference

Implements cf::tree's 10 position-only primitives (cf_tree.h) over SCPreferences - operating on this key alone (empty meaning the whole domain), never the parent chain. cf::tree supplies the dx::key_value_tree< _preference> contract (fetch/assign/purge/nested) on top, by recursing through those primitives up to the true root.

Member Function Documentation

◆ assign()

self_t void cf::tree< _preference >::assign ( const self_t & self,
const value_t & value )
inlinestaticinherited

◆ catch()

cf::tree< _preference >::catch ( ...)
inlineinherited

◆ children()

self_t container_t cf::tree< _preference >::children ( const self_t & self)
inlinestaticinherited

◆ count()

::CFIndex cf::reference< ::SCPreferencesRef >::count ( ) const
inlinenoexceptinherited

◆ dx_catchall_rethrow() [1/3]

cf::reference< ::SCPreferencesRef >::dx_catchall_rethrow ( ) const &
inlinenoexceptinherited

◆ dx_catchall_rethrow() [2/3]

cf::reference< ::SCPreferencesRef >::dx_catchall_rethrow ( ) &
inherited

◆ dx_catchall_rethrow() [3/3]

cf::tree< _preference >::dx_catchall_rethrow ( ) const &
inherited

downward write-back mirroring property_list()'s upward read, creating ancestor dictionaries as needed. baseline is the parent value this write's own value was computed from (passed down from the caller's own property_list() read) - at the root, a mismatch against the current stored value means a concurrent writer raced this one, and dx::busy is raised so assign()/purge() retry against fresh state.

◆ fetch()

::CFPropertyListRef ::CFPropertyListRef static self_t bool cf::tree< _preference >::fetch ( const self_t & self,
value_t & value )
inlinestaticinherited

◆ id() [1/23]

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

◆ id() [2/23]

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

◆ id() [3/23]

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

◆ id() [4/23]

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

◆ id() [5/23]

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

◆ id() [6/23]

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

◆ id() [7/23]

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

◆ id() [8/23]

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

◆ id() [9/23]

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

◆ id() [10/23]

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

◆ id() [11/23]

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

◆ id() [12/23]

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

◆ id() [13/23]

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

◆ id() [14/23]

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

◆ id() [15/23]

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

◆ id() [16/23]

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

◆ id() [17/23]

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

◆ id() [18/23]

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

◆ id() [19/23]

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

◆ id() [20/23]

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

◆ id() [21/23]

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

◆ id() [22/23]

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

◆ id() [23/23]

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

◆ initialize()

reference & cf::reference< ::SCPreferencesRef >::initialize ( ::SCPreferencesRef cf_object,
bool retain = true )
inlineinherited

◆ nested()

bool cf::tree< _preference >::nested ( const self_t & self)
inlinestaticinherited

◆ operator::CFTypeID()

cf::reference< ::SCPreferencesRef >::operator::CFTypeID ( ) const
inlineexplicitnoexceptinherited

◆ operator::SCPreferencesRef() [1/2]

cf::reference< ::SCPreferencesRef >::operator ::SCPreferencesRef ( ) const
inlinenoexceptinherited
Here is the caller graph for this function:

◆ operator::SCPreferencesRef() [2/2]

cf::reference< ::SCPreferencesRef >::operator ::SCPreferencesRef ( ) const
inlinenoexceptinherited

◆ property_list()

::CFPropertyListRef cf::tree< _preference >::property_list ( const self_t & self)
inlinestaticinherited
Here is the caller graph for this function:

◆ release()

reference & cf::reference< ::SCPreferencesRef >::release ( )
inlinenoexceptinherited

◆ cf::tree< _preference >

friend class cf::tree< _preference >
friend

Member Data Documentation

◆ baseline

::CFPropertyListRef ::CFPropertyListRef cf::tree< _preference >::baseline
inherited

◆ cf_object

::SCPreferencesRef cf::reference< ::SCPreferencesRef >::cf_object
protectedinherited

◆ value

::CFPropertyListRef cf::tree< _preference >::value
inherited

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

(c) copyright 2009 dynamic acoustics e.U. generated on

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.