Blender V4.3
blender::bke::curves::IndexRangeCyclic::CyclicIterator Struct Reference

#include <BKE_curves_utils.hh>

Public Member Functions

constexpr CyclicIterator (const int range_end, const int index, const int cycles)
 
constexpr CyclicIterator (const CyclicIterator &copy)
 
 ~CyclicIterator ()=default
 
constexpr CyclicIteratoroperator= (const CyclicIterator &copy)
 
constexpr CyclicIteratoroperator++ ()
 
void increment (const int n)
 
constexpr const intoperator* () const
 
constexpr bool operator== (const CyclicIterator &other) const
 
constexpr bool operator!= (const CyclicIterator &other) const
 

Public Attributes

int index_
 
int range_end_
 
int cycles_
 

Detailed Description

Definition at line 409 of file BKE_curves_utils.hh.

Constructor & Destructor Documentation

◆ CyclicIterator() [1/2]

blender::bke::curves::IndexRangeCyclic::CyclicIterator::CyclicIterator ( const int range_end,
const int index,
const int cycles )
inlineconstexpr

Definition at line 412 of file BKE_curves_utils.hh.

References BLI_assert.

◆ CyclicIterator() [2/2]

blender::bke::curves::IndexRangeCyclic::CyclicIterator::CyclicIterator ( const CyclicIterator & copy)
inlineconstexpr

Definition at line 418 of file BKE_curves_utils.hh.

◆ ~CyclicIterator()

blender::bke::curves::IndexRangeCyclic::CyclicIterator::~CyclicIterator ( )
default

Member Function Documentation

◆ increment()

void blender::bke::curves::IndexRangeCyclic::CyclicIterator::increment ( const int n)
inline

Definition at line 444 of file BKE_curves_utils.hh.

◆ operator!=()

bool blender::bke::curves::IndexRangeCyclic::CyclicIterator::operator!= ( const CyclicIterator & other) const
inlineconstexpr

Definition at line 460 of file BKE_curves_utils.hh.

References operator==().

◆ operator*()

const int & blender::bke::curves::IndexRangeCyclic::CyclicIterator::operator* ( ) const
inlineconstexpr

Definition at line 451 of file BKE_curves_utils.hh.

References index_.

◆ operator++()

CyclicIterator & blender::bke::curves::IndexRangeCyclic::CyclicIterator::operator++ ( )
inlineconstexpr

Definition at line 434 of file BKE_curves_utils.hh.

◆ operator=()

CyclicIterator & blender::bke::curves::IndexRangeCyclic::CyclicIterator::operator= ( const CyclicIterator & copy)
inlineconstexpr

Definition at line 424 of file BKE_curves_utils.hh.

References copy(), and index_.

◆ operator==()

bool blender::bke::curves::IndexRangeCyclic::CyclicIterator::operator== ( const CyclicIterator & other) const
inlineconstexpr

Definition at line 456 of file BKE_curves_utils.hh.

Referenced by operator!=().

Member Data Documentation

◆ cycles_

int blender::bke::curves::IndexRangeCyclic::CyclicIterator::cycles_

Definition at line 410 of file BKE_curves_utils.hh.

◆ index_

int blender::bke::curves::IndexRangeCyclic::CyclicIterator::index_

Definition at line 410 of file BKE_curves_utils.hh.

Referenced by operator*(), and operator=().

◆ range_end_

int blender::bke::curves::IndexRangeCyclic::CyclicIterator::range_end_

Definition at line 410 of file BKE_curves_utils.hh.


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