LLDB mainline
CFCMutableDictionary Class Reference

#include <CFCMutableDictionary.h>

Inheritance diagram for CFCMutableDictionary:
[legend]

Public Member Functions

 CFCMutableDictionary (CFMutableDictionaryRef s=NULL)
 CFCMutableDictionary (const CFCMutableDictionary &rhs)
 ~CFCMutableDictionary () override
const CFCMutableDictionaryoperator= (const CFCMutableDictionary &rhs)
CFIndex GetCount () const
CFIndex GetCountOfKey (const void *value) const
CFIndex GetCountOfValue (const void *value) const
void GetKeysAndValues (const void **keys, const void **values) const
const void * GetValue (const void *key) const
Boolean GetValueIfPresent (const void *key, const void **value_handle) const
bool AddValue (CFStringRef key, const void *value, bool can_create=false)
bool SetValue (CFStringRef key, const void *value, bool can_create=false)
bool AddValueSInt8 (CFStringRef key, int8_t value, bool can_create=false)
bool SetValueSInt8 (CFStringRef key, int8_t value, bool can_create=false)
bool AddValueSInt16 (CFStringRef key, int16_t value, bool can_create=false)
bool SetValueSInt16 (CFStringRef key, int16_t value, bool can_create=false)
bool AddValueSInt32 (CFStringRef key, int32_t value, bool can_create=false)
bool SetValueSInt32 (CFStringRef key, int32_t value, bool can_create=false)
bool AddValueSInt64 (CFStringRef key, int64_t value, bool can_create=false)
bool SetValueSInt64 (CFStringRef key, int64_t value, bool can_create=false)
bool AddValueUInt8 (CFStringRef key, uint8_t value, bool can_create=false)
bool SetValueUInt8 (CFStringRef key, uint8_t value, bool can_create=false)
bool AddValueUInt16 (CFStringRef key, uint16_t value, bool can_create=false)
bool SetValueUInt16 (CFStringRef key, uint16_t value, bool can_create=false)
bool AddValueUInt32 (CFStringRef key, uint32_t value, bool can_create=false)
bool SetValueUInt32 (CFStringRef key, uint32_t value, bool can_create=false)
bool AddValueUInt64 (CFStringRef key, uint64_t value, bool can_create=false)
bool SetValueUInt64 (CFStringRef key, uint64_t value, bool can_create=false)
bool AddValueDouble (CFStringRef key, double value, bool can_create=false)
bool SetValueDouble (CFStringRef key, double value, bool can_create=false)
bool AddValueCString (CFStringRef key, const char *cstr, bool can_create=false)
bool SetValueCString (CFStringRef key, const char *cstr, bool can_create=false)
void RemoveValue (const void *value)
void ReplaceValue (const void *key, const void *value)
void RemoveAllValues ()
CFMutableDictionaryRef Dictionary (bool can_create)
Public Member Functions inherited from CFCReleaser< CFMutableDictionaryRef >
 CFCReleaser (CFMutableDictionaryRef ptr=NULL)
virtual ~CFCReleaser ()
CFCReleaseroperator= (const CFCReleaser< CFMutableDictionaryRef > &rhs)
CFMutableDictionaryRefptr_address (bool enforce_null=true)
CFMutableDictionaryRef get ()
void reset (CFMutableDictionaryRef ptr=NULL)
CFMutableDictionaryRef release ()

Detailed Description

Definition at line 14 of file CFCMutableDictionary.h.

Constructor & Destructor Documentation

◆ CFCMutableDictionary() [1/2]

CFCMutableDictionary::CFCMutableDictionary ( CFMutableDictionaryRef s = NULL)

◆ CFCMutableDictionary() [2/2]

CFCMutableDictionary::CFCMutableDictionary ( const CFCMutableDictionary & rhs)
default

◆ ~CFCMutableDictionary()

CFCMutableDictionary::~CFCMutableDictionary ( )
overridedefault

Member Function Documentation

◆ AddValue()

bool CFCMutableDictionary::AddValue ( CFStringRef key,
const void * value,
bool can_create = false )

Definition at line 91 of file CFCMutableDictionary.cpp.

References Dictionary().

◆ AddValueCString()

bool CFCMutableDictionary::AddValueCString ( CFStringRef key,
const char * cstr,
bool can_create = false )

Definition at line 413 of file CFCMutableDictionary.cpp.

References Dictionary(), and CFCReleaser< T >::get().

◆ AddValueDouble()

