Blender V5.0
blender::OffsetSpan< T, BaseT >::Iterator Class Reference

#include <BLI_offset_span.hh>

Inherits blender::iterator::RandomAccessIteratorMixin< Iterator >.

Public Types

using value_type = T
using pointer = const T *
using reference = T
Public Types inherited from blender::iterator::RandomAccessIteratorMixin< Iterator >
using iterator_category
using difference_type

Public Member Functions

 Iterator (const T offset, const BaseT *data)
T operator* () const
const BaseT *const & iter_prop () const
Public Member Functions inherited from blender::iterator::RandomAccessIteratorMixin< Iterator >
constexpr decltype(auto) operator[] (const std::ptrdiff_t i)
auto & iter_prop_mutable ()

Detailed Description

template<typename T, typename BaseT>
class blender::OffsetSpan< T, BaseT >::Iterator

Definition at line 78 of file BLI_offset_span.hh.

Member Typedef Documentation

◆ pointer

template<typename T, typename BaseT>
using blender::OffsetSpan< T, BaseT >::Iterator::pointer = const T *

Definition at line 81 of file BLI_offset_span.hh.

◆ reference

template<typename T, typename BaseT>
using blender::OffsetSpan< T, BaseT >::Iterator::reference = T

Definition at line 82 of file BLI_offset_span.hh.

◆ value_type

template<typename T, typename BaseT>
using blender::OffsetSpan< T, BaseT >::Iterator::value_type = T

Definition at line 80 of file BLI_offset_span.hh.

Constructor & Destructor Documentation

◆ Iterator()

template<typename T, typename BaseT>
blender::OffsetSpan< T, BaseT >::Iterator::Iterator ( const T offset,
const BaseT * data )
inline

Definition at line 89 of file BLI_offset_span.hh.

References data, blender::OffsetSpan< T, BaseT >::offset(), and T.

Member Function Documentation

◆ iter_prop()

template<typename T, typename BaseT>
const BaseT *const & blender::OffsetSpan< T, BaseT >::Iterator::iter_prop ( ) const
inline

Definition at line 96 of file BLI_offset_span.hh.

◆ operator*()

template<typename T, typename BaseT>
T blender::OffsetSpan< T, BaseT >::Iterator::operator* ( ) const
inline

Definition at line 91 of file BLI_offset_span.hh.

References T.


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