avcpp  2.0
Wrapper for the FFmpeg that simplify usage from C++ projects.
Public Types | Public Member Functions | Friends | List of all members
av::Dictionary::DictionaryIterator< constIterator > Class Template Reference

Base dictionary iterator implementation. More...

#include <dictionary.h>

Public Types

using iterator_category = std::forward_iterator_tag
 
using value_type = typename std::conditional< constIterator, const Entry, Entry >::type
 
using difference_type = ptrdiff_t
 
using pointer = value_type *
 
using reference = value_type &
 

Public Member Functions

 DictionaryIterator (DictType &dict, const Entry &entry) noexcept
 
 DictionaryIterator (DictType &dict) noexcept
 
DictionaryIteratoroperator++ () noexcept
 
DictionaryIterator operator++ (int) noexcept
 
EntryType & operator* () noexcept
 
EntryType * operator-> () noexcept
 

Friends

bool operator== (const DictionaryIterator &lhs, const DictionaryIterator &rhs) noexcept
 
bool operator!= (const DictionaryIterator &lhs, const DictionaryIterator &rhs) noexcept
 

Detailed Description

template<bool constIterator = false>
class av::Dictionary::DictionaryIterator< constIterator >

Base dictionary iterator implementation.

Member Typedef Documentation

◆ difference_type

template<bool constIterator = false>
using av::Dictionary::DictionaryIterator< constIterator >::difference_type = ptrdiff_t

◆ iterator_category

template<bool constIterator = false>
using av::Dictionary::DictionaryIterator< constIterator >::iterator_category = std::forward_iterator_tag

◆ pointer

template<bool constIterator = false>
using av::Dictionary::DictionaryIterator< constIterator >::pointer = value_type*

◆ reference

template<bool constIterator = false>
using av::Dictionary::DictionaryIterator< constIterator >::reference = value_type&

◆ value_type

template<bool constIterator = false>
using av::Dictionary::DictionaryIterator< constIterator >::value_type = typename std::conditional<constIterator, const Entry, Entry>::type

Constructor & Destructor Documentation

◆ DictionaryIterator() [1/2]

template<bool constIterator = false>
av::Dictionary::DictionaryIterator< constIterator >::DictionaryIterator ( DictType &  dict,
const Entry entry 
)
inlinenoexcept

◆ DictionaryIterator() [2/2]

template<bool constIterator = false>
av::Dictionary::DictionaryIterator< constIterator >::DictionaryIterator ( DictType &  dict)
inlinenoexcept

Member Function Documentation

◆ operator*()

template<bool constIterator = false>
EntryType& av::Dictionary::DictionaryIterator< constIterator >::operator* ( )
inlinenoexcept

◆ operator++() [1/2]

template<bool constIterator = false>
DictionaryIterator& av::Dictionary::DictionaryIterator< constIterator >::operator++ ( )
inlinenoexcept

◆ operator++() [2/2]

template<bool constIterator = false>
DictionaryIterator av::Dictionary::DictionaryIterator< constIterator >::operator++ ( int  )
inlinenoexcept

◆ operator->()

template<bool constIterator = false>
EntryType* av::Dictionary::DictionaryIterator< constIterator >::operator-> ( )
inlinenoexcept

Friends And Related Function Documentation

◆ operator!=

template<bool constIterator = false>
bool operator!= ( const DictionaryIterator< constIterator > &  lhs,
const DictionaryIterator< constIterator > &  rhs 
)
friend

◆ operator==

template<bool constIterator = false>
bool operator== ( const DictionaryIterator< constIterator > &  lhs,
const DictionaryIterator< constIterator > &  rhs 
)
friend

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