23 return (value !=
nullptr) && (value->getValue() ==
Success);
27 return (value !=
nullptr) && (value->getValue() == Cancel);
38 return (_value == Success);
42 return ((_value != Success) && (_value != Cancel));
46 return (_value == Cancel);
51 std::ostream&
operator<<(std::ostream& out,
const std::shared_ptr<ffmpegkit::ReturnCode>& o) {
55 return out << o->_value;
bool isValueError() const
static bool isCancel(const std::shared_ptr< ffmpegkit::ReturnCode > value)
static constexpr int Success
bool isValueCancel() const
static bool isSuccess(const std::shared_ptr< ffmpegkit::ReturnCode > value)
bool isValueSuccess() const
ReturnCode(const int value)
std::ostream & operator<<(std::ostream &out, const std::shared_ptr< ffmpegkit::ReturnCode > &o)