Shaka Player Embedded
Public Types | Static Public Member Functions | List of all members
shaka::util::ObjcConverter< std::unordered_map< std::string, T > > Struct Template Reference

#include <objc_utils.h>

Public Types

using dest_type = decltype(ObjcConverter< T >::ToObjc(std::declval< T >()))
 

Static Public Member Functions

static NSMutableDictionary< NSString *, dest_type > * ToObjc (const std::unordered_map< std::string, T > &map)
 
static std::unordered_map< std::string, T > FromObjc (NSDictionary< NSString *, dest_type > *value)
 

Detailed Description

template<typename T>
struct shaka::util::ObjcConverter< std::unordered_map< std::string, T > >

Definition at line 106 of file objc_utils.h.

Member Typedef Documentation

§ dest_type

template<typename T >
using shaka::util::ObjcConverter< std::unordered_map< std::string, T > >::dest_type = decltype(ObjcConverter<T>::ToObjc(std::declval<T>()))

Definition at line 107 of file objc_utils.h.

Member Function Documentation

§ FromObjc()

template<typename T >
static std::unordered_map<std::string, T> shaka::util::ObjcConverter< std::unordered_map< std::string, T > >::FromObjc ( NSDictionary< NSString *, dest_type > *  value)
inlinestatic

Definition at line 126 of file objc_utils.h.

§ ToObjc()

template<typename T >
static NSMutableDictionary<NSString *, dest_type>* shaka::util::ObjcConverter< std::unordered_map< std::string, T > >::ToObjc ( const std::unordered_map< std::string, T > &  map)
inlinestatic

Definition at line 109 of file objc_utils.h.


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