|
Shaka Player Embedded
|
#include <enum.h>
Public Types | |
| using | IntType = typename std::underlying_type< Enum >::type |
Static Public Member Functions | |
| static bool | FromJsValue (Handle< JsValue > given, Enum *dest) |
| static ReturnVal< JsValue > | ToJsValue (Enum value) |
Defines a helper converter that treats the |Enum| type as a number. This does not do bounds checking, namely passing the number 400 from JavaScript when that is not in |Enum| is not an error.
| using shaka::impl::NumberEnumConverter< Enum >::IntType = typename std::underlying_type<Enum>::type |
|
inlinestatic |
|
inlinestatic |
1.8.13