Class Palette::const_iterator

Nested Relationships

This class is a nested type of Struct Palette.

Inheritance Relationships

Base Type

  • public std::iterator< std::input_iterator_tag, const Color >

Class Documentation

class Palette::const_iterator : public std::iterator<std::input_iterator_tag, const Color>

Basic iterator that provides constant access to a palettes colors.

Public Functions

inline const_iterator(const Palette &_palette, difference_type _pos)
inline const_iterator &operator++()
inline const_iterator operator++(int)
inline bool operator==(const_iterator other) const
inline bool operator!=(const_iterator other) const
inline const Color &operator*() const