#include <AVDictionaryWrapper.h>
|
| AVDictionaryWrapper (const AVDictionaryWrapper &rhs) noexcept |
| Unlike the other FFmpeg wrapper classes, this one is copyable. More...
|
|
| AVDictionaryWrapper (AVDictionaryWrapper &&rhs) noexcept |
|
AVDictionaryWrapper & | operator= (const AVDictionaryWrapper &rhs) noexcept |
|
AVDictionaryWrapper & | operator= (AVDictionaryWrapper &&rhs) noexcept |
|
| AVDictionaryWrapper (const FFmpegFunctions &ffmpeg) noexcept |
|
| AVDictionaryWrapper (const FFmpegFunctions &ffmpeg, AVDictionary *rhs) noexcept |
|
AVDictionary * | GetWrappedValue () noexcept |
|
const AVDictionary * | GetWrappedValue () const noexcept |
|
virtual | ~AVDictionaryWrapper () |
|
void | Set (const std::string_view &key, const std::string &value, int flags=0) noexcept |
|
void | Set (const std::string_view &key, const wxString &value, int flags=0) noexcept |
|
void | Set (const std::string_view &key, const char *value, int flags=0) noexcept |
|
template<typename T > |
void | Set (const std::string_view &key, const T &value, int flags=0) noexcept |
|
std::string_view | Get (const std::string_view &key, const std::string_view &defaultValue, int flags=0) const |
|
bool | HasValue (const std::string_view &key, int flags=0) const noexcept |
|
AVDictionary * | Release () noexcept |
|
Definition at line 23 of file AVDictionaryWrapper.h.
◆ AVDictionaryWrapper() [1/4]
Unlike the other FFmpeg wrapper classes, this one is copyable.
Definition at line 32 of file AVDictionaryWrapper.cpp.
35{
36}
const FFmpegFunctions & mFFmpeg
AVDictionaryWrapper(const AVDictionaryWrapper &rhs) noexcept
Unlike the other FFmpeg wrapper classes, this one is copyable.
AVDictionary * mAVDictionary
◆ AVDictionaryWrapper() [2/4]
◆ AVDictionaryWrapper() [3/4]
◆ AVDictionaryWrapper() [4/4]
Definition at line 24 of file AVDictionaryWrapper.cpp.
27{
28 if (rhs != nullptr)
30}
void(* av_dict_copy)(AVDictionary **dst, const AVDictionary *src, int flags)
◆ ~AVDictionaryWrapper()
AVDictionaryWrapper::~AVDictionaryWrapper |
( |
| ) |
|
|
virtual |
◆ Get()
std::string_view AVDictionaryWrapper::Get |
( |
const std::string_view & |
key, |
|
|
const std::string_view & |
defaultValue, |
|
|
int |
flags = 0 |
|
) |
| const |
◆ GetWrappedValue() [1/2]
const AVDictionary * AVDictionaryWrapper::GetWrappedValue |
( |
| ) |
const |
|
noexcept |
◆ GetWrappedValue() [2/2]
◆ HasValue()
bool AVDictionaryWrapper::HasValue |
( |
const std::string_view & |
key, |
|
|
int |
flags = 0 |
|
) |
| const |
|
noexcept |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ Release()
◆ Set() [1/4]
void AVDictionaryWrapper::Set |
( |
const std::string_view & |
key, |
|
|
const char * |
value, |
|
|
int |
flags = 0 |
|
) |
| |
|
noexcept |
Definition at line 94 of file AVDictionaryWrapper.cpp.
96{
99}
int(* av_dict_set)(AVDictionary **pm, const char *key, const char *value, int flags)
References key.
◆ Set() [2/4]
void AVDictionaryWrapper::Set |
( |
const std::string_view & |
key, |
|
|
const std::string & |
value, |
|
|
int |
flags = 0 |
|
) |
| |
|
noexcept |
◆ Set() [3/4]
template<typename T >
void AVDictionaryWrapper::Set |
( |
const std::string_view & |
key, |
|
|
const T & |
value, |
|
|
int |
flags = 0 |
|
) |
| |
|
inlinenoexcept |
Definition at line 47 of file AVDictionaryWrapper.h.
48 {
49 Set(
key, std::to_string(value), flags);
50 }
void Set(const std::string_view &key, const std::string &value, int flags=0) noexcept
References key.
◆ Set() [4/4]
void AVDictionaryWrapper::Set |
( |
const std::string_view & |
key, |
|
|
const wxString & |
value, |
|
|
int |
flags = 0 |
|
) |
| |
|
noexcept |
◆ mAVDictionary
AVDictionary* AVDictionaryWrapper::mAVDictionary { nullptr } |
|
protected |
◆ mFFmpeg
The documentation for this class was generated from the following files: