Kodi Documentation 18.0
Kodi is an open source media player and entertainment hub.
DictionaryUtils.h File Reference
#import <CoreFoundation/CFNumber.h>
#import <CoreFoundation/CFDictionary.h>

Functions

Boolean GetDictionaryBoolean (CFDictionaryRef theDict, const void *key)
 
long GetDictionaryLong (CFDictionaryRef theDict, const void *key)
 
int GetDictionaryInt (CFDictionaryRef theDict, const void *key)
 
float GetDictionaryFloat (CFDictionaryRef theDict, const void *key)
 
double GetDictionaryDouble (CFDictionaryRef theDict, const void *key)
 
void CFDictionarySetSInt32 (CFMutableDictionaryRef dictionary, CFStringRef key, SInt32 numberSInt32)
 
void CFDictionarySetDouble (CFMutableDictionaryRef dictionary, CFStringRef key, double numberDouble)
 
void CFMutableDictionarySetData (CFMutableDictionaryRef dict, CFStringRef key, const uint8_t *value, int length)
 
void CFMutableDictionarySetObject (CFMutableDictionaryRef dict, CFStringRef key, CFTypeRef *value)
 
void CFMutableDictionarySetString (CFMutableDictionaryRef dict, CFStringRef key, const char *value)
 

Function Documentation

◆ CFDictionarySetDouble()

void CFDictionarySetDouble ( CFMutableDictionaryRef  dictionary,
CFStringRef  key,
double  numberDouble 
)

◆ CFDictionarySetSInt32()

void CFDictionarySetSInt32 ( CFMutableDictionaryRef  dictionary,
CFStringRef  key,
SInt32  numberSInt32 
)

◆ CFMutableDictionarySetData()

void CFMutableDictionarySetData ( CFMutableDictionaryRef  dict,
CFStringRef  key,
const uint8_t value,
int  length 
)

◆ CFMutableDictionarySetObject()

void CFMutableDictionarySetObject ( CFMutableDictionaryRef  dict,
CFStringRef  key,
CFTypeRef *  value 
)

◆ CFMutableDictionarySetString()

void CFMutableDictionarySetString ( CFMutableDictionaryRef  dict,
CFStringRef  key,
const char *  value 
)

◆ GetDictionaryBoolean()

Boolean GetDictionaryBoolean ( CFDictionaryRef  theDict,
const void key 
)

◆ GetDictionaryDouble()

double GetDictionaryDouble ( CFDictionaryRef  theDict,
const void key 
)

◆ GetDictionaryFloat()

float GetDictionaryFloat ( CFDictionaryRef  theDict,
const void key 
)

◆ GetDictionaryInt()

int GetDictionaryInt ( CFDictionaryRef  theDict,
const void key 
)

◆ GetDictionaryLong()

long GetDictionaryLong ( CFDictionaryRef  theDict,
const void key 
)