Blender V5.0
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)=default
 ~CyclicIterator ()=default
constexpr CyclicIteratoroperator= (const CyclicIterator &copy)
constexpr CyclicIteratoroperator++ ()
void increment (const int n)
constexpr const int & operator* () 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 407 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

◆ CyclicIterator() [2/2]

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

References copy(), and CyclicIterator().

◆ ~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 439 of file BKE_curves_utils.hh.

References i.

◆ operator!=()

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

Definition at line 455 of file BKE_curves_utils.hh.

References CyclicIterator(), and operator==().

◆ operator*()

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

Definition at line 446 of file BKE_curves_utils.hh.

◆ operator++()

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

Definition at line 429 of file BKE_curves_utils.hh.

References CyclicIterator().

◆ operator=()

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

Definition at line 419 of file BKE_curves_utils.hh.

References copy(), and CyclicIterator().

◆ operator==()

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

Definition at line 451 of file BKE_curves_utils.hh.

References cycles_, CyclicIterator(), and index_.

Referenced by operator!=().

Member Data Documentation

◆ cycles_

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

Definition at line 408 of file BKE_curves_utils.hh.

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

◆ index_

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

Definition at line 408 of file BKE_curves_utils.hh.

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

◆ range_end_

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

Definition at line 408 of file BKE_curves_utils.hh.

Referenced by CyclicIterator().


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