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

a boolean is no ::CFNumber but one of the two ::kCFBoolean singletons, so this one carries no reference of its own More...

#include <cf_number.h>

Public Member Functions

 operator bool() const noexcept
 operator ::CFBooleanRef() const noexcept
 operator ::CFPropertyListRef() const noexcept
 type(::CFBooleanRef value)
 type(::CFTypeRef value, bool= {})
 type(bool value)

Detailed Description

a boolean is no ::CFNumber but one of the two ::kCFBoolean singletons, so this one carries no reference of its own

Constructor & Destructor Documentation

◆ type() [1/3]

cf::type<bool>::type(::CFBooleanRef value)
inline
Here is the call graph for this function:

◆ type() [2/3]

cf::type<bool>::type(bool value)
inline

◆ type() [3/3]

cf::type<bool>::type(::CFTypeRef value, bool= {})
inline

CFBoolean values are the two global kCFBooleanTrue/kCFBooleanFalse singletons - the trailing param exists to match cf::tree::fetch<>()'s uniform type<value_t>{property, false} call shape, used identically for every convertible value_t.

Member Function Documentation

◆ operator bool()

cf::type<bool>::operator bool() const
inlinenoexcept

◆ operator ::CFBooleanRef()

cf::type<bool>::operator ::CFBooleanRef() const
inlinenoexcept
Here is the caller graph for this function:

◆ operator ::CFPropertyListRef()

cf::type<bool>::operator ::CFPropertyListRef() const
inlinenoexcept
Here is the call graph for this function:
Here is the caller graph for this function:

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