ESPHome
2024.12.2
esphome
esphome
components
select
select_traits.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <vector>
4
#include <string>
5
6
namespace
esphome
{
7
namespace
select {
8
9
class
SelectTraits
{
10
public
:
11
void
set_options
(std::vector<std::string>
options
);
12
std::vector<std::string>
get_options
()
const
;
13
14
protected
:
15
std::vector<std::string>
options_
;
16
};
17
18
}
// namespace select
19
}
// namespace esphome
esphome::select::SelectTraits
Definition:
select_traits.h:9
esphome::select::SelectTraits::set_options
void set_options(std::vector< std::string > options)
Definition:
select_traits.cpp:6
esphome::select::SelectTraits::get_options
std::vector< std::string > get_options() const
Definition:
select_traits.cpp:8
options
uint8_t options
Definition:
e131_packet.cpp:129
esphome
Implementation of SPI Controller mode.
Definition:
a01nyub.cpp:7
esphome::select::SelectTraits::options_
std::vector< std::string > options_
Definition:
select_traits.h:15
Generated by
1.8.13