avcpp
2.0
Wrapper for the FFmpeg that simplify usage from C++ projects.
|
Array of Dictinaries wrapper. More...
#include <dictionary.h>
Public Member Functions | |
DictionaryArray ()=default | |
DictionaryArray (std::initializer_list< Dictionary > dicts) | |
DictionaryArray (AVDictionary **dicts, size_t count, bool takeOwning=true) | |
DictionaryArray (const DictionaryArray &rhs) | |
DictionaryArray & | operator= (const DictionaryArray &rhs) |
DictionaryArray (DictionaryArray &&)=default | |
DictionaryArray & | operator= (DictionaryArray &&)=default |
void | assign (AVDictionary **dicts, size_t count, bool takeOwning=true) |
void | reserve (size_t size) |
void | resize (size_t size) |
size_t | size () const |
void | pushBack (const Dictionary &dict) |
void | pushBack (Dictionary &&dict) |
const Dictionary & | operator[] (size_t index) const |
Dictionary & | operator[] (size_t index) |
const Dictionary & | at (size_t index) const |
Dictionary & | at (size_t index) |
const AVDictionary *const * | raws () const |
AVDictionary ** | raws () |
AVDictionary ** | release () |
void | swap (DictionaryArray &rhs) |
Array of Dictinaries wrapper.
Some functions accepts array of dictionaries. This class is a simple proxy to compose such arrays.
It is not iterator-friendly and must not be used generally.
|
default |
av::DictionaryArray::DictionaryArray | ( | std::initializer_list< Dictionary > | dicts | ) |
av::DictionaryArray::DictionaryArray | ( | AVDictionary ** | dicts, |
size_t | count, | ||
bool | takeOwning = true |
||
) |
av::DictionaryArray::DictionaryArray | ( | const DictionaryArray & | rhs | ) |
|
default |
void av::DictionaryArray::assign | ( | AVDictionary ** | dicts, |
size_t | count, | ||
bool | takeOwning = true |
||
) |
Dictionary & av::DictionaryArray::at | ( | size_t | index | ) |
const Dictionary & av::DictionaryArray::at | ( | size_t | index | ) | const |
DictionaryArray & av::DictionaryArray::operator= | ( | const DictionaryArray & | rhs | ) |
|
default |
Dictionary & av::DictionaryArray::operator[] | ( | size_t | index | ) |
const Dictionary & av::DictionaryArray::operator[] | ( | size_t | index | ) | const |
void av::DictionaryArray::pushBack | ( | const Dictionary & | dict | ) |
void av::DictionaryArray::pushBack | ( | Dictionary && | dict | ) |
AVDictionary** av::DictionaryArray::raws | ( | ) |
AVDictionary ** av::DictionaryArray::raws | ( | ) | const |
AVDictionary ** av::DictionaryArray::release | ( | ) |
void av::DictionaryArray::reserve | ( | size_t | size | ) |
void av::DictionaryArray::resize | ( | size_t | size | ) |
size_t av::DictionaryArray::size | ( | ) | const |
void av::DictionaryArray::swap | ( | DictionaryArray & | rhs | ) |