NeKernel dev
Loading...
Searching...
No Matches
CF::CF_OBJECT< T > Class Template Referencefinal

User property class. More...

#include <Property.h>

Public Member Functions

 CFProperty (CFRef< CFGUID > guid, CFString &name, CFPropertyId value)
 ~CFProperty () override=default
CFPropertyoperator= (const CFProperty &)=default
 CFProperty (const CFProperty &)=default
Bool StringEquals (CFString &name)
CFPropertyIdGetValue ()
CFStringGetKey ()
 CFRef ()=default
 ~CFRef ()
 CFRef (T *cls)
 CFRef (T cls)
CFRefoperator= (T ref)
operator-> () const
T & Leak ()
T & TryLeak () const
operator* ()
 operator bool ()
 CFString ()=delete
 CFString (const SizeT sz)
 CFString (const Char *str)
 ~CFString ()
const char * asBytes () const
 LIBSYS_COPY_DELETE (CFString)

Private Attributes

CFStringfName {nullptr}
CFPropertyId fValue {0UL}
CFRef< CFGUID > fGUID {}
T * fClass {nullptr}
Char * mStr {nullptr}

Detailed Description

template<typename T>
class CF::CF_OBJECT< T >

User property class.

CFString class for string manipulations.

CFRef class for reference counting.

================================================================================

@example /prop/foo or /prop/bar

================================================================================

autotoc_md59

================================================================================

autotoc_md61

Constructor & Destructor Documentation

◆ ~CFProperty()

template<typename T>
CF::CF_OBJECT< T >::~CFProperty ( )
overridedefault

◆ ~CFRef()

template<typename T>
CF::CF_OBJECT< T >::~CFRef ( )
inline

◆ ~CFString()

template<typename T>
CF::CF_OBJECT< T >::~CFString ( )

Member Function Documentation

◆ asBytes()

template<typename T>
const char * CF::CF_OBJECT< T >::asBytes ( ) const

◆ CFProperty() [1/2]

template<typename T>
CF::CF_OBJECT< T >::CFProperty ( CFRef< CFGUID > guid,
CFString & name,
CFPropertyId value )

◆ CFProperty() [2/2]

template<typename T>
CF::CF_OBJECT< T >::CFProperty ( const CFProperty & )
default

◆ CFRef() [1/3]

template<typename T>
CF::CF_OBJECT< T >::CFRef ( )
default

◆ CFRef() [2/3]

template<typename T>
CF::CF_OBJECT< T >::CFRef ( T * cls)
inline

◆ CFRef() [3/3]

template<typename T>
CF::CF_OBJECT< T >::CFRef ( T cls)
inline

◆ CFString() [1/3]

template<typename T>
CF::CF_OBJECT< T >::CFString ( )
delete

◆ CFString() [2/3]

template<typename T>
CF::CF_OBJECT< T >::CFString ( const Char * str)
explicit

◆ CFString() [3/3]

template<typename T>
CF::CF_OBJECT< T >::CFString ( const SizeT sz)
explicit

◆ GetKey()

template<typename T>
CFString & CF::CF_OBJECT< T >::GetKey ( )

◆ GetValue()

template<typename T>
CFPropertyId & CF::CF_OBJECT< T >::GetValue ( )

◆ Leak()

template<typename T>
T & CF::CF_OBJECT< T >::Leak ( )
inline

◆ LIBSYS_COPY_DELETE()

template<typename T>
CF::CF_OBJECT< T >::LIBSYS_COPY_DELETE ( CFString )

◆ operator bool()

template<typename T>
CF::CF_OBJECT< T >::operator bool ( )
inline

◆ operator*()

template<typename T>
T CF::CF_OBJECT< T >::operator* ( )
inline

◆ operator->()

template<typename T>
T CF::CF_OBJECT< T >::operator-> ( ) const
inline

◆ operator=() [1/2]

template<typename T>
CFProperty & CF::CF_OBJECT< T >::operator= ( const CFProperty & )
default

◆ operator=() [2/2]

template<typename T>
CFRef & CF::CF_OBJECT< T >::operator= ( T ref)
inline

◆ StringEquals()

template<typename T>
Bool CF::CF_OBJECT< T >::StringEquals ( CFString & name)

◆ TryLeak()

template<typename T>
T & CF::CF_OBJECT< T >::TryLeak ( ) const
inline

Member Data Documentation

◆ fClass

template<typename T>
T* CF::CF_OBJECT< T >::fClass {nullptr}
private

◆ fGUID

template<typename T>
CFRef<CFGUID> CF::CF_OBJECT< T >::fGUID {}
private

◆ fName

template<typename T>
CFString* CF::CF_OBJECT< T >::fName {nullptr}
private

◆ fValue

template<typename T>
CFPropertyId CF::CF_OBJECT< T >::fValue {0UL}
private

◆ mStr

template<typename T>
Char* CF::CF_OBJECT< T >::mStr {nullptr}
private

The documentation for this class was generated from the following files:
  • public/frameworks/CoreFoundation.fwrk/headers/Property.h
  • public/frameworks/CoreFoundation.fwrk/headers/Ref.h
  • public/frameworks/CoreFoundation.fwrk/headers/String.h