kodi
XBMCAddon::Dictionary< T > Class Template Reference

This is a bit of a hack for dynamically typed languages. More...

#include <Dictionary.h>

Inheritance diagram for XBMCAddon::Dictionary< T >:
Inheritance graph
[legend]
Collaboration diagram for XBMCAddon::Dictionary< T >:
Collaboration graph
[legend]

Detailed Description

template<class T>
class XBMCAddon::Dictionary< T >

This is a bit of a hack for dynamically typed languages.

In some cases python addon api calls handle dictionaries with variable value types. In this case we coerce all of these types into strings and then convert them back in the api. Yes, this is messy and maybe we should use the CVariant here. But for now the native api handles these calls by converting the string to the appropriate types.


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