Shaka Player Embedded
Public Types | Static Public Member Functions | List of all members
shaka::util::ObjcConverter< std::vector< 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 NSMutableArray< dest_type > * ToObjc (const std::vector< T > &value)
 
static std::vector< T > FromObjc (NSArray< dest_type > *value)
 

Detailed Description

template<typename T>
struct shaka::util::ObjcConverter< std::vector< T > >

Definition at line 85 of file objc_utils.h.

Member Typedef Documentation

§ dest_type

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

Definition at line 86 of file objc_utils.h.

Member Function Documentation

§ FromObjc()

template<typename T >
static std::vector<T> shaka::util::ObjcConverter< std::vector< T > >::FromObjc ( NSArray< dest_type > *  value)
inlinestatic

Definition at line 96 of file objc_utils.h.

§ ToObjc()

template<typename T >
static NSMutableArray<dest_type>* shaka::util::ObjcConverter< std::vector< T > >::ToObjc ( const std::vector< T > &  value)
inlinestatic

Definition at line 88 of file objc_utils.h.


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