![]() |
FFmpegKit Linux API 6.0
|
#include <ReturnCode.h>
Public Member Functions | |
ReturnCode (const int value) | |
int | getValue () const |
bool | isValueSuccess () const |
bool | isValueError () const |
bool | isValueCancel () const |
Static Public Member Functions | |
static bool | isSuccess (const std::shared_ptr< ffmpegkit::ReturnCode > value) |
static bool | isCancel (const std::shared_ptr< ffmpegkit::ReturnCode > value) |
Static Public Attributes | |
static constexpr int | Success = 0 |
static constexpr int | Cancel = 255 |
Private Attributes | |
int | _value |
Friends | |
std::ostream & | operator<< (std::ostream &out, const std::shared_ptr< ffmpegkit::ReturnCode > &o) |
Definition at line 28 of file ReturnCode.h.
ffmpegkit::ReturnCode::ReturnCode | ( | const int | value | ) |
Definition at line 30 of file ReturnCode.cpp.
int ffmpegkit::ReturnCode::getValue | ( | ) | const |
Definition at line 33 of file ReturnCode.cpp.
|
static |
Definition at line 26 of file ReturnCode.cpp.
|
static |
Definition at line 22 of file ReturnCode.cpp.
bool ffmpegkit::ReturnCode::isValueCancel | ( | ) | const |
Definition at line 45 of file ReturnCode.cpp.
bool ffmpegkit::ReturnCode::isValueError | ( | ) | const |
Definition at line 41 of file ReturnCode.cpp.
bool ffmpegkit::ReturnCode::isValueSuccess | ( | ) | const |
Definition at line 37 of file ReturnCode.cpp.
|
friend |
Definition at line 51 of file ReturnCode.cpp.
|
private |
Definition at line 44 of file ReturnCode.h.
|
staticconstexpr |
Definition at line 31 of file ReturnCode.h.
|
staticconstexpr |
Definition at line 30 of file ReturnCode.h.