Tizen WASM Player
Tizen TV WebAssembly Media Player extension allowing for a low-level elementary media stream playback.
|
#include <common.h>
Public Member Functions | |
operator bool () const noexcept | |
Checks if the operation ended with success. More... | |
T & | operator* () |
Returns Result<T>::value . Defined if T is not void . More... | |
const T & | operator* () const |
Returns Result<T>::value . Defined if T is not void . More... | |
T * | operator-> () |
Accesses Result<T>::value . Defined if T is not void . More... | |
const T * | operator-> () const |
Accesses Result<T>::value . Defined if T is not void . More... | |
Public Attributes | |
T | value |
OperationResult | operation_result |
Operation result. More... | |
Helper type which carries both an error code and return value of an operation.
|
inlineexplicitnoexcept |
T & samsung::wasm::Result< T >::operator* | ( | ) |
const T & samsung::wasm::Result< T >::operator* | ( | ) | const |
T * samsung::wasm::Result< T >::operator-> | ( | ) |
const T * samsung::wasm::Result< T >::operator-> | ( | ) | const |
OperationResult samsung::wasm::Result< T >::operation_result |
T samsung::wasm::Result< T >::value |
A value returned by an operation, valid only if operation_result
is equal to OperationResult::kSuccess
. Defined if T
is not void
.