avcpp  2.0
Wrapper for the FFmpeg that simplify usage from C++ projects.
Public Types | Public Member Functions | Public Attributes | List of all members
av::LinkedListWrapper< T, W, N, C, R, D, I >::base_iterator< constIterator > Class Template Reference

#include <linkedlistutils.h>

Public Types

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

Public Member Functions

 base_iterator (element_type *ptr)
 
 ~base_iterator ()
 
base_iteratoroperator++ ()
 
base_iterator operator++ (int)
 
bool operator== (const base_iterator &rhs) const
 
bool operator!= (const base_iterator &rhs) const
 
WrapperType & operator* () noexcept
 
WrapperType * operator-> () noexcept
 

Public Attributes

std::iterator_traits< base_iteratord
 

Member Typedef Documentation

◆ difference_type

template<typename T , typename W , typename N = DefaultNextElement<T>, typename C = DefaultWrapperCast<T, W>, typename R = DefaultResetPtr<T, W>, typename D = NullDeleter<T>, typename I = std::forward_iterator_tag>
template<bool constIterator = false>
using av::LinkedListWrapper< T, W, N, C, R, D, I >::base_iterator< constIterator >::difference_type = ptrdiff_t

◆ iterator_category

template<typename T , typename W , typename N = DefaultNextElement<T>, typename C = DefaultWrapperCast<T, W>, typename R = DefaultResetPtr<T, W>, typename D = NullDeleter<T>, typename I = std::forward_iterator_tag>
template<bool constIterator = false>
using av::LinkedListWrapper< T, W, N, C, R, D, I >::base_iterator< constIterator >::iterator_category = iterator_category

◆ pointer

template<typename T , typename W , typename N = DefaultNextElement<T>, typename C = DefaultWrapperCast<T, W>, typename R = DefaultResetPtr<T, W>, typename D = NullDeleter<T>, typename I = std::forward_iterator_tag>
template<bool constIterator = false>
using av::LinkedListWrapper< T, W, N, C, R, D, I >::base_iterator< constIterator >::pointer = value_type*

◆ reference

template<typename T , typename W , typename N = DefaultNextElement<T>, typename C = DefaultWrapperCast<T, W>, typename R = DefaultResetPtr<T, W>, typename D = NullDeleter<T>, typename I = std::forward_iterator_tag>
template<bool constIterator = false>
using av::LinkedListWrapper< T, W, N, C, R, D, I >::base_iterator< constIterator >::reference = value_type&

◆ value_type

template<typename T , typename W , typename N = DefaultNextElement<T>, typename C = DefaultWrapperCast<T, W>, typename R = DefaultResetPtr<T, W>, typename D = NullDeleter<T>, typename I = std::forward_iterator_tag>
template<bool constIterator = false>
using av::LinkedListWrapper< T, W, N, C, R, D, I >::base_iterator< constIterator >::value_type = typename std::conditional<constIterator, const element_wrapper_type, element_wrapper_type>::type

Constructor & Destructor Documentation

◆ base_iterator()

template<typename T , typename W , typename N = DefaultNextElement<T>, typename C = DefaultWrapperCast<T, W>, typename R = DefaultResetPtr<T, W>, typename D = NullDeleter<T>, typename I = std::forward_iterator_tag>
template<bool constIterator = false>
av::LinkedListWrapper< T, W, N, C, R, D, I >::base_iterator< constIterator >::base_iterator ( element_type ptr)
inline

◆ ~base_iterator()

template<typename T , typename W , typename N = DefaultNextElement<T>, typename C = DefaultWrapperCast<T, W>, typename R = DefaultResetPtr<T, W>, typename D = NullDeleter<T>, typename I = std::forward_iterator_tag>
template<bool constIterator = false>
av::LinkedListWrapper< T, W, N, C, R, D, I >::base_iterator< constIterator >::~base_iterator ( )
inline

Member Function Documentation

◆ operator!=()

template<typename T , typename W , typename N = DefaultNextElement<T>, typename C = DefaultWrapperCast<T, W>, typename R = DefaultResetPtr<T, W>, typename D = NullDeleter<T>, typename I = std::forward_iterator_tag>
template<bool constIterator = false>
bool av::LinkedListWrapper< T, W, N, C, R, D, I >::base_iterator< constIterator >::operator!= ( const base_iterator< constIterator > &  rhs) const
inline

◆ operator*()

template<typename T , typename W , typename N = DefaultNextElement<T>, typename C = DefaultWrapperCast<T, W>, typename R = DefaultResetPtr<T, W>, typename D = NullDeleter<T>, typename I = std::forward_iterator_tag>
template<bool constIterator = false>
WrapperType& av::LinkedListWrapper< T, W, N, C, R, D, I >::base_iterator< constIterator >::operator* ( )
inlinenoexcept

◆ operator++() [1/2]

template<typename T , typename W , typename N = DefaultNextElement<T>, typename C = DefaultWrapperCast<T, W>, typename R = DefaultResetPtr<T, W>, typename D = NullDeleter<T>, typename I = std::forward_iterator_tag>
template<bool constIterator = false>
base_iterator& av::LinkedListWrapper< T, W, N, C, R, D, I >::base_iterator< constIterator >::operator++ ( )
inline

◆ operator++() [2/2]

template<typename T , typename W , typename N = DefaultNextElement<T>, typename C = DefaultWrapperCast<T, W>, typename R = DefaultResetPtr<T, W>, typename D = NullDeleter<T>, typename I = std::forward_iterator_tag>
template<bool constIterator = false>
base_iterator av::LinkedListWrapper< T, W, N, C, R, D, I >::base_iterator< constIterator >::operator++ ( int  )
inline

◆ operator->()

template<typename T , typename W , typename N = DefaultNextElement<T>, typename C = DefaultWrapperCast<T, W>, typename R = DefaultResetPtr<T, W>, typename D = NullDeleter<T>, typename I = std::forward_iterator_tag>
template<bool constIterator = false>
WrapperType* av::LinkedListWrapper< T, W, N, C, R, D, I >::base_iterator< constIterator >::operator-> ( )
inlinenoexcept

◆ operator==()

template<typename T , typename W , typename N = DefaultNextElement<T>, typename C = DefaultWrapperCast<T, W>, typename R = DefaultResetPtr<T, W>, typename D = NullDeleter<T>, typename I = std::forward_iterator_tag>
template<bool constIterator = false>
bool av::LinkedListWrapper< T, W, N, C, R, D, I >::base_iterator< constIterator >::operator== ( const base_iterator< constIterator > &  rhs) const
inline

Member Data Documentation

◆ d

template<typename T , typename W , typename N = DefaultNextElement<T>, typename C = DefaultWrapperCast<T, W>, typename R = DefaultResetPtr<T, W>, typename D = NullDeleter<T>, typename I = std::forward_iterator_tag>
template<bool constIterator = false>
std::iterator_traits<base_iterator> av::LinkedListWrapper< T, W, N, C, R, D, I >::base_iterator< constIterator >::d

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