ESPHome  2022.8.0
Public Member Functions | Protected Attributes
esphome::light::ESPRangeIterator Class Reference

#include <esp_range_view.h>

Public Member Functions

 ESPRangeIterator (const ESPRangeView &range, int32_t i)
 
 ESPRangeIterator (const ESPRangeIterator &)=default
 
ESPRangeIterator operator++ ()
 
bool operator!= (const ESPRangeIterator &other) const
 
ESPColorView operator* () const
 

Protected Attributes

ESPRangeView range_
 
int32_t i_
 

Detailed Description

Definition at line 63 of file esp_range_view.h.

Constructor & Destructor Documentation

◆ ESPRangeIterator() [1/2]

esphome::light::ESPRangeIterator::ESPRangeIterator ( const ESPRangeView range,
int32_t  i 
)
inline

Definition at line 65 of file esp_range_view.h.

◆ ESPRangeIterator() [2/2]

esphome::light::ESPRangeIterator::ESPRangeIterator ( const ESPRangeIterator )
default

Member Function Documentation

◆ operator!=()

bool esphome::light::ESPRangeIterator::operator!= ( const ESPRangeIterator other) const
inline

Definition at line 71 of file esp_range_view.h.

◆ operator*()

ESPColorView esphome::light::ESPRangeIterator::operator* ( ) const

Definition at line 93 of file esp_range_view.cpp.

◆ operator++()

ESPRangeIterator esphome::light::ESPRangeIterator::operator++ ( )
inline

Definition at line 67 of file esp_range_view.h.

Field Documentation

◆ i_

int32_t esphome::light::ESPRangeIterator::i_
protected

Definition at line 76 of file esp_range_view.h.

◆ range_

ESPRangeView esphome::light::ESPRangeIterator::range_
protected

Definition at line 75 of file esp_range_view.h.


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