avcpp
2.0
Wrapper for the FFmpeg that simplify usage from C++ projects.
|
#include <system_error>
#include <exception>
Go to the source code of this file.
Classes | |
class | av::OptionalErrorCode |
class | av::Exception |
The AvException class Default exception that thows from function that does not accept error code storage. More... | |
class | av::AvcppCategory |
The AvcppCategory class Describes internal AvCpp errors. More... | |
class | av::FfmpegCategory |
The FfmpegCategory class Describers FFmpeg internal errors. More... | |
struct | std::is_error_condition_enum< av::Errors > |
Namespaces | |
av | |
std | |
Functions | |
const AvcppCategory & | av::avcpp_category () |
FfmpegCategory & | av::ffmpeg_category () |
std::error_condition | av::make_error_condition (av::Errors errc) noexcept |
std::error_code | av::make_error_code (av::Errors errc) noexcept |
std::error_code | av::make_avcpp_error (Errors code) |
std::error_condition | av::make_avcpp_condition (Errors code) |
std::error_code | av::make_ffmpeg_error (int code) |
std::error_condition | av::make_ffmpeg_condition (int code) |
template<typename Exception = av::Exception> | |
void | av::throw_error_code (const std::error_code &ec) |
template<typename Exception = av::Exception> | |
void | av::throw_error_code (Errors errc) |
OptionalErrorCode | av::throws () |
Helper to construct null OptionalErrorCode object. More... | |
template<typename Category , typename Exception = av::Exception> | |
void | av::throws_if (OptionalErrorCode ec, int errcode, const Category &cat) |
Throws exception if ec is av::throws() or fill error code. More... | |
template<typename T , typename Exception = av::Exception> | |
void | av::throws_if (OptionalErrorCode ec, T errcode) |
void | av::clear_if (OptionalErrorCode ec) |
clear_if - clear error code if it is not av::throws() More... | |
bool | av::is_error (OptionalErrorCode ec) |