Base for FFmpeg backend errors.
More...
#include <StormByte/multimedia/ffmpeg/exception.hxx>
|
| template<typename... Args> |
| | Exception (const std::string &component, std::format_string< Args... > fmt, Args &&... args) |
| | Constructs a formatted AV exception.
|
| | Exception (const std::string &message) |
| | Constructs from a preformatted message (Unexpected<E>(fmt, …)).
|
| | Exception (const Exception &)=default |
| | Copy constructor.
|
| | Exception (Exception &&) noexcept=default |
| | Move constructor.
|
| | ~Exception () noexcept override=default |
| | Destructor.
|
| Exception & | operator= (const Exception &)=default |
| | Copy assignment.
|
| Exception & | operator= (Exception &&) noexcept=default |
| | Move assignment.
|
| template<typename... Args> |
| | Exception (const std::string &component, std::format_string< Args... > fmt, Args &&... args) |
| | Constructs a formatted Multimedia exception.
|
| | Exception (const Exception &)=default |
| | Copy constructor.
|
| | Exception (Exception &&) noexcept=default |
| | Move constructor.
|
| | ~Exception () noexcept override=default |
| | Destructor.
|
| Exception & | operator= (const Exception &)=default |
| | Copy assignment.
|
| Exception & | operator= (Exception &&) noexcept=default |
| | Move assignment.
|
Base for FFmpeg backend errors.
◆ Exception() [1/4]
template<typename... Args>
| StormByte::Multimedia::FFmpeg::Exception::Exception |
( |
const std::string & | component, |
|
|
std::format_string< Args... > | fmt, |
|
|
Args &&... | args ) |
|
inline |
Constructs a formatted AV exception.
- Template Parameters
-
| Args | Format argument types. |
- Parameters
-
| component | Subsystem label (BSF, Decoder, Encoder). |
| fmt | Format string. |
| args | Format arguments. |
◆ Exception() [2/4]
| StormByte::Multimedia::FFmpeg::Exception::Exception |
( |
const std::string & | message | ) |
|
|
inlineexplicit |
Constructs from a preformatted message (Unexpected<E>(fmt, …)).
- Parameters
-
| message | Already formatted text. |
◆ Exception() [3/4]
| StormByte::Multimedia::FFmpeg::Exception::Exception |
( |
const Exception & | | ) |
|
|
default |
◆ Exception() [4/4]
| StormByte::Multimedia::FFmpeg::Exception::Exception |
( |
Exception && | | ) |
|
|
defaultnoexcept |
◆ ~Exception()
| StormByte::Multimedia::FFmpeg::Exception::~Exception |
( |
| ) |
|
|
overridedefaultnoexcept |
◆ operator=() [1/2]
Copy assignment.
- Returns
- *this.
◆ operator=() [2/2]
Move assignment.
- Returns
- *this.
The documentation for this class was generated from the following file: