Blender V4.3
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)
 
constexpr decltype(auto) operator[] (const std::ptrdiff_t i) const
 
auto & iter_prop_mutable ()
 

Detailed Description

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

Definition at line 74 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 77 of file BLI_offset_span.hh.

◆ reference

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

Definition at line 78 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 76 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 85 of file BLI_offset_span.hh.

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 92 of file BLI_offset_span.hh.

◆ operator*()

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

Definition at line 87 of file BLI_offset_span.hh.

References T.


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