avcpp  2.0
Wrapper for the FFmpeg that simplify usage from C++ projects.
Public Member Functions | List of all members
av::DictionaryArray Class Reference

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)
 
DictionaryArrayoperator= (const DictionaryArray &rhs)
 
 DictionaryArray (DictionaryArray &&)=default
 
DictionaryArrayoperator= (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 Dictionaryoperator[] (size_t index) const
 
Dictionaryoperator[] (size_t index)
 
const Dictionaryat (size_t index) const
 
Dictionaryat (size_t index)
 
const AVDictionary *const * raws () const
 
AVDictionary ** raws ()
 
AVDictionary ** release ()
 
void swap (DictionaryArray &rhs)
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ DictionaryArray() [1/5]

av::DictionaryArray::DictionaryArray ( )
default

◆ DictionaryArray() [2/5]

av::DictionaryArray::DictionaryArray ( std::initializer_list< Dictionary dicts)

◆ DictionaryArray() [3/5]

av::DictionaryArray::DictionaryArray ( AVDictionary **  dicts,
size_t  count,
bool  takeOwning = true 
)

◆ DictionaryArray() [4/5]

av::DictionaryArray::DictionaryArray ( const DictionaryArray rhs)

◆ DictionaryArray() [5/5]

av::DictionaryArray::DictionaryArray ( DictionaryArray &&  )
default

Member Function Documentation

◆ assign()

void av::DictionaryArray::assign ( AVDictionary **  dicts,
size_t  count,
bool  takeOwning = true 
)

◆ at() [1/2]

Dictionary & av::DictionaryArray::at ( size_t  index)

◆ at() [2/2]

const Dictionary & av::DictionaryArray::at ( size_t  index) const

◆ operator=() [1/2]

DictionaryArray & av::DictionaryArray::operator= ( const DictionaryArray rhs)

◆ operator=() [2/2]

DictionaryArray& av::DictionaryArray::operator= ( DictionaryArray &&  )
default

◆ operator[]() [1/2]

Dictionary & av::DictionaryArray::operator[] ( size_t  index)

◆ operator[]() [2/2]

const Dictionary & av::DictionaryArray::operator[] ( size_t  index) const

◆ pushBack() [1/2]

void av::DictionaryArray::pushBack ( const Dictionary dict)

◆ pushBack() [2/2]

void av::DictionaryArray::pushBack ( Dictionary &&  dict)

◆ raws() [1/2]

AVDictionary** av::DictionaryArray::raws ( )

◆ raws() [2/2]

AVDictionary ** av::DictionaryArray::raws ( ) const

◆ release()

AVDictionary ** av::DictionaryArray::release ( )

◆ reserve()

void av::DictionaryArray::reserve ( size_t  size)

◆ resize()

void av::DictionaryArray::resize ( size_t  size)

◆ size()

size_t av::DictionaryArray::size ( ) const

◆ swap()

void av::DictionaryArray::swap ( DictionaryArray rhs)

The documentation for this class was generated from the following files: