Blender  V3.3
Public Types | Public Member Functions | Friends | List of all members
blender::compositor::BufferAreaIterator< T > Class Template Reference

#include <COM_BufferArea.h>

Public Types

using iterator_category = std::input_iterator_tag
 
using value_type = T *
 
using pointer = T *const *
 
using reference = T *const &
 
using difference_type = std::ptrdiff_t
 

Public Member Functions

constexpr BufferAreaIterator ()=default
 
constexpr BufferAreaIterator (T *current, const T *end, int buffer_width, int area_width, int elem_stride=1)
 
constexpr BufferAreaIteratoroperator++ ()
 
constexpr BufferAreaIterator operator++ (int) const
 
constexpr Toperator* () const
 

Friends

constexpr friend bool operator!= (const BufferAreaIterator &a, const BufferAreaIterator &b)
 
constexpr friend bool operator== (const BufferAreaIterator &a, const BufferAreaIterator &b)
 

Detailed Description

template<typename T>
class blender::compositor::BufferAreaIterator< T >

Definition at line 131 of file COM_BufferArea.h.

Member Typedef Documentation

◆ difference_type

template<typename T >
using blender::compositor::BufferAreaIterator< T >::difference_type = std::ptrdiff_t

Definition at line 137 of file COM_BufferArea.h.

◆ iterator_category

template<typename T >
using blender::compositor::BufferAreaIterator< T >::iterator_category = std::input_iterator_tag

Definition at line 133 of file COM_BufferArea.h.

◆ pointer

template<typename T >
using blender::compositor::BufferAreaIterator< T >::pointer = T *const *

Definition at line 135 of file COM_BufferArea.h.

◆ reference

template<typename T >
using blender::compositor::BufferAreaIterator< T >::reference = T *const &

Definition at line 136 of file COM_BufferArea.h.

◆ value_type

template<typename T >
using blender::compositor::BufferAreaIterator< T >::value_type = T *

Definition at line 134 of file COM_BufferArea.h.

Constructor & Destructor Documentation

◆ BufferAreaIterator() [1/2]

template<typename T >
constexpr blender::compositor::BufferAreaIterator< T >::BufferAreaIterator ( )
constexprdefault

◆ BufferAreaIterator() [2/2]

template<typename T >
constexpr blender::compositor::BufferAreaIterator< T >::BufferAreaIterator ( T current,
const T end,
int  buffer_width,
int  area_width,
int  elem_stride = 1 
)
inlineconstexpr

Definition at line 151 of file COM_BufferArea.h.

Member Function Documentation

◆ operator*()

template<typename T >
constexpr T* blender::compositor::BufferAreaIterator< T >::operator* ( ) const
inlineconstexpr

Definition at line 194 of file COM_BufferArea.h.

◆ operator++() [1/2]

template<typename T >
constexpr BufferAreaIterator& blender::compositor::BufferAreaIterator< T >::operator++ ( )
inlineconstexpr

Definition at line 162 of file COM_BufferArea.h.

References BLI_assert.

◆ operator++() [2/2]

template<typename T >
constexpr BufferAreaIterator blender::compositor::BufferAreaIterator< T >::operator++ ( int  ) const
inlineconstexpr

Definition at line 177 of file COM_BufferArea.h.

Friends And Related Function Documentation

◆ operator!=

template<typename T >
constexpr friend bool operator!= ( const BufferAreaIterator< T > &  a,
const BufferAreaIterator< T > &  b 
)
friend

Definition at line 184 of file COM_BufferArea.h.

◆ operator==

template<typename T >
constexpr friend bool operator== ( const BufferAreaIterator< T > &  a,
const BufferAreaIterator< T > &  b 
)
friend

Definition at line 189 of file COM_BufferArea.h.


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