ESPHome 2025.5.0
Loading...
Searching...
No Matches
esphome::light::ColorCapabilityHelper Class Reference

Helper class to allow bitwise operations on ColorCapability. More...

#include <color_mode.h>

Public Member Functions

constexpr ColorCapabilityHelper (ColorCapability val)
 
constexpr operator ColorCapability () const
 
constexpr operator uint8_t () const
 
constexpr operator bool () const
 

Protected Attributes

ColorCapability val_
 

Detailed Description

Helper class to allow bitwise operations on ColorCapability.

Definition at line 25 of file color_mode.h.

Constructor & Destructor Documentation

◆ ColorCapabilityHelper()

esphome::light::ColorCapabilityHelper::ColorCapabilityHelper ( ColorCapability val)
inlineconstexpr

Definition at line 27 of file color_mode.h.

Member Function Documentation

◆ operator bool()

esphome::light::ColorCapabilityHelper::operator bool ( ) const
inlineconstexpr

Definition at line 30 of file color_mode.h.

◆ operator ColorCapability()

esphome::light::ColorCapabilityHelper::operator ColorCapability ( ) const
inlineconstexpr

Definition at line 28 of file color_mode.h.

◆ operator uint8_t()

esphome::light::ColorCapabilityHelper::operator uint8_t ( ) const
inlineconstexpr

Definition at line 29 of file color_mode.h.

Field Documentation

◆ val_

ColorCapability esphome::light::ColorCapabilityHelper::val_
protected

Definition at line 33 of file color_mode.h.


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