bool CFCMutableDictionary::AddValueDouble ( CFStringRef key,
double value,
bool can_create = false )

◆ AddValueSInt16()

bool CFCMutableDictionary::AddValueSInt16 ( CFStringRef key,
int16_t value,
bool can_create = false )

◆ AddValueSInt32()

bool CFCMutableDictionary::AddValueSInt32 ( CFStringRef key,
int32_t value,
bool can_create = false )

◆ AddValueSInt64()

bool CFCMutableDictionary::AddValueSInt64 ( CFStringRef key,
int64_t value,
bool can_create = false )

◆ AddValueSInt8()

bool CFCMutableDictionary::AddValueSInt8 ( CFStringRef key,
int8_t value,
bool can_create = false )

◆ AddValueUInt16()

bool CFCMutableDictionary::AddValueUInt16 ( CFStringRef key,
uint16_t value,
bool can_create = false )

◆ AddValueUInt32()

bool CFCMutableDictionary::AddValueUInt32 ( CFStringRef key,
uint32_t value,
bool can_create = false )

◆ AddValueUInt64()

bool CFCMutableDictionary::AddValueUInt64 ( CFStringRef key,
uint64_t value,
bool can_create = false )

◆ AddValueUInt8()

bool CFCMutableDictionary::AddValueUInt8 ( CFStringRef key,
uint8_t value,
bool can_create = false )

◆ Dictionary()

◆ GetCount()

CFIndex CFCMutableDictionary::GetCount ( ) const

◆ GetCountOfKey()

CFIndex CFCMutableDictionary::GetCountOfKey ( const void * value) const

◆ GetCountOfValue()

CFIndex CFCMutableDictionary::GetCountOfValue ( const void * value) const

◆ GetKeysAndValues()

void CFCMutableDictionary::GetKeysAndValues ( const void ** keys,
const void ** values ) const

◆ GetValue()

const void * CFCMutableDictionary::GetValue ( const void * key) const

◆ GetValueIfPresent()

Boolean CFCMutableDictionary::GetValueIfPresent ( const void * key,
const void ** value_handle ) const

◆ operator=()

const CFCMutableDictionary & CFCMutableDictionary::operator= ( const CFCMutableDictionary & rhs)

Definition at line 20 of file CFCMutableDictionary.cpp.

References CFCMutableDictionary().

◆ RemoveAllValues()

void CFCMutableDictionary::RemoveAllValues ( )

◆ RemoveValue()

void CFCMutableDictionary::RemoveValue ( const void * value)

◆ ReplaceValue()

void CFCMutableDictionary::ReplaceValue ( const void * key,
const void * value )

◆ SetValue()

bool CFCMutableDictionary::SetValue ( CFStringRef key,
const void * value,
bool can_create = false )

Definition at line 102 of file CFCMutableDictionary.cpp.

References Dictionary().

◆ SetValueCString()

bool CFCMutableDictionary::SetValueCString ( CFStringRef key,
const char * cstr,
bool can_create = false )

Definition at line 427 of file CFCMutableDictionary.cpp.

References Dictionary(), and CFCReleaser< T >::get().

◆ SetValueDouble()

bool CFCMutableDictionary::SetValueDouble ( CFStringRef key,
double value,
bool can_create = false )

◆ SetValueSInt16()

bool CFCMutableDictionary::SetValueSInt16 ( CFStringRef key,
int16_t value,
bool can_create = false )

◆ SetValueSInt32()

bool CFCMutableDictionary::SetValueSInt32 ( CFStringRef key,
int32_t value,
bool can_create = false )

◆ SetValueSInt64()

bool CFCMutableDictionary::SetValueSInt64 ( CFStringRef key,
int64_t value,
bool can_create = false )

◆ SetValueSInt8()

bool CFCMutableDictionary::SetValueSInt8 ( CFStringRef key,
int8_t value,
bool can_create = false )

◆ SetValueUInt16()

bool CFCMutableDictionary::SetValueUInt16 ( CFStringRef key,
uint16_t value,
bool can_create = false )

◆ SetValueUInt32()

bool CFCMutableDictionary::SetValueUInt32 ( CFStringRef key,
uint32_t value,
bool can_create = false )

◆ SetValueUInt64()

bool CFCMutableDictionary::SetValueUInt64 ( CFStringRef key,
uint64_t value,
bool can_create = false )

◆ SetValueUInt8()

bool CFCMutableDictionary::SetValueUInt8 ( CFStringRef key,
uint8_t value,
bool can_create = false )

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