#include <select_traits.h>
Definition at line 11 of file select_traits.h.
◆ SelectTraits() [1/2]
| esphome::select::SelectTraits::SelectTraits |
( |
| ) |
|
|
default |
◆ SelectTraits() [2/2]
| esphome::select::SelectTraits::SelectTraits |
( |
const SelectTraits & | | ) |
|
|
delete |
◆ get_options()
| const SelectOptions & esphome::select::SelectTraits::get_options |
( |
| ) |
const |
|
inline |
◆ operator=()
◆ set_options() [1/3]
| void esphome::select::SelectTraits::set_options |
( |
const FixedVector< const char * > & | options | ) |
|
◆ set_options() [2/3]
| void esphome::select::SelectTraits::set_options |
( |
const SelectOptions & | options | ) |
|
|
inline |
Runtime lists: the pointer list is copied, as before; the strings must still outlive the select.
Definition at line 21 of file select_traits.h.
◆ set_options() [3/3]
| void esphome::select::SelectTraits::set_options |
( |
const std::initializer_list< const char * > & | options | ) |
|
◆ set_options_copy_()
| void esphome::select::SelectTraits::set_options_copy_ |
( |
const char *const * | options, |
|
|
size_t | count ) |
|
protected |
◆ set_options_static()
| void esphome::select::SelectTraits::set_options_static |
( |
const char *const * | options, |
|
|
size_t | count ) |
|
inline |
Codegen only: points at a table that outlives the select.
Call before any runtime set_options; it does not free a previous copy (generated setup() runs before any lambda or automation).
Definition at line 19 of file select_traits.h.
◆ options_
The documentation for this class was generated from the following files: